Skip to main content
1-Visitor
February 16, 2017
Question

AuthenticationException and wt.httpgw.HTTPAuthentication - HTTP login failed: client host = 171.71.189.172

  • February 16, 2017
  • 1 reply
  • 5773 views

When I run the API in test server, all is ok, but after applying to stage server(same production server), there is a error "wt.method.AuthenticationException", in method log file, the error info is "[RMI TCP Connection(14)-171.71.189.172] wt.httpgw.HTTPAuthentication  - HTTP login failed: client host = 171.71.189.172", who can help me? "171.71.189.172" is the server IP.

Thanks.

White

1 reply

1-Visitor
February 16, 2017

Do you have the password hardcoded in your code? Do you have a different authentication mechanism in your staging? - Like SSL, SSO ?

WhiteChen1-VisitorAuthor
1-Visitor
February 16, 2017

Thank you for your reply. The difference between test server and stage server is that stage server have SSL, how can I solve it and make my API worked on stage server?

1-Visitor
February 16, 2017

Could you paste the rest of the stack trace here? If you have not imported the certificate to java keystore, you have to do that using the Keytool