FAQ #20558, published on 2021-07-05
How to cope with an error 100138 when calling a webservice or making an HTTP request ?

When a request in HTTPS is sent to execute a page of a site, call a REST API, consume a SOAP webservice, authenticate with AuthIdentifie, the request may fail with the following error:  



A system error was detected while sending the HTTP request.

Error Code: 100138



This appears if the connection cannot be properly encrypted. The encryption failure may be related to :


  • the request,
  • the configuration of the workstation,
  • the certificate or the configuration of the server being contacted.



The following points have to be checked: 


-the given URL does not contain spaces or characters that do not conform to URLs.


-if the request is sent with an httpRequest/restRequest variable, check that the headers do not contain ["accept-encoding"].


-the station is up to date with Windows Update, and its security settings, supports TLS 1.2 and SSL 2.0 minimum and that the certificates databases are up-to-date.


-the server is using HTTP 2.0


See also : https, api, rest, soap, webservice, 100138