MQTT GetID Failure. cURL Code 28 #2602
Unanswered
ngiustini-invn
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Using release version 1.9.105
I am currently facing an issue with MQTT functionality with my embedded system built on C/C++. When trying to get Cognito details to be used for MQTT communication, it seems that the library fails when trying to get the ID returning a cURL code 28. This indicates that it is timing out. In our code we then try to restart the library which only leads to the same cURL code 28 in an infinite loop. This only seems to happen on some networks with higher latency for its upload and download values as I have tested on other networks which see the cURL operation from the library working without issue. I am not aware of any settings we can set to change the timeout settings or other QoS settings that may help to ensure that the network calls are successful. Is anyone able to help point to any settings that may help solve this problem? Alternatively, is there any other solution that can be suggested to avoid seeing the request time out? Does AWS’’s library have any expectation about network conditions or requirements that must be met for the library to properly function?
Please see below some sample code for how we are setting up and using the MQTT connection.
The error message we are experiencing is the one printed at line 95 of this example code.
If there is anything I can help clear up about our issue or any other details I can provide please let me know.
Thank you,
Noah
Beta Was this translation helpful? Give feedback.
All reactions