We're Hiring!

omero insight client keeps losing connection

General user discussion about using the OMERO platform to its fullest. 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

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

omero insight client keeps losing connection

Postby daveko » Tue Jan 20, 2015 7:25 pm

version: OMERO.web 5.0.6-ice34-b53.

Hi, I'm new to the omero platform. I'm running insight on JDK 7 on various windows machines running 8.1 x64. This has happened in two different locations/networks.

After a few minutes, I would keep losing connection.. I would get a prompt indicating "Lost Connection", telling me it was trying to reconnect (and it never would) with an option to shutdown (which does nothing when I click on it).

Does anyone have any ideas?

thanks in advance
daveko
 
Posts: 5
Joined: Fri Jan 16, 2015 1:02 am

Re: omero insight client keeps losing connection

Postby jmoore » Tue Jan 20, 2015 8:29 pm

Sorry to hear you're having troubles. Could you possibly send us the OMERO.insight log from one or more of the affected machines? From the FAQ:

Client logs files are generated in your home directory under omero/logs. These you can find by going to the "Help" menu and clicking on "Show log file location". In the "log" directory, there are rolling files: importer.log(.1, .2, .3, ...) or omeroinsight.log(.1, .2, .3, ...)


Cheers,
~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany

Re: omero insight client keeps losing connection

Postby daveko » Tue Jan 20, 2015 11:02 pm

Hi Josh.

In the folder, I only have a 1 file, omeroinsight.log .. However, the filedate is from november when I first installed omero. No events seem to be affecting the log file - it's not changing at all.
daveko
 
Posts: 5
Joined: Fri Jan 16, 2015 1:02 am

Re: omero insight client keeps losing connection

Postby daveko » Tue Jan 20, 2015 11:32 pm

OK, i think the log file wasn't writing properly because i was launching via the JNLP extension. Running it from the x64 client, this is what I'm getting.. I'm also getting timeouts on an OSX client so I'm thinking the problem is on the server side. FWIW the server is running on a Windows 2008R2 instance on Microsoft Azure cloud. Perhaps there is a latency/timeout setting I need to modify?

2015-01-20 15:28:31,233 DEBUG [ o.o.shoola.util.NetworkChecker] (entQueue-0) Cached networkup: true
2015-01-20 15:28:32,267 DEBUG [ o.o.shoola.util.NetworkChecker] ( Thread-67) Count: 2 2
2015-01-20 15:28:32,267 DEBUG [ o.o.shoola.util.NetworkChecker] ( Thread-67) Network status: true (in 534 ms.) use cached value: true
2015-01-20 15:28:32,476 DEBUG [ o.o.shoola.util.NetworkChecker] ( Thread-67) Cached networkup: true
2015-01-20 15:29:20,558 DEBUG [ o.o.shoola.util.NetworkChecker] (1-thread-1) Count: 2 2
2015-01-20 15:29:20,559 DEBUG [ o.o.shoola.util.NetworkChecker] (1-thread-1) Network status: true (in 516 ms.) use cached value: false
2015-01-20 15:29:40,160 DEBUG [ o.o.shoola.env.data.Connector] (1-thread-1) Failed encrypted keep alive: Ice.ConnectionLostException
error = 0
at IceInternal.Outgoing.invoke(Outgoing.java:158)
at omero.api._ServiceFactoryDelM.keepAllAlive(_ServiceFactoryDelM.java:1593)
at omero.api.ServiceFactoryPrxHelper.keepAllAlive(ServiceFactoryPrxHelper.java:5610)
at omero.api.ServiceFactoryPrxHelper.keepAllAlive(ServiceFactoryPrxHelper.java:5569)
at org.openmicroscopy.shoola.env.data.Connector.keepSessionAlive(Connector.java:675)
at org.openmicroscopy.shoola.env.data.OMEROGateway.keepSessionAlive(OMEROGateway.java:5640)
at org.openmicroscopy.shoola.env.data.KeepClientAlive.run(KeepClientAlive.java:64)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: An existing connection was forcibly closed by the remote host
at sun.nio.ch.SocketDispatcher.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(Unknown Source)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch.IOUtil.read(Unknown Source)
at sun.nio.ch.SocketChannelImpl.read(Unknown Source)
at IceSSL.TransceiverI.readNonBlocking(TransceiverI.java:826)
at IceSSL.TransceiverI.read(TransceiverI.java:309)
at Ice.ConnectionI.message(ConnectionI.java:996)
at IceInternal.ThreadPool.run(ThreadPool.java:321)
at IceInternal.ThreadPool.access$300(ThreadPool.java:12)
at IceInternal.ThreadPool$EventHandlerThread.run(ThreadPool.java:693)
... 1 more

2015-01-20 15:29:45,838 DEBUG [ o.o.shoola.util.NetworkChecker] (entQueue-0) Count: 2 2
2015-01-20 15:29:45,838 DEBUG [ o.o.shoola.util.NetworkChecker] (entQueue-0) Network status: true (in 654 ms.) use cached value: false
2015-01-20 15:29:45,866 DEBUG [ o.o.shoola.util.NetworkChecker] (entQueue-0) Not available java.io.FileNotFoundException: http://104.45.236.139
daveko
 
Posts: 5
Joined: Fri Jan 16, 2015 1:02 am

Re: omero insight client keeps losing connection

Postby jmoore » Wed Jan 21, 2015 3:00 pm

Hi Dave,

there shouldn't be anything on the client-side that needs configuration. As you say, most likely this is a server-side issue that will need to take a look at. If you can provide us with the server logs off-list, we'll try to figure out what's going on.

All the best
~Josh.
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to User Discussion

Who is online

Users browsing this forum: Google [Bot] and 1 guest