Home/Support/Support Forum/XBee LTE-m having spotty connection to aws account
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

XBee LTE-m having spotty connection to aws account

0 votes
Hi there, we are using our XBEE devices in an IOT settings. Our micropython code seems to work perfectly fine as some times it connects to our aws account and sometimes it doesn't. Does anyone have an explanation to the spotty-ness. We get a range of errors from time out, ENXIO, and ENOENT.

Also side note One of our devices won't connect to our aws account at all and it is using the same profile configurations as the one which is able to connect (sometimes connect)

Hopefully someone has some pointers.

maybe a socket time out?
asked Jun 24 in Other/Legacy by BayCompAssociates New to the Community (1 point)

Please log in or register to answer this question.

1 Answer

0 votes
Bay,

That is exactly what it is. A socket time out.

https://www.digi.com/resources/documentation/Digidocs/90002258/#troubleshooting/ts_socket_leaks.htm%3FTocPath%3DTroubleshooting%7C_____10

https://www.digi.com/resources/documentation/digidocs/90002219/default.htm#reference/r_errors_socket.htm?Highlight=ENXIO

It can also be an issue with the provider assigning a DNS address to your device.
answered Jun 24 by mvut Veteran of the Digi Community (12,791 points)
Hi there,

Thank you for your immediate feedback.  So looking further into the issue.  One our accounts is completely consistent. However, our test application aws account (given to us) by a customer wont connect and is completely unreliable.

How do we go about fixing the socket and/or DNS problem in our micropython code? Any tips or pointers.  We are pretty new to this technology
I would suggest checking to make sure that your certs you are using are the ones that this account has tied to each of the devices and that the radios are accounted for on that account.

I would also suggest querying the AI before you send a request.
...