We're Hiring!

difficulty using insight to log in to VirtualBox omero

Having a problem deploying OMERO? 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

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

difficulty using insight to log in to VirtualBox omero

Postby talley » Sun Apr 08, 2012 11:42 pm

Hi,

I'm having difficulty using omero.insight to log into my virtual box omero server. I've read through the relevant instructions on the site:
http://www.openmicroscopy.org/site/prod ... _appliance
and various forum posts but I still can't get it to work. here's the details:

I'm running virtualBox 4.1.12 on OS X 10.7.2. I'm able to load the virtual appliance and I can log in to omero inside the virtual box (with root/swordfish or omero/omero) just fine. When I try to login with omero.insight (using "root"/"omero") i get the "failed to log onto omero, check the port or try again later error".

in the virtual box, when I run ifconfig, I do get an eth0 listing with the inet adds: 10.0.2.15 and I've attached a screenshot of the rest of the output here:
Screen Shot 2012-04-08 at 4.30.15 PM.png
Screen Shot 2012-04-08 at 4.30.15 PM.png (50.01 KiB) Viewed 17777 times


for what it's worth, I AM able to ssh into the omero server from the terminal on my host machine using the command: "ssh -p 2222 root@localhost"
also, when I run "sudo lsof -i -P" in the host terminal I do see that virtual box is indeed listening on ports 4064, 4063, 4080 and 2222 as specified in the VirtualBox settings, and no other applications seem to be listening on the same port to cause conflict (no omero.server for instance).

I've tried restarting the virtual box and the host a number of times and I even tried changing the listening port on the host machine to 46064... but still nothing.

any help would be greatly appreciated!
talley
 
Posts: 4
Joined: Sun Apr 08, 2012 11:18 pm

Re: difficulty using insight to log in to VirtualBox omero

Postby jmoore » Wed Apr 11, 2012 12:43 pm

talley wrote:I'm running virtualBox 4.1.12 on OS X 10.7.2. I'm able to load the virtual appliance and I can log in to omero inside the virtual box (with root/swordfish or omero/omero) just fine. When I try to login with omero.insight (using "root"/"omero") i get the "failed to log onto omero, check the port or try again later error".


Can you login to the virtual appliance with "omero"/"omero" and then try using the CLI to login as "root"/"omero"? If not, then perhaps OMERO's not running.

You might also take a look at this forum post for more tips:

https://www.openmicroscopy.org/community/viewtopic.php?f=4&t=1029

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

Re: difficulty using insight to log in to VirtualBox omero

Postby SimonGreenaway » Tue May 29, 2012 11:32 am

I am getting this problem too:

The VM has the correct IP.
I can SSH from the host PC to the VM.
[root@mrc382 simon]# ssh omero@localhost -p 2222
The authenticity of host '[localhost]:2222 ([127.0.0.1]:2222)' can't be established.
RSA key fingerprint is d3:f7:16:50:fe:c9:b8:09:5c:51:d7:6e:74:00:06:e8.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '[localhost]:2222' (RSA) to the list of known hosts.
omero@localhost's password:
Linux omerovm 2.6.32-5-686 #1 SMP Mon Jun 13 04:13:06 UTC 2011 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Tue May 29 11:44:47 2012
omero@omerovm:~$

The VM NAT is forwarding:
VirtualBo 8733 simon 35u IPv4 924690 0t0 TCP localhost:2222 (LISTEN)
VirtualBo 8733 simon 36u IPv4 924691 0t0 TCP localhost:8080 (LISTEN)
VirtualBo 8733 simon 37u IPv4 924692 0t0 TCP localhost:4063 (LISTEN)
VirtualBo 8733 simon 38u IPv4 924693 0t0 TCP localhost:4064 (LISTEN)

