Jump to content
tehtide

Web console/terminal black

13 posts in this topic Last Reply

Recommended Posts

Posted (edited)

So I've got a strange issue and I'm hoping someone has some guidance.

 

The web terminal/console link in Unraid 6.7.2 has stopped working. When I click on it I get a new tab, but it is all black with just ttyd - Terminal at the popup title. Nothing else. This seems to effect docker consoles as well because none of those are working either.

 

I couldn't get any error to show up in Chrome developer, but in firefox I get this error: 

 

Firefox can’t establish a connection to the server at ws://10.10.20.10/webterminal/ws. webterminal:1:294635
Websocket connection closed with code: 1006

 

This happens in Chrome, Firefox and Safari.

 

Any ideas? Somewhere to start looking? Attached are my diagnostics for the server.

 

Thanks in advance

coruscant-diagnostics-20190813-0011.zip

Edited by tehtide
Added firefox error

Share this post


Link to post

Have you tried rebooting server and clients?

Share this post


Link to post

I've not done that yet. I was hoping to be able to do something without rebooting the server. I'll try that tonight and see if that changes anything.

Share this post


Link to post

Rebooted server and client. No dice. Still a black screen when clicking the console link on the main header, or any of the console links for any of the dockers.

Share this post


Link to post

Just to be sure you’re aware, you probably won’t be able to access the console in Safari. Just wanted to be sure you weren’t using that browser for your testing.

Share this post


Link to post
Just now, wgstarks said:

Just to be sure you’re aware, you probably won’t be able to access the console in Safari. Just wanted to be sure you weren’t using that browser for your testing.

 

Understood. Issue occurs on Chrome and Firefox on a Mac. Tomorrow I'll have access to a widows machine and I can test from that as well.

Share this post


Link to post

OK... so it seems that if I connect to the vlan that the unraid server is on this works properly. But if I connect to a different VLAN the web terminal doesn't work. I'm using pfsense as my router/firewall and nothing else seems to be blocked.

 

Any ideas?

Share this post


Link to post

Double check your pfsense settings
I can access the web terminals without issue across a site to site VPN

Share this post


Link to post

So the two networks are LAN and WIFI.

 

Rules for the LAN VLAN

image.thumb.png.ca9bd68faf36fbf1f54d4fa71d649831.png

 

Rules for the WiFi VLAN

image.thumb.png.80d1f4ab4e070f8f8bd3849ce60eb739.png

 

Pretty basic... but firewalls aren't my forte. Anything showing up as horribly wrong? I can ping and access everything else between those two networks including dockers etc... there is just something with the webservice traffic that is getting dropped or blocked somewhere.

Share this post


Link to post

Did this ever work before? Does this work if you are on the LAN VLAN with Unraid? Is your client running some form of AV web proxy that might be mucking up the websocket connections?

Share this post


Link to post

If I connect to the same vlan as the server it is fine. But anything else it's a no go... unless it is via VPN, which is strange. No AV, no nothing. This happens on two different devices as well.

Share this post


Link to post

Management GUI, including the web-terminal is done on the untagged interface eth0. In other words do not use a VLAN interface to manage the server.

 

Share this post


Link to post

OK... so after a day of messing with everything, I finally figured it out. I have squid installed on my PFSense router and didn't exclude the ip range that the unraid server is on. I excluded that range and I'm all good now.

 

Thanks for the patience and all the help

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.