molgenis / molgenis-tools-emx-downloader

Stand alone tool to download data in EMX format from molgenis servers
GNU Lesser General Public License v3.0
2 stars 8 forks source link

Cryptic error message if wrong protocol is given in server URL #75

Open MaxPostema opened 4 years ago

MaxPostema commented 4 years ago

How to Reproduce

During EMX Downloader release step "EMXIMP001" Run (with the correct password) java -jar downloader.jar -f test.xlsx -u http://latest.dev.molgenis.org -a admin -p SUBSTITUTE_PASSWORD_HERE -s 2 emx_downloader_TypeTest -D

Expected behavior

Either it works or error message says that it should be https or that server cannot be found.

Observed behavior

[ERROR] - An error occurred:
javax.naming.AuthenticationException: Username or password is incorrect
        at org.molgenis.downloader.client.MolgenisRestApiClient.login(MolgenisRestApiClient.java:82)
fdlk commented 4 years ago

should be https, not http (but the error message is very cryptic)

bartcharbon commented 4 years ago

I assume version 1.2.0 was used?