Getting random "Problem with the SSL CA cert (path? access rights?)" errors in Online when using HTTP class in Trigger

Hi,

at one customer in Online we've written av very simple CRMScript which is called from the "Ticket Saved" trigger. It is very simple, and basically just performs an HTTP call to a remote Azure Functions URL. It sends the ticket ID there, and get a simple value back.

Basically the trigger just does this

#setLanguageLevel 3;

HTTP http;
http.setDebugMode(true);
String response = String(http.get("https://some.url.com/foo?ticketId=123"));

log(response);
log(http.getDebug());

However, in some rare cases we see that the request is never sent out from SuperOffice.

The value from http.getDebug is totally empty.

The value in response-variable says: "Problem with the SSL CA cert (path? access rights?)".

Had this been an Onsite solution I would have troubleshot in the direction of the "curl-ca-bundle.crt" file on disk, but since this is Online there isn't really much to troubleshoot.

What could cause this in Online?

 

RE: Getting random "Problem with the SSL CA cert (path? access rights?)" errors in Online when using HTTP class in Trigger

Hi,

We need to investigate what is causing this, I see that when we are running over .exe HTTP class gives this error. Almost looks like it is not able to access "curl-ca-bundle.crt" file on disk. 

By: Michel Krohn-Dale 15 Apr 2021

RE: Getting random "Problem with the SSL CA cert (path? access rights?)" errors in Online when using HTTP class in Trigger

Hi, did you make any changes to fix this?

I am unable to reproduce error in SOD and Online, by just changing from .fcgi to .exe.

By: Frode Lillerud 19 Apr 2021

RE: Getting random "Problem with the SSL CA cert (path? access rights?)" errors in Online when using HTTP class in Trigger

Hi,

As far as I know we have not changed anything. Could you contact me directly to give me some more information about tenant so I can check logs ?

By: Michel Krohn-Dale 21 Apr 2021

RE: Getting random "Problem with the SSL CA cert (path? access rights?)" errors in Online when using HTTP class in Trigger

Sure, you should have an email now.

By: Frode Lillerud 21 Apr 2021