Cannot access web gui

My SK server is running on a Cerbo GX. Recently I have not been able to access the webgui on Venus.local:3000, I get the attached error. The Signal K plugins appear to be all functioning correctly.
No description
7 Replies
Teppo Kurki
Teppo Kurki2w ago
Try with an incognito browser and/or clear cookies if you tap the address what does it show there, in addition to venus.local:3000 ?
chris
chris2w ago
Since two days I see similars errors (see screenshot). I run sk in docker on a raspberry pi. recent sk version v2.17, I updated all plugins a couple of days ago. Now I cannot access the webgui anymore. Meanwhile, my websocket-clients can connect and sk sends data to influx2.
No description
chris
chris2w ago
Same with deleted cookies and in an incognito tab, error messages are slightly different:
chris
chris2w ago
No description
chris
chris2w ago
Same error, when trying to access the webgui from a totally different device (Chrome on Android Phone) Since I made a backup on November 16th, I was able to make a diff on my .signalk directory. Essentially I see the following differences: Updated sk-plugins: charts-plugin signalk-to-nmea-2000 New sk-plugins: signalk-adsb signalk-logviewer Updated "non-sk-packages": p-limit yocto-queue Also, in the new, non-working setup, CORS is configured as "allowedCorsOrigins": "*,http://192.168.1.1:3000" Will now try to narrow it down further. I now changed the content of .signalk now from the not-wirking configuration to the configuration from the 16th, the sk works as expected. Now changed the content of .signalk back to what it was this morning, this now also works. Very strange. @Teppo Kurki any guess, what could be going on here?
Teppo Kurki
Teppo Kurki2w ago
you have some webapp that does not have a displayNamedefined in its package.json's signalk block. This causes a failure when trying to redirect from https://your.server:3000/ - from the root / path - to the admin ui when you reverted to the working configuration and successfully loaded the admin ui the redirect from / to /admin/ was cached in your browser, so it works now that the browser thinks oh when they request / it is redirected permanently to /admin/ so i'll just go there directly fix on the way https://github.com/SignalK/signalk-server/pull/2146 if you encounter this again try navigating directly to /admin/ to bypass the problem
GitHub
fix: guard against undefined webapp.displayName by tkurki · Pull R...
If some webapp does not have a displayname the redirect from / will fail when trying to do the special hostname-webapp lookup.
chris
chris2w ago
Oh, wow, thank you for the background and the incoming fix!

Did you find this page helpful?