Page 1 of 1

Can't createSession to the demo server from matlab

PostPosted: Wed Nov 05, 2014 10:17 am
by Ajaxel
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

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

PostPosted: Wed Nov 05, 2014 10:28 am
by jmoore
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.

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

PostPosted: Wed Nov 05, 2014 11:04 am
by Ajaxel
Hi Josh,
now it works! thank you!

Ilya

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

PostPosted: Thu Nov 06, 2014 8:33 am
by sbesson
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