Can't connect Fipy via LTE NB-IoT to Pybytes
Hello there, I tried to connect via NB-IoT to as described in this article , later I tried out this tip after I had no success, but it's still complaining with the same error message that it cannot connect to the MQTT server.
Connecting to COM13... WMAC: 807D3AC2E464 Firmware: 1.18.2.r3 Pybytes: 0.9.10 Pybytes configuration read from /flash/pybytes_config.json Initialed watchdog for WiFi and LTE connection with timeout 660000 ms LTE init(carrier=standard, cid=1) LTE attach(band=8, apn=iot.1nce.net, type=None) LTE connect() LTE is_connected() LTE connection established MQTTClient: Can't connect to MQTT server: "mqtt.pybytes.pycom.io" MQTTClient: Can't connect to MQTT server: "mqtt.pybytes.pycom.io"
As a second connection preference
was set to
Any tips on how I could get this to work? Am I overlooking anything?
I was able to successfully connect via HTTPS to google and do a simple GET request, so it seemed. Though I don't do dabble around to often in network protocols. Would you have any suggestion for a safer way to determine whether our carrier supports UDP. The name of the carrier is 1NCE, btw.
@weingami Are you sure the operator you are using allows TCP (MQTT) connections to external platforms?
Most NB-IoT network carriers don't support TCP and only allow UDP/CoAP connections to their own internal platforms.