My Oracle Support Banner

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 and later
Information in this document applies to any platform.


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         @#$%/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(
     at com.primavera.gateway.GatewayAPI.testConnection(




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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.