esp32-xbee icon indicating copy to clipboard operation
esp32-xbee copied to clipboard

Need help with understanding why my ESP32 is disconnecting from caster

Open mbackonja opened this issue 2 months ago • 5 comments

I often have disconnections between esp32 and the caster. These are in random intervals between 5 minutes and 20 minutes. In periods when there are no interruptions, the connection lasts for 7+ hours (a couple of days a week), while most days I have 30+ interruptions every 5-20 minutes...

WiFi is not a problem, I changed 2 3G routers, 1 4G router, and home WiFi... My RTK Base is right next to the router... My ESP32 is on the UPS, I restarted it today, but it had 27 days of uptime previously...

Nothing helps...

I tried both the stable version 0.5.2 and the latest version 0.5.4...

When I open log.html, this is what I see:

...
15	18:40:26.731ms	INFO	MAIN	Synced time from SNTP
16	19:23:40.414ms	WARN	NTRIP_SERVER	Disconnected from rtk2go.com:2101/XXX
17	19:23:40.418ms	INFO	NTRIP_SERVER	Connecting to rtk2go.com:2101/XXX
18	19:23:41.678ms	INFO	NTRIP_SERVER	Successfully connected to rtk2go.com:2101/XXX
19	19:23:43.074ms	WARN	NTRIP_SERVER	Disconnected from rtk2go.com:2101/XXX
20	19:23:43.078ms	INFO	NTRIP_SERVER	Connecting to rtk2go.com:2101/XXX
21	19:23:43.827ms	INFO	NTRIP_SERVER	Successfully connected to rtk2go.com:2101/XXX
22	19:40:26.668ms	INFO	MAIN	Synced time from SNTP
23	19:46:50.913ms	WARN	NTRIP_SERVER	Disconnected from rtk2go.com:2101/XXX
24	19:46:50.917ms	INFO	NTRIP_SERVER	Connecting to rtk2go.com:2101/XXX
25	19:46:52.912ms	INFO	NTRIP_SERVER	Successfully connected to rtk2go.com:2101/XXX
26	19:46:55.103ms	WARN	NTRIP_SERVER	Disconnected from rtk2go.com:2101/XXX
27	19:46:55.106ms	INFO	NTRIP_SERVER	Connecting to rtk2go.com:2101/XXX
28	19:46:56.904ms	INFO	NTRIP_SERVER	Successfully connected to rtk2go.com:2101/XXX
29	19:56:31.913ms	WARN	NTRIP_SERVER	Disconnected from rtk2go.com:2101/XXX
30	19:56:31.917ms	INFO	NTRIP_SERVER	Connecting to rtk2go.com:2101/XXX
31	19:56:42.192ms	ERROR	NTRIP_SERVER	/home/nebkat/Work/esp32/esp32-xbee/main/interface/ntrip_server.c:146 (ntrip_server_task): Could not receive response from caster: 11 No more processes
32	19:56:44.194ms	INFO	NTRIP_SERVER	Connecting to rtk2go.com:2101/XXX
33	19:56:45.716ms	INFO	NTRIP_SERVER	Successfully connected to rtk2go.com:2101/XXX
...

And I can't understand what's the reason for those disconnections...

@nebkat can you help me understand what's causing it?

P.S. This message

31	19:56:42.192ms	ERROR	NTRIP_SERVER	/home/nebkat/Work/esp32/esp32-xbee/main/interface/ntrip_server.c:146 (ntrip_server_task): Could not receive response from caster: 11 No more processes

I never saw it on 0.5.2 version, this is the first time I see it now (on 0.5.4 version)

mbackonja avatar May 04 '24 20:05 mbackonja