Page 1 of 1

omero.insight "failed to log onto omero"

PostPosted: Thu Jul 10, 2014 6:56 pm
by brossetti
Hello All,

I've just quasi-finished an installation of omero 5.0.2 on a vm for testing at my institution. I am running CentOS 6.5 and followed the instructions on the omero website to the best of my abilities -- they were fairly confusing for a first-timer. I am able to access the omero webclient, but I get the following error when attempting to use omero.insight:

Failed to log onto omero. Please check the port or try again later.


I am running in development mode with debug on. I can see the following lines come up when I start omero.insight; however, I don't see any debug information when I try to connect.

"GET /static/webstart/jars/ehcache-core-2.6.2.jar HTTP/1.1" 404 1714


Here is some debug information in case it is useful:

================================================================================
OMERO Diagnostics 5.0.2-ice34-b26
================================================================================

Commands: java -version 1.7.0 (/usr/bin/java)
Commands: python -V 2.6.6 (/usr/bin/python)
Commands: icegridnode --version 3.4.2 (/usr/bin/icegridnode)
Commands: icegridadmin --version 3.4.2 (/usr/bin/icegridadmin)
Commands: psql --version 8.4.20 (/usr/bin/psql)

Server: icegridnode running
Server: Blitz-0 active (pid = 2063, enabled)
Server: DropBox active (pid = 2297, enabled)
Server: FileServer active (pid = 2086, enabled)
Server: Indexer-0 active (pid = 2082, enabled)
Server: MonitorServer active (pid = 2083, enabled)
Server: OMERO.Glacier2 active (pid = 2077, enabled)
Server: OMERO.IceStorm active (pid = 2092, enabled)
Server: PixelData-0 active (pid = 2093, enabled)
Server: Processor-0 active (pid = 2094, enabled)
Server: Tables-0 active (pid = 2100, enabled)
Server: TestDropBox inactive (enabled)

OMERO: SSL port 4064
OMERO: TCP port 4063

Log dir: /home/tech/omero/OMERO.server-5.0.2-ice34-b26/var/log exists

Log files: Blitz-0.log 1.0 MB errors=5 warnings=15
Log files: DropBox.log 15.0 KB errors=8 warnings=7
Log files: FileServer.log 1.0 KB
Log files: Indexer-0.log 148.0 KB errors=4 warnings=11
Log files: MonitorServer.log 4.0 KB
Log files: OMEROweb.log 830.0 KB errors=98 warnings=0
Log files: OMEROweb_request.log 47.0 KB errors=96 warnings=1
Log files: PixelData-0.log 87.0 KB errors=4 warnings=8
Log files: Processor-0.log 6.0 KB errors=0 warnings=2
Log files: Tables-0.log 7.0 KB errors=0 warnings=2
Log files: TestDropBox.log n/a
Log files: master.err 7.0 KB errors=0 warnings=12
Log files: master.out 0.0 KB
Log files: Total size 2.56 MB


Environment:OMERO_HOME=(unset)
Environment:OMERO_NODE=(unset)
Environment:OMERO_MASTER=(unset)
Environment:OMERO_TEMPDIR=(unset)
Environment:PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/brossetti/omero/OMERO.server/bin:/home/brossetti/bin:/home/tech/omero/OMERO.server/bin
Environment:PYTHONPATH=(unset)
Environment:ICE_HOME=(unset)
Environment:LD_LIBRARY_PATH=(unset)
Environment:DYLD_LIBRARY_PATH=(unset)

OMERO data dir: '/OMERO' Exists? True Is writable? True
OMERO temp dir: '/home/tech/omero/tmp' Exists? True Is writable? True (Size: 0)
OMERO.web status... DEVELOPMENT: You will have to check status by hand!

I believe that I have correctly opened ports 80,443,4080,and 4064.

Any suggestions would be greatly appreciated.

Thanks!
Blair

Re: omero.insight "failed to log onto omero"

PostPosted: Thu Jul 10, 2014 8:00 pm
by brossetti
Apparently, the act of writing out my problem helped me realize the issue. I just noticed that in the diagnostic information the TCP port is 4063, which I had not opened yet. Once I opened 4063, omero.insight was able to connect properly.

The ports I currently have opened are: 80, 443, 4063, 4064, and 4080. Through trial and error, I've discovered that 4063 and 4080 are necessary, but does anyone know if the others are required?

Thanks,
Blair

Re: omero.insight "failed to log onto omero"

PostPosted: Thu Jul 10, 2014 10:25 pm
by sbesson
Hi Blair,

information about ports to open can generally be found in the Sysadmin documentation. You should have all the required ports opened for using both clients: OMERO.insight and OMERO.web.

Sebastien

Re: omero.insight "failed to log onto omero"

PostPosted: Fri Jul 11, 2014 4:59 pm
by brossetti
Thanks, Sebastien! That link is very helpful.

Cheers,
Blair