Wayk Den: Cannot set property 'subscriptions' of null

avatar
my1
Disabled

TypeError: Cannot set property 'subscriptions' of null
at e.project (https://den.domain.tld/web/main.677a2a484c1c4c4e03d2.js:1:1580434)
at e._next (https://den.domain.tld/web/main.677a2a484c1c4c4e03d2.js:1:74116)
at e.next (https://den.domain.tld/web/main.677a2a484c1c4c4e03d2.js:1:738668)
at e.notifyNext (https://den.domain.tld/web/main.677a2a484c1c4c4e03d2.js:1:74853)
at e._next (https://den.domain.tld/web/main.677a2a484c1c4c4e03d2.js:1:1701447)
at e.next (https://den.domain.tld/web/main.677a2a484c1c4c4e03d2.js:1:738668)
at e.notifyNext (https://den.domain.tld/web/main.677a2a484c1c4c4e03d2.js:1:1433740)
at e._next (https://den.domain.tld/web/main.677a2a484c1c4c4e03d2.js:1:1701447)
at e.next (https://den.domain.tld/web/main.677a2a484c1c4c4e03d2.js:1:738668)
at e._next (https://den.domain.tld/web/main.677a2a484c1c4c4e03d2.js:1:738997)

when trying to open the web interface.

I ran the update commands for Waykden and jet and the following versions came out.

library/mongo:4.2-bionic
devolutions/picky:4.5.0-buster
devolutions/den-lucid:3.7.2-buster
devolutions/den-server:2.4.0-buster
library/traefik:1.7
devolutions/devolutions-jet:0.11.0-buster

All Comments (11)

avatar

Hello my1,

If you go on the server, can you verify if all the docker containers are running properly. You can verify with this command:

docker ps


Depending what is up, we can then retrieve the logs. Could you also specify which OS and version you are using.

Best regards,

Richard Boisvert

avatar

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
b4049480368c traefik:1.7 "/traefik --file --c…" 4 hours ago Up 4 hours 80/tcp, 0.0.0.0:4000->4000/tcp den-traefik
9e07db9feafb devolutions/den-server:2.4.0-buster "./den-server -l inf…" 4 hours ago Up 4 hours (healthy) 443/tcp, 4491/tcp, 10255/tcp den-server
21098b6a7544 devolutions/den-lucid:3.7.2-buster "./lucid" 4 hours ago Up 4 hours (healthy) 4242/tcp den-lucid
afd73978cd2e devolutions/picky:4.5.0-buster "./picky-server" 4 hours ago Up 4 hours 12345/tcp den-picky
3386a1bb9cb1 mongo:4.2-bionic "docker-entrypoint.s…" 4 hours ago Up 4 hours 27017/tcp den-mongo
a531e27cb76e devolutions/devolutions-jet:0.11.0-buster "./devolutions-jet -…" 4 hours ago Up 4 hours 0.0.0.0:7000->7000/tcp, 0.0.0.0:8080->8080/tcp, 0.0.0.0:10256->10256/tcp devolutions-jet


all seems up.
Server is an Ubuntu Server 20.04

(also I didnt expect being called by my real name in forums, lol)

avatar

Hello,

Could you try to access the web interface using an incognito mode? We want to validate that a cookie is not interfering with the connection.

PS. My apologies for your name; I modified the previous post.

Best regards,

Richard Boisvert

avatar

okay that works, maybe there is something with the session. I guess I'll ax some cookies.

but there are some UA Parsing issues with Mac.

TypeError: Cannot read property 'toLowerCase' of undefined
    at t.getOsIcon (https://den.domain.tld/web/5.591e92a37b63d752a8b0.js:1:76922)
    at new t (https://den.domain.tld/web/5.591e92a37b63d752a8b0.js:1:76837)
    at e.t.fromMachine (https://den.domain.tld/web/5.591e92a37b63d752a8b0.js:1:198468)
    at e.t (https://den.domain.tld/web/5.591e92a37b63d752a8b0.js:1:198369)
    at new e (https://den.domain.tld/web/5.591e92a37b63d752a8b0.js:1:198877)
    at https://den.domain.tld/web/5.591e92a37b63d752a8b0.js:1:208912
    at Array.map (<anonymous>)
    at e.project (https://den.domain.tld/web/5.591e92a37b63d752a8b0.js:1:208888)
    at e._next (https://den.domain.tld/web/main.677a2a484c1c4c4e03d2.js:1:399876)
    at e.next (https://den.domain.tld/web/main.677a2a484c1c4c4e03d2.js:1:738668)


I went ahead and pulled some things with the browser debugger for you.

forum image

avatar

Hello,

Does the UA parsing issues prevent the website from loading correctly or is it not displaying a specific information you are trying to view? If it is the latter, the engineering team will put it in their backlog to review later on.

As for the initial issue, they will review how the sessions are handled to prevent it in the future, especially when an upgrade is performed.

Best regards,

Richard Boisvert

avatar

Hello my1,

Your Wayk Den is an older version, the issue was fixed in newer releases. To update it, simply run the following on the server:

Update-Module -Name WaykDen
Import-Module WaykDen
Restart-WaykDen


Best regards,

Richard Boisvert

avatar

okay, what's the point of the Update-WaykDen command then if it is not updating wayk den?

also something seems to have broke with the updates and stuff...

PS /etc/wayk-den> Start-WaykDen
docker rm den-mongo
Starting den-mongo
den-mongo successfully started
docker rm den-picky
Starting den-picky
den-picky successfully started
docker rm den-lucid
Starting den-lucid
den-lucid successfully started
docker rm den-server
Starting den-server
den-server successfully started
InvalidOperation: The script failed due to call depth overflow.

Edit: the inline code block really doesnt seem to work well on the dark theme.

avatar

Hello my1,

The cmdlet Update-WaykDen is used to update the configuration of Wayk Den, it does not update the PowerShell module.

As for the error, it seems to be related to a bug that netstat is missing in your Linux installation. The issue is already fix in the next release of Wayk Den, but it's not yet published.

Could you try the following command:

sudo apt install net-tools
Restart-WaykDen


If it does not work, please do this command and post the result.

Restart-WaykDen -Verbose


FYI - I created a ticket for the forum team to look at the inline code, it is indeed unreadable in dark mode unless you select the text.

Best regards,

Richard Boisvert

avatar

Hello my1,

A little precision, Update-WaykDen forces the pull of the latest docker images. It is rarely required, for debugging as an example, and it is mostly used by the developers. When you update the cmdlet, it will verify if there are newer docker images and pull them automatically, so you do not need to run the command in that instance either.

Best regards,

Richard Boisvert

avatar

But if it force pulls latest, why were my docker images then out of date, even after running that command?

avatar

Hello,

The cmdlet Update-WaykDen will pull the latest image tagged for the version of the module you have installed. It is a rare occurrence that the engineering department will change the production image, but the command is available just in case.

Were you able to start your instance of Wayk Den?

Best regards,

Richard Boisvert