Upload report from command line redirect to localhost and get connection refused


#1

Using katalon-report-uploader-0.0.4.jar

I used my username and password for my Katalon account to upload report, but I got connection refused, request is sent to localhost:
2019-06-09 12:15:06.343 ERROR 6514 — [ main] c.k.k.r.u.h.KatalonAnalyticsConnector : Cannot get access_token from server by your credentials

And the connection seem connect to localhost:8444. I used command line:
java -jar ./Drivers/katalon-report-uploader-0.0.4.jar --kit.server.api=https://analytics.katalon.com --projectId=17372 --path=“Reports/xxx/20190609_061926” --email=“mykatalon_account_email” --password=“my katalon password” or

java -jar ./Drivers/katalon-report-uploader-0.0.4.jar --type=katalon --projectId=17372 --path=“Reports/xxx/20190609_061926” --email=“mykatalon_account_email” --password=“my katalon password”
org.apache.http.conn.HttpHostConnectException: Connect to localhost:8444 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed: Connection refused (Connection refused)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:159) ~[httpclient-4.5.3.jar!/:4.5.3]


#2

Hi @Grace,

We have a new release to fix this issue. Please download the latest one and try again.