I’ve set up a couple of ESP32 devices with SIM800L modules and the pppos library, the devices also work on AWS, the only issue is I can’t seem to be able to pull the device configurations remotely.
When I click on “Config” in mDash the device gets the Config.Get RPC and sends the configuration but mDash always shows “recv timeout” and doesn’t show the config.
[Jul 12 00:43:14.212] mg_rpc.c:376 '2' '' '' 'Config.Get'
[Jul 12 00:43:14.218] mgos_rpc.c:364 Called 'Config.Get', acl for it: '*'
[Jul 12 00:43:14.224] mg_rpc.c:293 Config.Get via WSS_out 148.251.54.236:443
[Jul 12 00:43:14.262] mg_rpc.c:612 0x3ffcaf4c SEND FRAME (4663): {CONFIG IS HERE}
[Jul 12 00:43:14.668] mg_rpc.c:508 0x3ffcaf4c FRAME SENT (1)
I’ve set up devices like these before (a couple of months ago, before the mDash facelift) and it has always worked but now none of them do.
The “read timeout” means the communication with a device gets lost.
Please switch to the Info tab, and disconnect a device (yellow button). That gets a device reconnected.
That I understand, although I know for a fact the device is connected, working, and sending the config over the network.
I used to have a similar issue over GSM with the OTA update functionality, where I would get the “recv timeout” even thought the update actually went through and got committed.
Also I still get the internal server error which makes me think the issue might not be the device’s connection.
After a few days of testing I figured out the problem was with the SIMs, this operator uses a different network architecture and I believe that was causing the issue.