Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #13117 (new)

Opened 8 years ago

Last modified 8 years ago

Web should better handle request when omero server is unavailable

Reported by: atarkowska Owned by: atarkowska
Priority: major Milestone: Unscheduled
Component: Web Version: OMERO-5.2.0
Keywords: n.a. Cc: web-team
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: n.a.

Description (last modified by atarkowska)

5.1.4 https://www.openmicroscopy.org/qa2/qa/feedback/16933/

[https://www.openmicroscopy.org/qa2/qa2/qa/feedback/16933/]
[[BR]]
Comment: Happened while the IDR server was being taken down. Perhaps we go to the login page or maintenance page?
[[BR]]
{{{
Traceback (most recent call last):

  File "/home/omero/OMERO.server-5.1.4-224-8417f0c-ice35-b148/lib/python/django/core/handlers/base.py", line 114, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File "/home/omero/OMERO.server-5.1.4-224-8417f0c-ice35-b148/lib/python/omeroweb/decorators.py", line 478, in wrapped
    retval = f(request, *args, **kwargs)

  File "/home/omero/OMERO.server-5.1.4-224-8417f0c-ice35-b148/lib/python/omeroweb/decorators.py", line 545, in wrapper
    ctx.prepare_context(request, context, *args, **kwargs)

  File "/home/omero/OMERO.server-5.1.4-224-8417f0c-ice35-b148/lib/python/omeroweb/webclient/decorators.py", line 142, in prepare_context
    len(list(conn.listOwnedGroups())) > 0)))):

  File "/home/omero/OMERO.server-5.1.4-224-8417f0c-ice35-b148/lib/python/omero/gateway/__init__.py", line 2802, in listOwnedGroups
    exp = self.getUser()

  File "/home/omero/OMERO.server-5.1.4-224-8417f0c-ice35-b148/lib/python/omero/gateway/__init__.py", line 2123, in getUser
    "Experimenter", self._userid) or None

  File "/home/omero/OMERO.server-5.1.4-224-8417f0c-ice35-b148/lib/python/omero/gateway/__init__.py", line 2960, in getObject
    query, params, self.SERVICE_OPTS)

  File "/home/omero/OMERO.server-5.1.4-224-8417f0c-ice35-b148/lib/python/omero/gateway/__init__.py", line 4163, in __call__
    return self.handle_exception(e, *args, **kwargs)

  File "/home/omero/OMERO.server-5.1.4-224-8417f0c-ice35-b148/lib/python/omeroweb/webclient/webclient_gateway.py", line 2106, in handle_exception
    e, *args, **kwargs)

  File "/home/omero/OMERO.server-5.1.4-224-8417f0c-ice35-b148/lib/python/omero/gateway/__init__.py", line 4160, in __call__
    return self.f(*args, **kwargs)

  File "/home/omero/OMERO.server-5.1.4-224-8417f0c-ice35-b148/lib/python/omero_api_IQuery_ice.py", line 226, in findByQuery
    return _M_omero.api.IQuery._op_findByQuery.invoke(self, ((query, params), _ctx))

ConnectionRefusedException: Ice.ConnectionRefusedException:
Connection refused


<WSGIRequest
path:/webclient/load_data/,
GET:<QueryDict: {u'view': [u'tree']}>,
POST:<QueryDict: {}>,
COOKIES:{'_ga': 'GA1.2.1475947007.1417690466',
 'csrftoken': 'YPFgXIfv3RrvGVLXlzz4iVdHauIfTxlK',
 'phpbb3_a9mfv_k': '5a936fbe2fbd4ea2',
 'phpbb3_a9mfv_sid': '6c6d8b120815ccac757c8b6d16e10fd7',
 'phpbb3_a9mfv_u': '62',
 'sessionid': 'd8bk0z70lcr8m2u26e4sph76w01mifgu',
 'sessionid_demo': 'fghmwflq4hwzbde8z82v3nswkw2snl74',
 'sessionid_mito': 'kdkwqzlf7vhewvjizyd2yjb2e2tzw1e3',
 'sessionid_pgpc': 'tqzdpreshyuy196dba6xjnz4149zw3gu',
 'sessionid_tara': 'zvrw5s75ku1zmlx3r21tlfa63ahxksqy',
 'style_cookie': 'printonly'},
META:{'CONTENT_LENGTH': '',
 'CONTENT_TYPE': '',
 u'CSRF_COOKIE': u'YPFgXIfv3RrvGVLXlzz4iVdHauIfTxlK',
 'HTTP_ACCEPT': 'text/html, */*; q=0.01',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,de;q=0.6',
 'HTTP_CONNECTION': 'close',
 'HTTP_COOKIE': 'sessionid=d8bk0z70lcr8m2u26e4sph76w01mifgu; sessionid_tara=zvrw5s75ku1zmlx3r21tlfa63ahxksqy; _ga=GA1.2.1475947007.1417690466; sessionid_mito=kdkwqzlf7vhewvjizyd2yjb2e2tzw1e3; phpbb3_a9mfv_u=62; phpbb3_a9mfv_k=5a936fbe2fbd4ea2; phpbb3_a9mfv_sid=6c6d8b120815ccac757c8b6d16e10fd7; style_cookie=printonly; sessionid_pgpc=tqzdpreshyuy196dba6xjnz4149zw3gu; csrftoken=YPFgXIfv3RrvGVLXlzz4iVdHauIfTxlK; sessionid_demo=fghmwflq4hwzbde8z82v3nswkw2snl74',
 'HTTP_HOST': 'idr-demo.openmicroscopy.org',
 'HTTP_REFERER': 'http://idr-demo.openmicroscopy.org/webclient/userdata/?experimenter=-1',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36',
 'HTTP_X_FORWARDED_FOR': '217.51.142.174',
 'HTTP_X_FORWARDED_PROTO': 'http',
 'HTTP_X_REAL_IP': '217.51.142.174',
 'HTTP_X_REQUESTED_WITH': 'XMLHttpRequest',
 'PATH_INFO': u'/webclient/load_data/',
 'QUERY_STRING': 'view=tree',
 'REQUEST_METHOD': 'GET',
 'SCRIPT_INFO': '/webclient/load_data/',
 'SCRIPT_NAME': u'',
 'SERVER_NAME': '42b808ecceae',
 'SERVER_PORT': '80',
 'SERVER_PROTOCOL': 'HTTP/1.0',
 'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x7fe9706c6550>,
 'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x7fe974694c90>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>
}}}

Change History (3)

comment:1 Changed 8 years ago by atarkowska

  • Description modified (diff)

comment:2 Changed 8 years ago by jburel

  • Milestone changed from OMERO-5.2.1 to OMERO-5.2.2

Milestone OMERO-5.2.1 deleted

comment:3 Changed 8 years ago by jburel

  • Milestone changed from OMERO-5.2.2 to OMERO-5.2.1

Milestone OMERO-5.2.2 deleted

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.63050 sec.)

We're Hiring!