We're Hiring!

OMERO.web logs me out after login

Having a problem deploying OMERO? 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

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

OMERO.web logs me out after login

Postby cagancayco » Mon Oct 09, 2017 5:44 pm

Hi, I am trying to install OMERO.web and OMERO.server on an AWS EC2 Ubuntu 16.04 instance. I successfully installed OMERO 5.3.4 on Monday October 2 and over the next two days I was able to upload images, create new groups/users, and access the server with OMERO.insight. On Thursday Oct 5 when I tried to log on with any account, including root, through OMERO.web I was immediately kicked out or was given the error below. I tried installing OMERO 5.3.5 on a fresh instance but was getting the same errors, and just now I am getting this with a newly installed OMERO 5.4.0. I haven't been able to get the error message with OMERO 5.4.0 though. I've tried fresh installs several times and still get the same issue.

I am still able to use OMERO.cli and OMERO.insight to import and view images, so I'm not sure what's going on. I am using Chrome now, but I tried Firefox and Safari on Friday and still ran into the same issue. Any tips or insight is greatly appreciated. -Christina

{"stacktrace": "Traceback (most recent call last):\n File \"/home/omero/OMERO.py-5.3.5-ice36-b73/lib/python/omeroweb/webgateway/views.py\", line 1288, in wrap\n server_id = request.session['connector'].server_id\n File \"/usr/local/lib/python2.7/dist-packages/django/contrib/sessions/backends/base.py\", line 48, in __getitem__\n return self._session[key]\nKeyError: 'connector'\n", "message": "'connector'"}
cagancayco
 
Posts: 3
Joined: Fri Oct 06, 2017 8:02 pm

Re: OMERO.web logs me out after login

Postby kennethgillen » Tue Oct 10, 2017 11:14 am

Hi Christina,

Is OMERO.web on a separate instance?

Did OMERO.web work from Oct 2nd? i.e. you say it was not working on Oct5th, it'd be good to know if it worked before that point.

It would help us work out what's going wrong with more of the logs - at least the full file you're quoting, and potentially the OMERO configuration. The server's Blitz logs would be good to have as well, so perhaps send us the whole log directory?

Could you please upload the following to https://www.openmicroscopy.org/qa2/qa/upload/

  • Output of bin/omero admin diagnostics
  • Output of bin/omero config get --hide-password (Blank out any passwords)
  • OMERO.server logs: ${OMERO_SERVER}/var/log

We recently announced a secvuln where the workaround would stop OMERO.web connecting if a config value wasn't also applied [1], but a fresh 5.3.5 or 5.4.0 should not require this to be applied.

It would also be useful to know what set of installation instructions you are following?

[1] https://www.openmicroscopy.org/security ... uest-user/

Many thanks,

Kenny
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm

Re: OMERO.web logs me out after login

Postby cagancayco » Tue Oct 10, 2017 12:48 pm

Hi Kenny,

I just uploaded the logs, hopefully this helps!

I have OMERO.web and OMERO.server installed on the same instance using the same dedicated omero user, although I did install OMERO.server using virtualenv. I will try installing them on separate instances. OMERO.web did work from October 2nd until the middle of the day October 5th--I had created a few test users and logged in as each to see the sharing permissions I set were working properly.

I used the following instructions for install.

OMERO.server: https://docs.openmicroscopy.org/omero/5 ... ice36.html
OMERO.web (option 1): https://docs.openmicroscopy.org/omero/5 ... ce3.6.html

Thank you!
Christina
cagancayco
 
Posts: 3
Joined: Fri Oct 06, 2017 8:02 pm

Re: OMERO.web logs me out after login

Postby cagancayco » Tue Oct 10, 2017 3:02 pm

I think I fixed my error... I had started OMERO.web using the OMERO.server/bin/omero instead of OMERO.py/bin/omero since I had added the OMERO.server/bin/omero to my path in the .bashrc. I will let you know if the problem arises again. Thank you!
cagancayco
 
Posts: 3
Joined: Fri Oct 06, 2017 8:02 pm

Re: OMERO.web logs me out after login

Postby kennethgillen » Thu Oct 12, 2017 5:36 am

We're glad you got it sorted.

You may wish to consider adding the init.d scripts which allow OMERO to be started and stopped like a regular system service, including at boot time.

https://docs.openmicroscopy.org/omero/5 ... ero-server
https://docs.openmicroscopy.org/omero/5 ... -omero-web

Best,

Kenny
kennethgillen
 
Posts: 254
Joined: Mon Nov 05, 2012 3:39 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest