Can't connect to NextCloud console
-
I'm trying to connect to NextCloud console on Cloudron 9.0.15, but that is all I'm getting:

Resources are fine, log messages shows that container exists and doing well.
sudo docker exec -it ebc4eb53c325 /bin/bashworks just fine.
-
Hello @potemkin_ai
The @nextcloud app itself is working as intended?
Did you try to restart the app once?
Are there any errors in the browser web console when this is happening? -
Does this happen only with nextcloud or with other apps too ? Wondering if this is some network error since I think web terminal uses web sockets which is glitchy on some networks .
Also, possible that nextcloud keeps restarting. docker exec will also work for some time and exit in that case.
-
Only with NextCloud and it seems like was working fine...
-
Hey, James. Quite a while ago. Don't you want to figure out the root cause?
I can and certainly will reboot the server one day. -
Hey, James. Quite a while ago. Don't you want to figure out the root cause?
I can and certainly will reboot the server one day.Hello @potemkin_ai
Since this is a rather unique issue, I assume this has something to do with how Cloudron streams this to the browser.
This can be very hard to debug, and I would like to first ensure that a simple reboot does not solve the issue.
If a reboot solves the issue, I can also deduce that this is some docker network issue and can then look deeper into it. -
@potemkin_ai are you seeing anything in the browsers network inspector or console?
@nebulon I do:
terminal-c5ikyfn6.js:6307 WebSocket connection to 'wss://my.server.com/api/v1/apps/e075a2fe-7f7f-40ff-ae12-056766d2780d/exec/d7f60f4a9d5d72e7ced6aaf3d0f035fbe98c397f37690fe99ddcba72b0539d97/startws?tty=true&rows=25&columns=183&access_token=a8uNp2OOgZpy_00xcyYa3gKGGAb8SQGO0B6-Tydok3k' failed: connect @ terminal-c5ikyfn6.js:6307 terminal-c5ikyfn6.js:6322 Socket error. Reconnecting... Event {isTrusted: true, type: 'error', target: WebSocket, currentTarget: WebSocket, eventPhase: 2, …} terminal-c5ikyfn6.js:6317 Socket closed. Reconnecting... -
and that is happening not only for NextCloud actually, I just didn't notice!