Connection from insight client fails (root/omero).
The omera server handles the login:
2012-05-29 12:31:01,714 INFO [ ome.services.util.ServiceHandler] (l.Server-2) Executor.doWork -- ome.services.sessions.SessionManagerImpl.executeCheckPasswordRO(root)
2012-05-29 12:31:01,714 INFO [ ome.services.util.ServiceHandler] (l.Server-2) Args: [null, InternalSF@14791603]
2012-05-29 12:31:01,717 INFO [ ome.security.basic.EventHandler] (l.Server-2) Auth: user=0,group=0,event=null(Sessions),sess=db8f2a2b-b501-4b03-9b55-981ae0fe68fb
2012-05-29 12:31:01,719 INFO [ ome.security.auth.LoginAttemptListener] (l.Server-2) Resetting failed login count of 1 for root
2012-05-29 12:31:01,722 INFO [ org.perf4j.TimingLogger] (l.Server-2) start[1338291061714] time[8] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$8.doWork]
2012-05-29 12:31:01,722 INFO [ ome.services.util.ServiceHandler] (l.Server-2) Rslt: true
2012-05-29 12:31:01,723 INFO [ ome.services.util.ServiceHandler] (l.Server-0) Executor.doWork -- ome.services.sessions.SessionManagerImpl.createSession
2012-05-29 12:31:01,724 INFO [ ome.services.util.ServiceHandler] (l.Server-0) Args: [null, InternalSF@14791603]
2012-05-29 12:31:01,787 INFO [ ome.security.basic.EventHandler] (l.Server-0) Auth: user=0,group=0,event=168(Sessions),sess=db8f2a2b-b501-4b03-9b55-981ae0fe68fb
2012-05-29 12:31:01,801 INFO [ ome.security.basic.CurrentDetails] (l.Server-0) Adding log:INSERT,class ome.model.meta.Session,469
2012-05-29 12:31:01,820 INFO [ org.perf4j.TimingLogger] (l.Server-0) start[1338291061724] time[96] tag[omero.call.success.ome.services.sessions.SessionManagerImpl$2.doWork]
2012-05-29 12:31:01,821 INFO [ ome.services.util.ServiceHandler] (l.Server-0) Rslt: (ome.model.meta.Experimenter:Id_0, ome.model.meta.ExperimenterGroup:Id_0, (0, 1), ... 4 more)
2012-05-29 12:31:01,824 INFO [ ome.services.blitz.fire.SessionManagerI] (l.Server-0) Created session ServiceFactoryI(session-9ec86d24-0a45-4f40-a297-6befbb804fd0/4a9cc3f1-2efc-4833-9780-eff78eb67e19) for user root (agent=OMERO.java)
2012-05-29 12:31:01,831 INFO [ omero.cmd.SessionI] (l.Server-4) Added servant to adapter: 4a9cc3f1-2efc-4833-9780-eff78eb67e19/9ec86d24-0a45-4f40-a297-6befbb804fd0omero.api.IConfig(omero.api._IConfigTie@a058289)
2012-05-29 12:31:01,834 INFO [ ome.services.util.ServiceHandler] (l.Server-1) Meth: interface ome.api.IConfig.getConfigValue
2012-05-29 12:31:01,834 INFO [ ome.services.util.ServiceHandler] (l.Server-1) Args: [omero.router.insecure]
2012-05-29 12:31:01,854 INFO [ ome.security.basic.EventHandler] (l.Server-1) Auth: user=0,group=0,event=169(User),sess=4a9cc3f1-2efc-4833-9780-eff78eb67e19
2012-05-29 12:31:01,858 INFO [ org.perf4j.TimingLogger] (l.Server-1) start[1338291061834] time[24] tag[omero.call.success.ome.logic.ConfigImpl.getConfigValue]
2012-05-29 12:31:01,858 INFO [ ome.services.util.ServiceHandler] (l.Server-1) Rslt: OMERO.Glacier2/router:tcp -p 4063 -h @omero.host@
2012-05-29 12:31:01,873 INFO [ ome.services.blitz.fire.SessionManagerI] (l.Server-9) Found session locally: 4a9cc3f1-2efc-4833-9780-eff78eb67e19
2012-05-29 12:31:01,875 INFO [ ome.services.blitz.fire.SessionManagerI] (l.Server-9) Rejoining session ServiceFactoryI(session-ab70ace1-42b2-4d8b-a260-4df3dc713095/4a9cc3f1-2efc-4833-9780-eff78eb67e19) (agent=OMERO.insight;secure=false)
2012-05-29 12:31:01,883 INFO [ ome.services.util.ServiceHandler] (l.Server-5) Meth: interface ome.api.IAdmin.lookupExperimenter
2012-05-29 12:31:01,883 INFO [ ome.services.util.ServiceHandler] (l.Server-5) Args: [root]
2012-05-29 12:31:01,887 INFO [ ome.security.basic.EventHandler] (l.Server-5) Auth: user=0,group=0,event=null(User),sess=d791e28b-2d23-4a77-bd81-b3fe66ec332a
2012-05-29 12:31:01,894 INFO [ org.perf4j.TimingLogger] (l.Server-5) start[1338291061883] time[11] tag[omero.call.success.ome.logic.AdminImpl.lookupExperimenter]
2012-05-29 12:31:01,895 INFO [ ome.services.util.ServiceHandler] (l.Server-5) Rslt: ome.model.meta.Experimenter:Id_0

