We're Hiring!

Can't createSession to the demo server from matlab

General and open developer discussion about using OMERO APIs from C++, Java, Python, Matlab and more! Please new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

If you are having trouble with custom code, please provide a link to a public repository, ideally GitHub.

Can't createSession to the demo server from matlab

Postby Ajaxel » Wed Nov 05, 2014 10:17 am

Hello,
it used to work before, but now I can't establish a new session to the demo server (ome2-copy.fzk.de)

Code: Select all
% matlab code to try
servername = 'ome2-copy.fzk.de';
port = 4064;
client = loadOmero(servername, port);
% fine until here, but the following command gives errors
session = client.createSession(username, password);

% gives error
-! 05/11/14 11:56:10:211 warning: main: null - createSession retry: 1
-! 05/11/14 11:56:15:215 warning: main: null - createSession retry: 2
??? Java exception occurred:
omero.ClientError: Obtained null object proxy
   at omero.client.createSession(client.java:718)


I can still connect to the webclient (http://ome2-copy.fzk.de/webclient/) using the username/password combination from "session = client.createSession(username, password);"
What could be the reason?

Omero version:5.0.5-ice35-b47
Ajaxel
 
Posts: 14
Joined: Mon Apr 22, 2013 8:33 pm

Re: Can't createSession to the demo server from matlab

Postby jmoore » Wed Nov 05, 2014 10:28 am

Hi,

the demo server has moved to demo.openmicroscopy.org

See http://www.openmicroscopy.org/site/support/omero5/users/demo-server.html for more information

Cheers,
~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Can't createSession to the demo server from matlab

Postby Ajaxel » Wed Nov 05, 2014 11:04 am

Hi Josh,
now it works! thank you!

Ilya
Ajaxel
 
Posts: 14
Joined: Mon Apr 22, 2013 8:33 pm

Re: Can't createSession to the demo server from matlab

Postby sbesson » Thu Nov 06, 2014 8:33 am

Hi Ilya,

glad the connection is working. Did you use the old demo server address from an existing script (pre-migration) or is this server address still mentioned somewhere on our website (in which case we need to fix it)?

Best,
Sebastien
User avatar
sbesson
Team Member
 
Posts: 421
Joined: Tue Feb 28, 2012 7:20 pm


Return to Developer Discussion

Who is online

Users browsing this forum: No registered users and 1 guest