CLI import - without port 4063 open
Posted: Fri Mar 24, 2017 10:40 pm
Hi guys,
I'm trying to import some images using the CLI to a remote server (VM on Amazon AWS). Due to the University's security requirements only port 4064 is open and 4063 is blocked.
The steps in my little script are very simple:
The original login connection is made over 4064:
But then the import falls back to a non-SSL connection which fails because it's blocked:
Is there a way to force the import process to stay in SSL mode?
Thanks,
- Damir
I'm trying to import some images using the CLI to a remote server (VM on Amazon AWS). Due to the University's security requirements only port 4064 is open and 4063 is blocked.
The steps in my little script are very simple:
- Code: Select all
omero login -s <remote_host> -u <remote_user> --sudo <remote_su> -w <su_password>
omero import <file_name>
omero logout
The original login connection is made over 4064:
- Code: Select all
Created session 2a7e6b03-506c-4576-89cc-c3c9092174d8 (xxxxxx@xx.xx.xx.xx:4064). Idle timeout: 10 min. Current group: Public
But then the import falls back to a non-SSL connection which fails because it's blocked:
- Code: Select all
2017-03-24 15:03:58,456 17452 [ main] INFO ome.formats.importer.ImportCandidates - 1 file(s) parsed into 1 group(s) with 1 call(s) to setId in 16690ms. (16694ms total) [0 unknowns]
2017-03-24 15:03:59,623 18619 [ main] INFO ome.formats.OMEROMetadataStoreClient - Attempting initial SSL connection to 10.85.254.151:4064
2017-03-24 15:04:00,420 19416 [ main] INFO ome.formats.OMEROMetadataStoreClient - Insecure connection requested, falling back
-! 3/24/17 15:04:05:576 warning: main: null - createSession retry: 1
-! 3/24/17 15:04:10:578 warning: main: null - createSession retry: 2
2017-03-24 15:04:15,585 34581 [ main] ERROR formats.importer.cli.CommandLineImporter - Error during import process.
omero.ClientError: Obtained null object proxy
......
Is there a way to force the import process to stay in SSL mode?
Thanks,
- Damir