CLI works fine from SSH or VM login.

Any ideas anyone?

Simon Greenaway
SimonGreenaway
 
Posts: 2
Joined: Tue May 29, 2012 10:51 am

Re: difficulty using insight to log in to VirtualBox omero

Postby SimonGreenaway » Tue May 29, 2012 12:34 pm

So it's not:

JVM version (6 or 7 both cannot connect).
32/64 bit JVM (both cannot connect).
There is nothing appopriate in the insight error log:
2012-05-29 13:26:30,643 ERROR [ ome.system.UpgradeCheck] (nitializer) Error reading from url: http://upgrade.openmicroscopy.org.uk?ve ... orporation "Server returned HTTP response code: 400 for URL: http://upgrade.openmicroscopy.org.uk?ve ... orporation"
2012-05-29 13:26:30,663 INFO [opy.shoola.env.rnd.PixelsServicesFactory] (nitializer) Heap memory usage: max 229310464
2012-05-29 13:26:30,795 INFO [enmicroscopy.shoola.env.init.TaskBarInit] (nitializer) Loaded L&F: com.sun.java.swing.plaf.gtk.GTKLookAndFeel


An 'strace -f' produced only one error, the 400 one as per the log above.

Now downloading source code to run under a debugger...

Simon
SimonGreenaway
 
Posts: 2
Joined: Tue May 29, 2012 10:51 am

Re: difficulty using insight to log in to VirtualBox omero

Postby tusk » Mon Jun 11, 2012 3:23 pm

Hi,

I am having the same problem as Simon (however, on a different OS). I installed the omero vm in VirtualBox 4.1.16 under Win 7 Enterprise 64-bit according to the guideline (http://www.openmicroscopy.org/site/prod ... _appliance) and downloaded the OMERO.insight client (4.3.3). VirtualBox is correctly configured to forward the ports (did not have to modify anything) and the client is set to connect to localhost on port 4064.

The virtual machine is up and running, the (virtual) ethernet card has been detected and it has an IP address assigned to it (10.0.2.15). I can log onto the server using omero/omero and a quick check using omero admin diagnostics verified that omero is running. However, I am unable to log in using the insight client (with the credentials root/omero - 100% sure that I made no typo). I am constantly getting the following error message:
Code: Select all
Failed to log onto OMERO. Please check your user name and/or password or try again later
Every time I try to connect, virtual box indicates network traffic and hdd access (via the little tray icons) and the Blitz-0 log shows the server actually receiving and handling the login request.
For what it's worth, I am able to connect to the virtual machine using ssh (putty) via 127.0.0.1:2222 without any problem. I have tried disabling the windows firewall and my symantec endpoint protection but this had no effect (still getting the username/password error). I even tried to create a new user using the omero admin commandline method, but that also had no effect. Now I have no more idea what to do in order to solve the problem...
tusk
 
Posts: 1
Joined: Mon Jun 11, 2012 2:32 pm

Re: difficulty using insight to log in to VirtualBox omero

Postby ckm » Tue Jun 12, 2012 1:47 pm

The virtualbox builds are currently using version of omero from the develop branch in git. Meaning that it at times can be a bit unstable and buggy. We should have a 4.3.4 release build virtual machine later today / tomorrow that is more stable and friendly. I'll post a link to the release build once it finishes building.
User avatar
ckm
Team Member
 
Posts: 5
Joined: Tue May 15, 2012 5:16 pm

Re: difficulty using insight to log in to VirtualBox omero

Postby ckm » Thu Jun 14, 2012 6:52 pm

Available at http://cvs.openmicroscopy.org.uk/snapshots/omero/virtualbox/ is omero-vm-4.3.4.ova, which is a vm export with OMERO.server-4.3.4 vs the head of the develop branch (which is what the documentation previously pointed to). This will hopefully be much more stable and work better than previous builds.
User avatar
ckm
Team Member
 
Posts: 5
Joined: Tue May 15, 2012 5:16 pm


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest