thingspeak server closing connection immediately
이전 댓글 표시
mqtt3.thingspeak.com closing the connection immediately when trying to connect using A6 gsm module. Has been working flawlessly up to a week ago.Not able to publish any data to private channel. No encryption used (http).
답변 (2개)
Christopher Stapels
2024년 8월 19일
0 개 추천
Usually that means an authentication issue. Can you ensure the device is set up correctly and it is allowed to publish to the channel you are trying to write to? It is easy to make an inadvertant change in the MQTT interface.
댓글 수: 2
Sven Ottosson
2024년 8월 19일
Christopher Stapels
2024년 8월 20일
Here are a list of troubleshooting tips. Sometimes a change inyou device local MQTT sessings can casue the broker to reject a connections, for example setting last will. It might even happen inadvertantly with a library update. A library update recently broke my ESP-now project. :(
Are you able to publish/subscribe to the channel updates from a different client such as MQTTX ? If that works, I would suggest looking into the code running on your device. Maybe try switching from the GSM modem to a WiFi network. Does that work? If so, you can have localized the problem to the A6 module.
댓글 수: 2
Sven Ottosson
2024년 8월 19일
Vinod
2024년 8월 22일
Thank you for confirming, Sven.
Could you please post the resolution and how you narrowed down the issue so it may help the next person who has a similar issue?
커뮤니티
더 많은 답변 보기: ThingSpeak 커뮤니티
카테고리
도움말 센터 및 File Exchange에서 ThingSpeak에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!