Home/Support/Support Forum/Using XBee3 to connect to aws fails
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

Using XBee3 to connect to aws fails

0 votes
I'm trying to use a XBee3 to connect to AWS. I'm following the video tutorial. The only I'm doing different than the tutorial is using the new CA file from AWS instead of the legacy one. I know that the certificates work because I tested them with MQTTfx.

This is the error that I'm getting when using the https_test example:
Traceback (most recent call last):
File "<stdin>", line 48, in <module>
File "<stdin>", line 36, in https_test
OSError: [Errno 7005] EIO

I get a similar error when trying the MQTT examples.
Looks like it's timing out on the socket connect function.

Can someone please test this on your end please test this give me some feedback.

Again, I followed this video: https://www.digi.com/videos/connecting-digi-xbee3-cellular-to-aws-with-mqtt?utm_source=business-wire&utm_medium=pressrelease&utm_campaign=xbee3&utm_content=video

AND Tried the samples in the xbee-micropython project from github.

Thank you,

Gilberto
asked Dec 21, 2018 in Digi Connect Cellular by theguy159 New to the Community (3 points)

Please log in or register to answer this question.

1 Answer

+1 vote
Which XBee3 model are you using?

There is a known issue with the XBee3 Cellular Cat1 were it fails authentication because of some issues following the certificate chain. In this case, you will need to you use your own cert and root CA.

If you are using XBee3 Cellular LTE-M/NB-IoT, you need to make sure that you use the Starfield Root CA from Amazon and that the endpoint address uses the "-ats" form of the hostname. For example, use "xyz-ats.iot.us-west-2.amazonaws.com" instead of "xyz.iot.us-west-2.amazonaws.com".

Hope this helps!

Gene
answered Jun 5 by YetAnotherDigiDude New to the Community (3 points)
...