Error Message: "An error occurred while making the HTTP request to..." OR "server certificate is not


Product(s): Assetwise ALIM Web Client
Version(s): 16.7.15 and higher
Area: Web Client Connections
Subarea: N/A
Original Author: Bentley Technical Support Group

 

 

 


 

 

 

PROBLEM:

Web interface gets error(s) similar to following:

An error occurred while making the HTTP request to https://[ALIM_APPSERVERNAME]/Bentley/eB/Service/Server/Ws. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.

An error occurred while making the HTTP request to https://[ALIM_APPSERVERNAME]/Bentley/eB/Service/Session/Ws. This could be due to the fact that the server certificate is not configured properly with HTTP.SYS in the HTTPS case. This could also be caused by a mismatch of the security binding between the client and the server.

SOLUTION:

Versions prior to eB16.7.15 will work over TLS1.0 protocol. Later versions will use TLS1.1 and higher.

The error above likely is caused by the required TLS protocols not being  enabled.  To address this modify the registry entries to enable TLS1.1+ protocols. The Registry key can be found at HKLM SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL