Data refresh issue when connected to AP/HotSpot

Hi everyone, My SignalK test setup work fine when my Raspberry Pi is connected to my home router (acting as client). Accessing web page and NMEA0183 data refresh work fine. I configured a HotSpot on my Raspberry to access the Signal K Data browser and KIP plugin web page with the HotSpot IP address. I connected my Android tablet to the HotSpot. When accessing Signal K with HotSpot connection, the NMEA0183 data is not updated after initial web page display. No problem when accessing Signal K through the "client" IP address from my computer I have HotSpot configured on the built-in Broadcom interface and the client connection to my home router on a USB TP-Link interface, each having the own ip address Tried to swith between Broadcomm and TP-Link, but that changed nothing. Anyone experienced this issue ?
12 Replies
Teppo Kurki
Teppo Kurki3w ago
What exactly do you mean ”data is not refreshed” - where? What web page or application?
hugorobi
hugorobiOP3w ago
10.42.0.1 is the IP address assigned to my Raspberry HotSpot.
No description
hugorobi
hugorobiOP3w ago
When connected to Signal K server through my home router, everything works fine !
No description
Teppo Kurki
Teppo Kurki3w ago
Open another window for the dashboard. Do the connection statistics numbers update or not? If you open https://demo.signalk.io/examples/ on your server does it kerp updating?
hugorobi
hugorobiOP3w ago
No update on the dashboard too. I can see NMEA2000 messages on the URL specified, without any issue. UPDATE : After some time, NMEA2000 message update stops, also my personnal setup at the same time ! Ok, updates are not stopping, but only delayed for an undetermined time... and come back "bulkly" after that. As demo.signalk.io/examples web page has the sime issue, it looks like it is more a Raspberry Pi HotSport issue than a SignalK issue. After some time, I saw 2 messages: "Error connecting to server - Dismiss" and "Connection successfull - Dismiss". After these 2 messages, the updates worked for a few seconds, then nothing, until the next messages mentioned above Some errors found on the Signal K server log. Lines that includes [object Object] are added when update stops. Other lines (overflow, outgoing buffer) appear when message "Error connecting to server" and "Connection succesfull" Nov 15 10:37:30 Send buffer overflow, terminating connection 9P5VqK0K79l_tqH8Nej5q Nov 15 10:37:43 [object Object] Nov 15 10:38:43 [object Object] Nov 15 10:39:43 [object Object] Nov 15 10:40:43 [object Object] Nov 15 10:41:43 [object Object] Nov 15 10:42:43 [object Object] Nov 15 10:43:43 [object Object] Nov 15 10:43:43 qguWjRnt78qhVBEiG7Y0y outgoing buffer > max:2097435 Nov 15 10:44:13 Send buffer overflow, terminating connection qguWjRnt78qhVBEiG7Y0y Nov 15 10:44:43 [object Object] https://github.com/SignalK/signalk-server/issues/807
Teppo Kurki
Teppo Kurki3w ago
something is off in your system. if you are just using the sample files with the provided startup scripts then either your browser performance sucks and they can't keep up with the data flow or possibly your wifi performs so badly that browser can't pull data fast enough how busy is your server - how many deltas per second on the dashboard? there's something odd going on, as data browser is not getting the full data flow, but instead getting updates every 2 seconds
hugorobi
hugorobiOP3w ago
HI ! I use Timo Lappalainen NMEA simulator for my lab. As said previously, everything works fine when my Raspberry is connected as client to my home router. The problem rise when I'm using the Raspberry HotSpot feature. 2 ideas : or there is a routing issue on the Raspberry HotSpot feature, or the web server send updates to the wrong socket/port/ip address (I'm not a programmer). The setup is easy as it is the latest OpenPlotter image available... As I have no other issue when connected to the HotSpot, my assumption goes to the Web server...
Teppo Kurki
Teppo Kurki3w ago
the web server does not really "send updates" to a target, rather it sends updates to a connection that has been opened by the client (browser), so I don't see much chance of sending them to a wrong address i ask again: how busy is your server - how many deltas per second on the dashboard?
hugorobi
hugorobiOP3w ago
Today with NMEA2000 message : 84... but yesterday with NMEA0183 message, that was about 15
Teppo Kurki
Teppo Kurki3w ago
So that is not the problem Routing problem would probably mean that there is no connection
hugorobi
hugorobiOP3w ago
Yes, Right ! I will do more test... but it looks that the SignalK update available today fixed my issue...
hugorobi
hugorobiOP5d ago
Hello, I think I found the cause of the problem. My home router connection (TP-Link) and my HotSpot connection (Rasp builtin Wifi) had the same priority (0). Since I changed the priority to 10 for my HotSpot connection, I no longer have this problem.
No description
Want results from more Discord servers?
Add your server