Error: "Could Not Connect to the Server" and "HTTP Error Code : 401" When Testing the Connection to Primavera Gateway From P6 Web
(Doc ID 2554485.1)
Last updated on SEPTEMBER 13, 2019
Applies to:
Primavera Gateway - Version 15.1.0.0 and laterInformation in this document applies to any platform.
Symptoms
When testing the Primavera Gateway connection from P6 Web, the following error occurs.
Could not connect to the server. Please check the entered URL or the Gateway Server.
The connection credential are correct and the error message in Unifier is very similar.
In the P6WebAccess.html the following error can be found.
ERROR com.primavera.rest.resources.admin.settings.ApplicationSettingResource @#$%/rest/settings/gateway/testconnection (User Id: <ID? DB Id: 1)
java.lang.RuntimeException: Failed to create Gateway API session : HTTP error code : 401
at com.primavera.gateway.GatewayAPI.a(GatewayAPI.java:246)
at com.primavera.gateway.GatewayAPI.testConnection(GatewayAPI.java:72)
at com.primavera.rest.common.util.delegate.GatewayDelegate.testGatewayConnection(GatewayDelegate.java:23)
java.lang.RuntimeException: Failed to create Gateway API session : HTTP error code : 401
at com.primavera.gateway.GatewayAPI.a(GatewayAPI.java:246)
at com.primavera.gateway.GatewayAPI.testConnection(GatewayAPI.java:72)
at com.primavera.rest.common.util.delegate.GatewayDelegate.testGatewayConnection(GatewayDelegate.java:23)
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |