LabVIEW Cloud Toolkits

cancel
Showing results for 
Search instead for 
Did you mean: 

Err 412031 when running sample code of LV cloud toolkit for SQS on Linux RT NI-9082

Hi,

Although the example code run well on windows computer, they don't run on Linux RT target NI-9082. I get the following error message:

"Error 412031 occurred at NI_AWSCore.lvlib:HTTP Reqyest.lvclass:Create Error Cluster from Responses Body.vi

 

Possible reasons:

Signature not yet current:20170704T183155Z is still later than 20170704T174353Z (20170704T172853 + 15min.)"

I have checked cRIO time setting, it isn't the problem.

Can anyone help please?

 

0 Kudos
Message 1 of 3
(4,251 Views)

The error message suggests that Amazon was expecting the HTTP request at 17:28:53 (5:28 pm), with a 15 minute grace period. But the request was timestamped by your cRIO at 18:31:55 (6:31 pm). It seems your cRIO's current time may be off by 1 hour and 3 minutes.

 

In Measurement and Automation Explorer, does your cRIO's time zone appear to be correct, and if so, is the daylight savings box checked? I reproduced this error message with my cRIO with daylight savings unchecked, and fixed the error by checking this box and clicking the "Save" button in MAX.

0 Kudos
Message 2 of 3
(4,103 Views)

Another thing you can try is to run the attached VI on your desktop and on your controller. It reports your system time in UTC format. If your desktop and controller are configured identically (time zone, daylight savings, etc), the reported UTC time strings should match.

0 Kudos
Message 3 of 3
(4,099 Views)