This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot access SignalK
#11
Happened to me, also. Reinstall of Openplottter from scratch fixed the issue. Luckily I had a backup. Running with no errors and finding it relatively stable.

This is good to know. Will check my node.js versions and update accordingly.
Reply
#12
Greetings, I also ran into this issue while setting up for the first time. This really threw me for a loop, I wound up reinstalling, 
and still no joy. GOOD NEWS, I have the answer!! 

1.      Introduction (OPENPLOTTER Suddenly Can Not Connect to SIGNAL-K Server)
You are setting up, (or have been enjoying) using OpenPlotter and Signal K on your Raspberry Pi, 
eager to bring real-time navigation data to your dashboard. Everything seems smooth until you open your browser and…
 nothing. The chart never loads, API calls time out, and all you get is a cryptic “insecure” warning about localhost.
 No logs point you to the culprit, and reboots or reinstalls don’t help. 
Perhaps while you were asleep, and quite unbeknownst to you,
GOOGLE Chromium Rolled out "Improvements" to security
2.      Symptoms
·         Dashboard never loads, remaining a blank screen or spinning circle
·         API calls to Signal K (e.g. http://localhost:3000/signalk/v1/api/…) time out or are blocked
·         Browser console logs a generic “insecure origin” or “mixed content” error without pointing at a certificate
·         No errors in OpenPlotter or Signal K logs, making it feel like the traffic simply vanishes
3.      Common (But Ineffective) Fixes
·         Switching browsers (Chrome → Firefox → Edge)
·         Disabling or whitelisting localhost in extensions
·         Binding Signal K to 0.0.0.0 or editing /etc/hosts
·         Reinstalling OpenPlotter and Signal K repeatedly
·         Generating self-signed certificates without trusting them
All of these leave you stuck because the browser’s built-in security policies still block HTTP traffic to localhost.

4.     The Real Solution:

1.     In Chrome’s address bar, navigate to:
chrome://flags/#allow-insecure-localhost
2.     Set Allow insecure localhost to Enabled.
3.     Click Relaunch.
4.        After restarting, Chrome stops blocking HTTP on localhost,
and  your Signal K dashboard at http://localhost:3000 will load normally. Verify by opening the URL and checking the console for any errors.
5    Preventative Advice
·         Bookmark the flag page: chrome://flags/#allow-insecure-localhost
·         Use a LAN IP or hostname: http://192.168.x.x:3000 or http://signalk.local:3000
·         Trust a self-signed certificate for HTTPS on localhost
·         Keep this guide on your Pi or a USB drive for offline reference
·         After each browser update, revisit and re-enable the flag if needed
·         Consider alternate browsers (e.g., older Chromium builds) for critical setups
With this in hand, you’ll have a reliable fallback when Chrome hardens localhost again. Safe sailing—and smooth dashboards!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)