07-05-2017 08:41 AM
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?
09-06-2017 03:41 PM
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.
09-06-2017 04:00 PM - edited 09-06-2017 04:00 PM
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.