zanata-cli unable to connect after zanata update

Description

Hi all,
After updating zanata to last version (4.6.2 via dockers container), zanata-cli stopped work.

zanata-cli stats --errors -X
[INFO] Loading project config from zanata.xml
[INFO] Loading user config from /home/itc-svn/.config/zanata.ini
[DEBUG] ConfigurationUtils.locate(): base is /home/itc-svn/.config, name is zanata.ini
[DEBUG] Could not locate file zanata.ini at /home/itc-svn/.config: no protocol: /home/itc-svn/.config
[DEBUG] Loading configuration from the path /home/itc-svn/.config/zanata.ini
[DEBUG] Logging Provider: org.jboss.logging.Log4jLoggerProvider
[DEBUG] RESTEASY002330: Unable to retrieve config: expandEntityReferences defaults to false
[DEBUG] RESTEASY002335: Unable to retrieve config: enableSecureProcessingFeature defaults to true
[DEBUG] RESTEASY002325: Unable to retrieve config: disableDTDs defaults to true
[DEBUG] RESTEASY002330: Unable to retrieve config: expandEntityReferences defaults to false
[DEBUG] RESTEASY002335: Unable to retrieve config: enableSecureProcessingFeature defaults to true
[DEBUG] RESTEASY002325: Unable to retrieve config: disableDTDs defaults to true
[DEBUG] Get connection for route {}->http://192.168.2.114:8080
[DEBUG] Connecting to 192.168.2.114:8080
[DEBUG] CookieSpec selected: best-match
[DEBUG] Auth cache not set in the context
[DEBUG] Target auth state: UNCHALLENGED
[DEBUG] Proxy auth state: UNCHALLENGED
[DEBUG] Attempt 1 to execute request
[DEBUG] Sending request: GET /zanata/rest/projects/p/c3/iterations/i/main/locales HTTP/1.1
[DEBUG] >> "GET /zanata/rest/projects/p/c3/iterations/i/main/locales HTTP/1.1[\r][\n]"
[DEBUG] >> "Accept: application/xml[\r][\n]"
[DEBUG] >> "Accept-Encoding: gzip, deflate[\r][\n]"
[DEBUG] >> "X-Auth-Token: 319c9c6cb2de59ca85e0e4ea38d630af[\r][\n]"
[DEBUG] >> "X-Auth-User: itc_svn[\r][\n]"
[DEBUG] >> "X-Version-No: 4.6.1[\r][\n]"
[DEBUG] >> "Host: 192.168.2.114:8080[\r][\n]"
[DEBUG] >> "Connection: Keep-Alive[\r][\n]"
[DEBUG] >> "[\r][\n]"
[DEBUG] >> GET /zanata/rest/projects/p/c3/iterations/i/main/locales HTTP/1.1
[DEBUG] >> Accept: application/xml
[DEBUG] >> Accept-Encoding: gzip, deflate
[DEBUG] >> X-Auth-Token: 319c9c6cb2de59ca85e0e4ea38d630af
[DEBUG] >> X-Auth-User: itc_svn
[DEBUG] >> X-Version-No: 4.6.1
[DEBUG] >> Host: 192.168.2.114:8080
[DEBUG] >> Connection: Keep-Alive
[DEBUG] << "HTTP/1.1 302 Found[\r][\n]"
[DEBUG] << "Connection: keep-alive[\r][\n]"
[DEBUG] << "X-Powered-By: Undertow/1[\r][\n]"
[DEBUG] << "Set-Cookie: JSESSIONID=RdT33KnewTtVUTXIl6BVc1gLnkgh7Imq2H7ZaKUT.e55d6d3311a9; path=/[\r][\n]"
[DEBUG] << "Set-Cookie: dsrwid-842=842; path=/; Max-Age=30; Expires=Mon, 25-Mar-2019 12:04:19 GMT[\r][\n]"
[DEBUG] << "Server: WildFly/10[\r][\n]"
[DEBUG] << "Location: http://192.168.2.114:8080/404?dswid=842[\r][\n]"
[DEBUG] << "Content-Length: 0[\r][\n]"
[DEBUG] << "Date: Mon, 25 Mar 2019 12:03:49 GMT[\r][\n]"
[DEBUG] << "[\r][\n]"
[DEBUG] Receiving response: HTTP/1.1 302 Found
[DEBUG] << HTTP/1.1 302 Found
[DEBUG] << Connection: keep-alive
[DEBUG] << X-Powered-By: Undertow/1
[DEBUG] << Set-Cookie: JSESSIONID=RdT33KnewTtVUTXIl6BVc1gLnkgh7Imq2H7ZaKUT.e55d6d3311a9; path=/
[DEBUG] << Set-Cookie: dsrwid-842=842; path=/; Max-Age=30; Expires=Mon, 25-Mar-2019 12:04:19 GMT
[DEBUG] << Server: WildFly/10
[DEBUG] << Location: http://192.168.2.114:8080/404?dswid=842
[DEBUG] << Content-Length: 0
[DEBUG] << Date: Mon, 25 Mar 2019 12:03:49 GMT
[DEBUG] Cookie accepted [JSESSIONID="RdT33KnewTtVUTXIl6BVc1gLnkgh7Imq2H7ZaKUT.e55d6d3311a9", version:0, domain:192.168.2.114, path:/, expiry:null]
[DEBUG] Cookie accepted [dsrwid-842="842", version:0, domain:192.168.2.114, path:/, expiry:Mon Mar 25 12:04:19 UTC 2019]
[DEBUG] Connection can be kept alive indefinitely
[ERROR] Execution failed:
javax.ws.rs.client.ResponseProcessingException: java.lang.IllegalStateException: Received status Found. Redirected to http://192.168.2.114:8080/404?dswid=842. Check your server URL (e.g. used http instead of https)
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:455)
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:479)
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocationBuilder.get(ClientInvocationBuilder.java:171)
at org.zanata.rest.client.ProjectIterationLocalesClient.getLocales(ProjectIterationLocalesClient.java:56)
at org.zanata.client.commands.OptionsUtil.fetchLocalesFromServer(OptionsUtil.java:179)
at org.zanata.client.commands.OptionsUtil.applyConfigFiles(OptionsUtil.java:78)
at org.zanata.client.commands.ArgsUtil.runCommand(ArgsUtil.java:42)
at org.zanata.client.ZanataClient.processArgs(ZanataClient.java:182)
at org.zanata.client.ZanataClient.main(ZanataClient.java:103)
Caused by: java.lang.IllegalStateException: Received status Found. Redirected to http://192.168.2.114:8080/404?dswid=842. Check your server URL (e.g. used http instead of https)
at org.zanata.rest.client.RedirectFilter.filter(RedirectFilter.java:47)
at org.jboss.resteasy.client.jaxrs.internal.ClientInvocation.invoke(ClientInvocation.java:447)
... 8 more

Environment

None

Status

Assignee

Unassigned

Reporter

Andrea Oitana

Labels

None

Tested Version/s

None

Priority

unspecified
Configure