sst: MQTT connection error on SST(ION) dev next dev command (macOS M1)
I’m encountering an issue when running the sst dev next dev command on my macOS M1 machine (Also have the same error in my remix app as well). I’m using the following versions:
- “sst”: “^3.0.1”,
Error:
time=2024-04-17T13:42:27.499+02:00 level=INFO msg=unsubscribing type=*aws.FunctionLogEvent time=2024-04-17T13:42:27.499+02:00 level=ERROR msg="exited with error" err="failed to connect to mqtt: network Error : websocket: close 1005 (no status)"
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (5 by maintainers)
This error happens for me as well. I was able to get it working for a while, but as soon as I switched to a different AWS account, I started having troubles again. Interestingly, I can ping the IOT address just fine, only fails when running sst dev.
Edit: the key is to complain on this thread and then try again for the 19th time and it will work.