[ome-users] can't login to OMERO.web

Wood, Christopher CJW at stowers.org
Thu Jul 21 15:13:36 BST 2011


Here are the logs files from the restart and attempting to login to webclient.

Thanks
Chris

From: Aleksandra Tarkowska [mailto:aleksandrat at lifesci.dundee.ac.uk]
Sent: Thursday, July 21, 2011 2:02 AM
To: Wood, Christopher
Cc: ome-users at lists.openmicroscopy.org.uk
Subject: Re: [ome-users] can't login to OMERO.web

Hi Chris

Could you please restart omero server and web server in production mode (double check if processes were killed). Then try to log in again to WEBADMIN. Finally please send me log files from var/log/*, especially I need Blitz-0.log since startup and matching OMEROweb.log including startup. Also I would like to ask you about output of:

bin/omero admin diagnostics
bin/omero config get
and file: etc/ice.config and etc/grid/templates.xml (if you want to vanish passwords please put STOWERS_PASSWD instead)
and environment variables: PYTHONPATH and ICE_CONFIG (if exist)

Thanks
Ola

On 19 Jul 2011, at 23:22, Wood, Christopher wrote:


I turned on debugging for omero.web, and here is some more output:

Tue, 19 Jul 2011 23:15:54 webgateway   ERROR    Critical error during connect, retrying after _purge
Tue, 19 Jul 2011 23:15:54 webgateway   DEBUG    Traceback (most recent call last):
  File "/OMERO/OMERO.server/lib/python/omeroweb/webgateway/views.py", line 193, in _createConnection
    blitzcon = client_wrapper(username, passwd, host=host, port=port, group=None, try_super=try_super, secure=secure, anonymous=anonymous, useragent=useragent)
  File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omero/__init__.py", line 24, in client_wrapper
    return omero.gateway.BlitzGateway(*args, **kwargs)
  File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 110, in __init__
    super(OmeroWebGateway, self).__init__(*args, **kwargs)
  File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1167, in __init__
    self._resetOmeroClient()
  File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1455, in _resetOmeroClient
    self.c = omero.client(pmap=['--Ice.Config='+','.join(self.ice_config)])
  File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omero/__init__.py", line 28, in client
    return omero.clients.BaseClient(*args, **kwargs)
  File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omero/clients.py", line 128, in __init__
    self._initData(id)
  File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omero/clients.py", line 230, in _initData
    self.__ic = Ice.initialize(id)
  File "/usr/lib64/python2.3/site-packages/Ice/Ice.py", line 340, in initialize
    communicator = IcePy.Communicator(args, data)
EndpointParseException: exception ::Ice::EndpointParseException
{
    str = ssl  -p 4064 -h <"omero.host" not set>
}

From: ome-users-bounces at lists.openmicroscopy.org.uk<mailto:ome-users-bounces at lists.openmicroscopy.org.uk> [mailto:ome-users-bounces at lists.openmicroscopy.org.uk]<mailto:[mailto:ome-users-bounces at lists.openmicroscopy.org.uk]> On Behalf Of Wood, Christopher
Sent: Tuesday, July 19, 2011 4:44 PM
To: ome-users at lists.openmicroscopy.org.uk<mailto:ome-users at lists.openmicroscopy.org.uk>
Subject: [ome-users] can't login to OMERO.web

Hi,

We just upgrade to 4.3.1. OMERO.web starts but I can't login (or as root), see logs below. From the Blitz.log it looks like it is trying to login as guest.

After login failure, I can go to /webtest and see the thumbnails of every image. The get into webclient and webadmin, but it doesn't work right.

Thanks
Chris

=============================================================================================
OMEROweb.log

Tue, 19 Jul 2011 21:52:09 views-web    INFO     INIT '25275'
Tue, 19 Jul 2011 21:52:48 views-admin  INFO     INIT '25276'
Tue, 19 Jul 2011 21:52:48 views-web    INFO     INIT '25276'
Tue, 19 Jul 2011 21:52:48 webgateway   ERROR    Critical error during connect, retrying after _purge
Tue, 19 Jul 2011 21:52:48 webgateway   INFO     reached connector_pool_size (70), size after purge: (0)
Tue, 19 Jul 2011 21:52:48 views-admin  INFO     Open connection is not available
Tue, 19 Jul 2011 21:52:58 blitz_gateway INFO     BlitzGateway.connect().createSession(): Traceback (most recent call last):
  File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1520, in connect
    self._createSession()
  File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1423, in _createSession
    self._ic_props[omero.constants.PASSWORD])
  File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omero/clients.py", line 454, in createSession
    prx = self.getRouter(self.__ic).createSession(username, password, ctx)
  File "/usr/lib64/python2.3/site-packages/Ice/Glacier2_Router_ice.py", line 107, in createSession
    return _M_Glacier2.Router._op_createSession.invoke(self, ((userId, password), _ctx))
PermissionDeniedException: exception ::Glacier2::PermissionDeniedException
{
    reason = Password check failed
}

Tue, 19 Jul 2011 21:53:01 views-admin  INFO     Have connection as Guest
Tue, 19 Jul 2011 21:53:01 views-admin  ERROR    Traceback (most recent call last):
  File "/OMERO/OMERO.server/lib/python/omeroweb/webadmin/views.py", line 102, in _checkVersion
    agent = conn.getServerVersion()
  File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 338, in getServerVersion
    conf = self.getConfigService()
  File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1874, in getConfigService
    return self._proxies['config']
  File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1088, in __getitem__
    raise Ice.ConnectionLostException
ConnectionLostException: Ice.ConnectionLostException:
recv() returned zero

Tue, 19 Jul 2011 21:53:04 blitz_gateway INFO     BlitzGateway.connect().createSession(): Traceback (most recent call last):
  File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1520, in connect
    self._createSession()
  File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1423, in _createSession
    self._ic_props[omero.constants.PASSWORD])
  File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omero/clients.py", line 454, in createSession
    prx = self.getRouter(self.__ic).createSession(username, password, ctx)
  File "/usr/lib64/python2.3/site-packages/Ice/Glacier2_Router_ice.py", line 107, in createSession
   return _M_Glacier2.Router._op_createSession.invoke(self, ((userId, password), _ctx))
PermissionDeniedException: exception ::Glacier2::PermissionDeniedException
{
    reason = Password check failed
}

Tue, 19 Jul 2011 21:53:07 views-admin  INFO     Have connection as Guest
Tue, 19 Jul 2011 21:53:07 views-admin  ERROR    Traceback (most recent call last):
  File "/OMERO/OMERO.server/lib/python/omeroweb/webadmin/views.py", line 121, in _isServerOn
    conn.getServerVersion()
  File "/OMERO/OMERO.server-Beta-4.3.1/lib/python/omeroweb/webclient/webclient_gateway.py", line 338, in getServerVersion
    conf = self.getConfigService()
  File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1874, in getConfigService
    return self._proxies['config']
  File "/OMERO/OMERO.server/lib/python/omero/gateway/__init__.py", line 1088, in __getitem__
    raise Ice.ConnectionLostException
ConnectionLostException: Ice.ConnectionLostException:
recv() returned zero

                                                                                                                                              969,1         Bot

============================================================================================
Blitz.log

2011-07-19 15:52:55,191 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Executor.doWork -- ome.services.sessions.SessionManagerImpl.executeCheckPasswordRO(guest)
2011-07-19 15:52:55,191 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Args:    [null, InternalSF at 794263914]
2011-07-19 15:52:55,192 INFO  [         ome.security.basic.EventHandler] (l.Server-6)  Auth:    user=0,group=0,event=null(Sessions),sess=2bbede6d-0e4a-4d14-a5ec-bd81efbffbaf
2011-07-19 15:52:55,194 WARN  [  ome.security.auth.LoginAttemptListener] (l.Server-6) 9 failed logins for guest. Throttling for 3000
2011-07-19 15:52:58,197 INFO  [                 org.perf4j.TimingLogger] (l.Server-6) start[1311108775191] time[3006] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$8.doWork]
2011-07-19 15:52:58,197 INFO  [        ome.services.util.ServiceHandler] (l.Server-6)  Rslt:    false
2011-07-19 15:52:58,203 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Executor.doWork -- ome.services.sessions.SessionManagerImpl.executeCheckPasswordRO(guest)
2011-07-19 15:52:58,203 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Args:    [null, InternalSF at 794263914]
2011-07-19 15:52:58,204 INFO  [         ome.security.basic.EventHandler] (l.Server-0)  Auth:    user=0,group=0,event=null(Sessions),sess=2bbede6d-0e4a-4d14-a5ec-bd81efbffbaf
2011-07-19 15:52:58,205 WARN  [  ome.security.auth.LoginAttemptListener] (l.Server-0) 10 failed logins for guest. Throttling for 3000
2011-07-19 15:53:01,209 INFO  [                 org.perf4j.TimingLogger] (l.Server-0) start[1311108778203] time[3006] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$8.doWork]
2011-07-19 15:53:01,209 INFO  [        ome.services.util.ServiceHandler] (l.Server-0)  Rslt:    false
2011-07-19 15:53:01,227 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Executor.doWork -- ome.services.sessions.SessionManagerImpl.executeCheckPasswordRO(guest)
2011-07-19 15:53:01,227 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Args:    [null, InternalSF at 794263914]
2011-07-19 15:53:01,227 INFO  [         ome.security.basic.EventHandler] (l.Server-5)  Auth:    user=0,group=0,event=null(Sessions),sess=2bbede6d-0e4a-4d14-a5ec-bd81efbffbaf
2011-07-19 15:53:01,229 WARN  [  ome.security.auth.LoginAttemptListener] (l.Server-5) 11 failed logins for guest. Throttling for 3000
2011-07-19 15:53:04,233 INFO  [                 org.perf4j.TimingLogger] (l.Server-5) start[1311108781227] time[3006] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$8.doWork]
2011-07-19 15:53:04,233 INFO  [        ome.services.util.ServiceHandler] (l.Server-5)  Rslt:    false
2011-07-19 15:53:04,238 INFO  [        ome.services.util.ServiceHandler] (l.Server-3)  Executor.doWork -- ome.services.sessions.SessionManagerImpl.executeCheckPasswordRO(guest)
2011-07-19 15:53:04,239 INFO  [        ome.services.util.ServiceHandler] (l.Server-3)  Args:    [null, InternalSF at 794263914]
2011-07-19 15:53:04,239 INFO  [         ome.security.basic.EventHandler] (l.Server-3)  Auth:    user=0,group=0,event=null(Sessions),sess=2bbede6d-0e4a-4d14-a5ec-bd81efbffbaf
2011-07-19 15:53:04,241 WARN  [  ome.security.auth.LoginAttemptListener] (l.Server-3) 12 failed logins for guest. Throttling for 3000
2011-07-19 15:53:07,245 INFO  [                 org.perf4j.TimingLogger] (l.Server-3) start[1311108784239] time[3006] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$8.doWork]
2011-07-19 15:53:07,245 INFO  [        ome.services.util.ServiceHandler] (l.Server-3)  Rslt:    false
_______________________________________________
ome-users mailing list
ome-users at lists.openmicroscopy.org.uk<mailto:ome-users at lists.openmicroscopy.org.uk>
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20110721/6805cdf1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: logs.tgz
Type: application/x-compressed
Size: 24121 bytes
Desc: logs.tgz
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20110721/6805cdf1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stowers_config.tgz
Type: application/x-compressed
Size: 7386 bytes
Desc: stowers_config.tgz
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20110721/6805cdf1/attachment-0001.bin>


More information about the ome-users mailing list