-
Notifications
You must be signed in to change notification settings - Fork 111
Description
Confirm by changing [ ] to [x] below to ensure that it's a bug:
- [ I've searched for previous similar issues and didn't find any solution]
Known Issue
- I'm using ATS data type endpoint: the endpoint should look like
<prefix>-ats.iot.<region>.amazonaws.com
Describe the bug
My MQTT client device was connected to IOTCore and data was getting published continuously, but after around an hour I started receiving this error and my mqtt client could not connect back to the IOTcore anymore.
Platform/OS/Device
What are you running the sdk on?
Debian linux platform
SDK version number
Example: aws-iot-device-sdk-cpp-v2
To Reproduce (observed behavior)
Steps to reproduce the behavior (please share code)
- establish connect from mqtt client to AWS.
- Keep publishing data continuously.
- Connection disconnects with socket operation timed out error, and does not connect again.
Expected behavior
A clear and concise description of what you expected to happen.
Once mqtt connection is established then there should not be a timeout based disconnection. There should not be a timeout for the existing connection.
Logs/output
If applicable, add logs or error output.
Connection failed with error aws-c-io: AWS_IO_SOCKET_TIMEOUT, socket operation timed out
REMEMBER TO SANITIZE YOUR PERSONAL INFO
ApiHandle::InitializeLogging(...)
Additional context
Add any other context about the problem here.