Which if I understand correctly should show an error relatively quickly.
Thanks for any help
EDIT:
It seems to finally error after about 10 minute and I can't find where that limit would occur.
I've also discovered in browser my code seems to be toggling between offline and online quite frequently despite there being a network connection now.
However, it seems in a node terminal it stays alive, but in browser it has issues.
Any thoughts on configuration issues that could be causing this? I feel like I'm missing something, but I've read documentation and dove into the code to try and suss this out. I also turned on debug mode but get no errors.
I've created an instance of
awsIot.device
and wrapped it with some listeners. I'm doing this in-browser running the webserver locally.I've noticed I'll get errors if I disable the network for my machine (at the os level) before the client tries to connect.
However, if I disable my networking after the connection has occurred even after waiting for over a minute.
I tried switching around the config I passed it in a futile attempt to get the any of the expected events to emit.
Here is part of my config:
Which if I understand correctly should show an error relatively quickly.
Thanks for any help
EDIT: It seems to finally error after about 10 minute and I can't find where that limit would occur.
I've also discovered in browser my code seems to be toggling between offline and online quite frequently despite there being a network connection now.
However, it seems in a node terminal it stays alive, but in browser it has issues.
Any thoughts on configuration issues that could be causing this? I feel like I'm missing something, but I've read documentation and dove into the code to try and suss this out. I also turned on debug mode but get no errors.