We're Hiring!

Logout in Omero.WebClient/Admin does not work

General user discussion about using the OMERO platform to its fullest. Please ask 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

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Logout in Omero.WebClient/Admin does not work

Postby bernhard » Wed Jul 28, 2010 11:02 am

Hi all!

I've just installed Omero4.2 and tried the webclient/admin pages under Apache2/mod_python. There seems to be a problem with the logout function, I can't logout. This is under Google chrome. When I delete the cookie manually the session is deleted and I'll get the login screen once a page gets reloaded.

Cheers, Bernhard
bernhard
 
Posts: 37
Joined: Mon Jun 22, 2009 7:18 am

Re: Logout in Omero.WebClient/Admin does not work

Postby bernhard » Wed Jul 28, 2010 11:31 am

Hi again!

... and now since I've delete the cookie, I can't login anymore. No matter which browser, client computer etc. I type in the user and pasword click on connect and get the same login screen again. OMEROweblog says:

Wed, 28 Jul 2010 12:29:59 webgateway INFO getBlitzConnection(host=localhost, port=4064, ssl=True, username=columbus)
Wed, 28 Jul 2010 12:29:59 blitz_gateway INFO created connection (uuid=cb90ed80-0e16-4584-b99b-8013eededb58)

Also the Blitz-0.log says the session was created and the correct user id shows up in the logs.

FYI, I can login with Omero.Insight.

Help would be appreciated! Thanks, Bernhard
bernhard
 
Posts: 37
Joined: Mon Jun 22, 2009 7:18 am

Re: Logout in Omero.WebClient/Admin does not work

Postby jmoore » Wed Jul 28, 2010 11:34 am

Hi Bernhard,

what happens when you click on "logout"? Are you taken to another screen? Are you still logged in after a refresh? Also, are you connecting over HTTPs? Is there anything of use in the OMERO.web log?

I've just tested with Firefox 3.5 and Chrome 5.0 on Mac 10.6, and not been able to reproduce. Any help tracking down just the difference would be appreciated.

Cheers,
~J.

P.S. you've replied since I wrote the above. First we'll need to get things working again, and then try to reproduce from the top. First the logout bug, and then the cookie bug. Have you tried to restart the stack to get your connection working again?
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: Logout in Omero.WebClient/Admin does not work

Postby bernhard » Wed Jul 28, 2010 12:10 pm

Hi Josh!

I've delete the Django cache in /var/tmp/django and restarted apache2. That solved the login issue. Only restarting Omero and Apache didn't solve the problem. I don't know the details about the django caching system - not sure whether this is a problem with Django or Omero.Web. But probably something to look at...

Logout works now, too! Maybe some artifact related to a broken cache.

I've seen some other weird behavior while browsing data. Once in a while I get logged out. For example when browsing a plate I get a login screen in the right panel (image view). The problem is reproducible, but I don't know whether its a timeout problem or the order of clicks.

I like the new webclient pages, the style is great! Bernhard

PS: I'm not using https
bernhard
 
Posts: 37
Joined: Mon Jun 22, 2009 7:18 am

Re: Logout in Omero.WebClient/Admin does not work

Postby bernhard » Wed Jul 28, 2010 12:18 pm

Hi Josh!

Maybe that's of interest, I do have a lot of these messages in the OMEROweg.log file after browsing a couple of plates:

Wed, 28 Jul 2010 13:15:31 blitz_gateway INFO closed connecion (uuid=a11f386e-52a8-4780-a0b8-c17b69dd7981)
Wed, 28 Jul 2010 13:15:31 blitz_gateway INFO closed connecion (uuid=8d0e1c05-0024-4af1-a3f2-8c9082197d20)
Wed, 28 Jul 2010 13:15:31 blitz_gateway INFO closed connecion (uuid=ba34c038-01c9-4892-94f1-185fb4376f61)
Wed, 28 Jul 2010 13:15:31 blitz_gateway INFO closed connecion (uuid=0078c04d-b2c8-4f5a-937c-7c8a4c4bd1f8)
Wed, 28 Jul 2010 13:15:31 blitz_gateway INFO closed connecion (uuid=8d1db43c-dbe8-40b7-afdc-40b5e4336be0)
Wed, 28 Jul 2010 13:15:31 blitz_gateway INFO closed connecion (uuid=f0e75190-af03-48ea-ba9a-16db3beefa7e)
Wed, 28 Jul 2010 13:15:31 blitz_gateway INFO closed connecion (uuid=c0c88d29-966e-48e6-9cba-16cd899d07c5)
Wed, 28 Jul 2010 13:15:31 blitz_gateway INFO closed connecion (uuid=29ce4279-52b5-42cc-8bb6-33da2f08fc32)
Wed, 28 Jul 2010 13:15:31 blitz_gateway INFO closed connecion (uuid=a43b2807-c03e-4215-96f0-9c27795c5be7)
Wed, 28 Jul 2010 13:15:31 webgateway INFO reached connector_pool_size (70), size after purge: (3)
Wed, 28 Jul 2010 13:15:31 webgateway ERROR Critical error during connect, retrying after _purge

What I also noticed is that some thumbnail images on a plate are displayed as broken image icons but when clicking on them they get loaded in the image preview in the right panel.

Thanks! Bernhard
bernhard
 
Posts: 37
Joined: Mon Jun 22, 2009 7:18 am


Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron