OMEROweb Internal Server Error
Posted: Tue Nov 27, 2012 8:20 pm
Hi,
Sometimes when logging into the OMERO.web client (like after the weekend, or a user that hasn't logged on before), after entering my username and password, the page will wait for a while and then give an Internal Server Error. I can click back on the browser, re-enter username/password, and then everything works fine.
I am on CentOs 6, OMERO 4.4.5, apache httpd, fastcgi-tcp
The Apache httpd error log gives:
Here is the OMEROweb.log from the same timeframe:
Any ideas?
Thanks
Chris
Sometimes when logging into the OMERO.web client (like after the weekend, or a user that hasn't logged on before), after entering my username and password, the page will wait for a while and then give an Internal Server Error. I can click back on the browser, re-enter username/password, and then everything works fine.
I am on CentOs 6, OMERO 4.4.5, apache httpd, fastcgi-tcp
The Apache httpd error log gives:
- Code: Select all
[Tue Nov 27 13:47:47 2012] [error] [client 10.2.20.135] FastCGI: comm with server "/home/omerouser/OMERO.server/var/omero.fcgi" aborted: idle timeout (30 sec), referer: http://omero/omero/webclient/login/?url=%2Fomero%2Fwebclient%2F
[Tue Nov 27 13:47:47 2012] [error] [client 10.2.20.135] FastCGI: incomplete headers (0 bytes) received from server "/home/omerouser/OMERO.server/var/omero.fcgi", referer: http://omero/omero/webclient/login/?url=%2Fomero%2Fwebclient%2F
Here is the OMEROweb.log from the same timeframe:
- Code: Select all
2012-11-27 19:46:03,287 DEBUG [ omeroweb.decorators] (proc.21545) wrapped:380 Doing connection cleanup? True
2012-11-27 19:47:59,001 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1625 localhost
2012-11-27 19:47:59,001 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1626 4064
2012-11-27 19:47:59,001 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1627 []
2012-11-27 19:47:59,005 DEBUG [ omero.gateway] (proc.21545) connect:1656 Connect attempt, sUuid=None, group=None, self.sUuid=None
2012-11-27 19:47:59,005 DEBUG [ omero.gateway] (proc.21545) connect:1704 Creating Session...
2012-11-27 19:47:59,100 DEBUG [ omero.gateway] (proc.21545) _createProxies:1525 ## Creating proxies
2012-11-27 19:47:59,101 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.session.uuid' to '16c495b9-1532-490f-92de-aa961efcc871'
2012-11-27 19:47:59,101 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.client.uuid' to 'c42c6295-77b2-4682-a3c4-e7bb85978a17'
2012-11-27 19:47:59,101 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroGroup:115 Key 'omero.group' not found in <ServiceOptsDict: {'omero.session.uuid': '16c495b9-1532-490f-92de-aa961efcc871', 'omero.client.uuid': 'c42c6295-77b2-4682-a3c4-e7bb85978a17'}>
2012-11-27 19:47:59,102 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroUser:127 Key 'omero.user' not found in <ServiceOptsDict: {'omero.session.uuid': '16c495b9-1532-490f-92de-aa961efcc871', 'omero.client.uuid': 'c42c6295-77b2-4682-a3c4-e7bb85978a17'}>
2012-11-27 19:47:59,102 DEBUG [ omero.gateway] (proc.21545) connect:1706 Session created
2012-11-27 19:47:59,102 DEBUG [ omero.gateway] (proc.21545) _createProxies:1521 ## Reusing proxies
2012-11-27 19:47:59,103 INFO [ omero.gateway] (proc.21545) connect:1742 created connection (uuid=16c495b9-1532-490f-92de-aa961efcc871)
2012-11-27 19:47:59,103 DEBUG [ omero.gateway] (proc.21545) connect:1754 .. connected!
2012-11-27 19:47:59,119 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1625 localhost
2012-11-27 19:47:59,120 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1626 4064
2012-11-27 19:47:59,120 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1627 []
2012-11-27 19:47:59,123 DEBUG [ omero.gateway] (proc.21545) connect:1656 Connect attempt, sUuid=None, group=None, self.sUuid=None
2012-11-27 19:47:59,123 DEBUG [ omero.gateway] (proc.21545) connect:1704 Creating Session...
2012-11-27 19:47:59,213 DEBUG [ omero.gateway] (proc.21545) _createProxies:1525 ## Creating proxies
2012-11-27 19:47:59,215 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.session.uuid' to 'db697a64-7b68-4ef6-a442-b8c56fafe7b8'
2012-11-27 19:47:59,215 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.client.uuid' to 'b8d81a9b-a7e0-48e4-a655-f84dc108f1da'
2012-11-27 19:47:59,215 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroGroup:115 Key 'omero.group' not found in <ServiceOptsDict: {'omero.session.uuid': 'db697a64-7b68-4ef6-a442-b8c56fafe7b8', 'omero.client.uuid': 'b8d81a9b-a7e0-48e4-a655-f84dc108f1da'}>
2012-11-27 19:47:59,216 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroUser:127 Key 'omero.user' not found in <ServiceOptsDict: {'omero.session.uuid': 'db697a64-7b68-4ef6-a442-b8c56fafe7b8', 'omero.client.uuid': 'b8d81a9b-a7e0-48e4-a655-f84dc108f1da'}>
2012-11-27 19:47:59,216 DEBUG [ omero.gateway] (proc.21545) connect:1706 Session created
2012-11-27 19:47:59,216 DEBUG [ omero.gateway] (proc.21545) _createProxies:1521 ## Reusing proxies
2012-11-27 19:47:59,217 INFO [ omero.gateway] (proc.21545) connect:1742 created connection (uuid=db697a64-7b68-4ef6-a442-b8c56fafe7b8)
2012-11-27 19:47:59,217 DEBUG [ omero.gateway] (proc.21545) connect:1754 .. connected!
2012-11-27 19:47:59,245 DEBUG [ omero.util.UpgradeCheck] (proc.21545) run:118 Attempting to connect to http://upgrade.openmicroscopy.org.uk/?os.version=%231+SMP+Tue+Sep+25+21%3A43%3A11+UTC+2012&os.arch=x86_64&version=4.4.5-ice34-b20&python.compiler=GCC+4.4.6+20120305+%28Red+Hat+4.4.6-4%29&python.build=%28%27r266%3A84292%27%2C+%27Sep+11+2012+08%3A34%3A23%27%29&os.name=Linux&python.version=2.6.6
2012-11-27 19:48:00,217 INFO [ omero.util.UpgradeCheck] (proc.21545) run:130 no update needed
2012-11-27 19:48:00,217 DEBUG [ omeroweb.webadmin.webadmin_utils] (proc.21545) upgradeCheck:29 Up to date.
2012-11-27 19:48:01,412 DEBUG [ omeroweb.decorators] (proc.21545) wrapped:351 Connection not provided, attempting to get one.
2012-11-27 19:48:01,412 DEBUG [ omeroweb.decorators] (proc.21545) get_authenticated_connection:250 Is SSL? False
2012-11-27 19:48:01,413 DEBUG [ omeroweb.decorators] (proc.21545) get_authenticated_connection:252 Connector: <omeroweb.connector.Connector object at 0x446d7d0>
2012-11-27 19:48:01,413 DEBUG [ omeroweb.decorators] (proc.21545) get_authenticated_connection:313 Django session connector: <omeroweb.connector.Connector object at 0x446d7d0>
2012-11-27 19:48:01,413 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1625 localhost
2012-11-27 19:48:01,414 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1626 4064
2012-11-27 19:48:01,414 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1627 []
2012-11-27 19:48:01,418 DEBUG [ omero.gateway] (proc.21545) connect:1656 Connect attempt, sUuid=db697a64-7b68-4ef6-a442-b8c56fafe7b8, group=None, self.sUuid=None
2012-11-27 19:48:01,418 DEBUG [ omero.gateway] (proc.21545) connect:1666 connected? False
2012-11-27 19:48:01,443 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.session.uuid' to 'db697a64-7b68-4ef6-a442-b8c56fafe7b8'
2012-11-27 19:48:01,444 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.client.uuid' to 'a6ed8a7a-3797-4626-8000-1c1edd64930f'
2012-11-27 19:48:01,444 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroGroup:115 Key 'omero.group' not found in <ServiceOptsDict: {'omero.session.uuid': 'db697a64-7b68-4ef6-a442-b8c56fafe7b8', 'omero.client.uuid': 'a6ed8a7a-3797-4626-8000-1c1edd64930f'}>
2012-11-27 19:48:01,444 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroUser:127 Key 'omero.user' not found in <ServiceOptsDict: {'omero.session.uuid': 'db697a64-7b68-4ef6-a442-b8c56fafe7b8', 'omero.client.uuid': 'a6ed8a7a-3797-4626-8000-1c1edd64930f'}>
2012-11-27 19:48:01,444 DEBUG [ omero.gateway] (proc.21545) connect:1674 Joined Session OK with Uuid: db697a64-7b68-4ef6-a442-b8c56fafe7b8
2012-11-27 19:48:01,445 DEBUG [ omero.gateway] (proc.21545) _createProxies:1525 ## Creating proxies
2012-11-27 19:48:01,445 INFO [ omero.gateway] (proc.21545) connect:1742 created connection (uuid=db697a64-7b68-4ef6-a442-b8c56fafe7b8)
2012-11-27 19:48:01,445 DEBUG [ omero.gateway] (proc.21545) connect:1754 .. connected!
2012-11-27 19:48:01,446 DEBUG [ omeroweb.decorators] (proc.21545) get_authenticated_connection:319 Connector valid, session successfully joined.
2012-11-27 19:48:01,446 DEBUG [ omeroweb.decorators] (proc.21545) get_connection:198 Is valid public URL? False
2012-11-27 19:48:01,446 DEBUG [ omeroweb.decorators] (proc.21545) get_connection:235 Is anonymous? False
2012-11-27 19:48:01,446 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.group' to '-1'
2012-11-27 19:48:01,447 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroShare:139 Key 'omero.share' not found in <ServiceOptsDict: {'omero.session.uuid': 'db697a64-7b68-4ef6-a442-b8c56fafe7b8', 'omero.group': '-1', 'omero.client.uuid': 'a6ed8a7a-3797-4626-8000-1c1edd64930f'}>
2012-11-27 19:48:01,447 DEBUG [ omeroweb.decorators] (proc.21545) wrapper:423 Rendering template: webclient/activities/activitiesContent.html
2012-11-27 19:48:01,466 DEBUG [ omeroweb.decorators] (proc.21545) wrapped:380 Doing connection cleanup? True
2012-11-27 19:48:15,893 DEBUG [ omeroweb.decorators] (proc.21545) wrapped:351 Connection not provided, attempting to get one.
2012-11-27 19:48:15,893 DEBUG [ omeroweb.decorators] (proc.21545) get_authenticated_connection:250 Is SSL? False
2012-11-27 19:48:15,894 DEBUG [ omeroweb.decorators] (proc.21545) get_authenticated_connection:252 Connector: <omeroweb.connector.Connector object at 0x38f0550>
2012-11-27 19:48:15,894 DEBUG [ omeroweb.decorators] (proc.21545) get_authenticated_connection:313 Django session connector: <omeroweb.connector.Connector object at 0x38f0550>
2012-11-27 19:48:15,894 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1625 localhost
2012-11-27 19:48:15,895 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1626 4064
2012-11-27 19:48:15,895 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1627 []
2012-11-27 19:48:15,899 DEBUG [ omero.gateway] (proc.21545) connect:1656 Connect attempt, sUuid=db697a64-7b68-4ef6-a442-b8c56fafe7b8, group=None, self.sUuid=None
2012-11-27 19:48:15,899 DEBUG [ omero.gateway] (proc.21545) connect:1666 connected? False
2012-11-27 19:48:15,921 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.session.uuid' to 'db697a64-7b68-4ef6-a442-b8c56fafe7b8'
2012-11-27 19:48:15,921 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.client.uuid' to 'b66740a4-9889-4872-85a4-dc0991246783'
2012-11-27 19:48:15,921 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroGroup:115 Key 'omero.group' not found in <ServiceOptsDict: {'omero.session.uuid': 'db697a64-7b68-4ef6-a442-b8c56fafe7b8', 'omero.client.uuid': 'b66740a4-9889-4872-85a4-dc0991246783'}>
2012-11-27 19:48:15,921 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroUser:127 Key 'omero.user' not found in <ServiceOptsDict: {'omero.session.uuid': 'db697a64-7b68-4ef6-a442-b8c56fafe7b8', 'omero.client.uuid': 'b66740a4-9889-4872-85a4-dc0991246783'}>
2012-11-27 19:48:15,922 DEBUG [ omero.gateway] (proc.21545) connect:1674 Joined Session OK with Uuid: db697a64-7b68-4ef6-a442-b8c56fafe7b8
2012-11-27 19:48:15,922 DEBUG [ omero.gateway] (proc.21545) _createProxies:1525 ## Creating proxies
2012-11-27 19:48:15,922 INFO [ omero.gateway] (proc.21545) connect:1742 created connection (uuid=db697a64-7b68-4ef6-a442-b8c56fafe7b8)
2012-11-27 19:48:15,923 DEBUG [ omero.gateway] (proc.21545) connect:1754 .. connected!
2012-11-27 19:48:15,923 DEBUG [ omeroweb.decorators] (proc.21545) get_authenticated_connection:319 Connector valid, session successfully joined.
2012-11-27 19:48:15,923 DEBUG [ omeroweb.decorators] (proc.21545) get_connection:198 Is valid public URL? False
2012-11-27 19:48:15,923 DEBUG [ omeroweb.decorators] (proc.21545) get_connection:235 Is anonymous? False
2012-11-27 19:48:15,923 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.group' to '-1'
2012-11-27 19:48:15,924 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroShare:139 Key 'omero.share' not found in <ServiceOptsDict: {'omero.session.uuid': 'db697a64-7b68-4ef6-a442-b8c56fafe7b8', 'omero.group': '-1', 'omero.client.uuid': 'b66740a4-9889-4872-85a4-dc0991246783'}>
2012-11-27 19:48:16,074 DEBUG [ omeroweb.decorators] (proc.21545) wrapper:423 Rendering template: webclient/data/container_tags.html
2012-11-27 19:48:16,137 DEBUG [ omeroweb.decorators] (proc.21545) wrapped:380 Doing connection cleanup? True
2012-11-27 19:48:16,826 DEBUG [ omeroweb.decorators] (proc.21545) wrapped:351 Connection not provided, attempting to get one.
2012-11-27 19:48:16,826 DEBUG [ omeroweb.decorators] (proc.21545) get_authenticated_connection:250 Is SSL? False
2012-11-27 19:48:16,826 DEBUG [ omeroweb.decorators] (proc.21545) get_authenticated_connection:252 Connector: <omeroweb.connector.Connector object at 0x3621790>
2012-11-27 19:48:16,827 DEBUG [ omeroweb.decorators] (proc.21545) get_authenticated_connection:313 Django session connector: <omeroweb.connector.Connector object at 0x3621790>
2012-11-27 19:48:16,827 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1625 localhost
2012-11-27 19:48:16,827 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1626 4064
2012-11-27 19:48:16,827 DEBUG [ omero.gateway] (proc.21545) _resetOmeroClient:1627 []
2012-11-27 19:48:16,831 DEBUG [ omero.gateway] (proc.21545) connect:1656 Connect attempt, sUuid=db697a64-7b68-4ef6-a442-b8c56fafe7b8, group=None, self.sUuid=None
2012-11-27 19:48:16,831 DEBUG [ omero.gateway] (proc.21545) connect:1666 connected? False
2012-11-27 19:48:16,852 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.session.uuid' to 'db697a64-7b68-4ef6-a442-b8c56fafe7b8'
2012-11-27 19:48:16,853 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.client.uuid' to '0d16541b-f30b-4d12-803f-7579f9df7775'
2012-11-27 19:48:16,853 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroGroup:115 Key 'omero.group' not found in <ServiceOptsDict: {'omero.session.uuid': 'db697a64-7b68-4ef6-a442-b8c56fafe7b8', 'omero.client.uuid': '0d16541b-f30b-4d12-803f-7579f9df7775'}>
2012-11-27 19:48:16,853 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroUser:127 Key 'omero.user' not found in <ServiceOptsDict: {'omero.session.uuid': 'db697a64-7b68-4ef6-a442-b8c56fafe7b8', 'omero.client.uuid': '0d16541b-f30b-4d12-803f-7579f9df7775'}>
2012-11-27 19:48:16,853 DEBUG [ omero.gateway] (proc.21545) connect:1674 Joined Session OK with Uuid: db697a64-7b68-4ef6-a442-b8c56fafe7b8
2012-11-27 19:48:16,853 DEBUG [ omero.gateway] (proc.21545) _createProxies:1525 ## Creating proxies
2012-11-27 19:48:16,854 INFO [ omero.gateway] (proc.21545) connect:1742 created connection (uuid=db697a64-7b68-4ef6-a442-b8c56fafe7b8)
2012-11-27 19:48:16,854 DEBUG [ omero.gateway] (proc.21545) connect:1754 .. connected!
2012-11-27 19:48:16,854 DEBUG [ omeroweb.decorators] (proc.21545) get_authenticated_connection:319 Connector valid, session successfully joined.
2012-11-27 19:48:16,854 DEBUG [ omeroweb.decorators] (proc.21545) get_connection:198 Is valid public URL? False
2012-11-27 19:48:16,854 DEBUG [ omeroweb.decorators] (proc.21545) get_connection:235 Is anonymous? False
2012-11-27 19:48:16,855 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.group' to '-1'
2012-11-27 19:48:16,869 DEBUG [ omero.gateway.utils] (proc.21545) __setitem__:70 Setting 'omero.group' to 4L
2012-11-27 19:48:16,869 DEBUG [ omero.gateway.utils] (proc.21545) setOmeroShare:139 Key 'omero.share' not found in <ServiceOptsDict: {'omero.session.uuid': 'db697a64-7b68-4ef6-a442-b8c56fafe7b8', 'omero.group': '4', 'omero.client.uuid': '0d16541b-f30b-4d12-803f-7579f9df7775'}>
Any ideas?
Thanks
Chris