Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Terminal/Logs Popup Windows Instantly Closing

Featured Replies

[Attached diagnostics]

hal9000-diagnostics-20240209-1532.zip

 

Hi Unraiders,

 

Today I noticed when I try to open a terminal window from the main unraid webUI, the pop up opens and then instantly closes in chrome/edge. In safari it opens and constantly stays in a "reconnecting" state. The other functions, including my dockers and shares appear to be working fine, but I need access to the logs and terminals to debug a separate issue I'm having. 

 

So far I've tried the following, but the issue persists:

  1. Tried in 3 separate browsers: chrome (normal & incognito), chromium edge, safari
  2. Disabled all ad blockers, and added my server URL (.local and ip) to in-browser pop-up blocking white lists.
  3. Tried closing all but one browser accessing the webui
  4. Shut down all VMs and Dockers
  5. Stopped the array
  6. Restarted the server
  7. Restarted the server in safe mode

 

I've seen a few other threads with a similar issue, but none have been any help:

  1. This thread suggests it may be an issue with pfsense/haproxy but I don't use either
  2. This thread suggests a rogue docker may be the issue.

 

I'm a new unraid pro user and would really appreciate any help with this strange issue! 

 

Thanks!

 

Edited by WobbleBobble2
Added additional debugging steps attempted.

  • Community Expert

Do you have ad or popup blockers?

  • Author
21 hours ago, trurl said:

Do you have ad or popup blockers?

I do but in have disabled them and no luck in chrome, edge or safari. 

 

I also added my server URL (both hal9000.local and the IP address) to Chrome's white list for allowing popups and still no joy.

  • Author

Anyone else have any ideas on this one? I would immensely appreciate any help!!

 

From Safari, the window actually has something in it: "reconnecting" which blinks rapidly:

574371229_Screenshot2024-02-14at3_49_54PM.thumb.jpg.832c630ff3991306bfabc4db2a64b723.jpg

  • Author

Weirdly this went away when I restarted my mac laptop. No idea why restarting the client (not the server) would affect this, but glad it's resolved!! Hope this helps someone else!

  • Community Expert
9 hours ago, WobbleBobble2 said:

No idea why restarting the client (not the server) would affect this

I don't know why restarting the client fixed it, but not at all surprised it was the client and not the server.

  • Author

Oh no - this is back! And restarting my laptop isn't fixing it anymore. I just get this constant "reconnecting" message again (see below). 

 

I am able to use the terminal & logs fine with a different mac laptop though. Also I should add that this issue, whatever is causing it, also prevents me from connecting to VMs via VNC. I just get a "Failed to connect to server" error in VNC.

 

Also attached diagnostics although I imagine they won't be relevant since this is clearly a client side issue.

 

Lastly, one other thing I've tried is switching from my 10GBE ethernet wired connection to the router to wifi. I thought maybe there was some issue with the 10gbe connection, but wifi did not resolve the issue.

 

216774466_Screenshot2024-02-22at10_00_02AM.thumb.jpg.32da6b393a1881c2843d65f0ad922550.jpg2001315081_Screenshot2024-02-22at6_18_44AM.thumb.jpg.254a4b91142c09ae9083d8f0d750a179.jpg

 

 

 

hal9000-diagnostics-20240222-0951.zip

Edited by WobbleBobble2

  • Community Expert

Try clearing the browser cookies.

  • Author
16 minutes ago, JorgeB said:

Try clearing the browser cookies.

Thank you for helping here! Ok I tried the following but nothing worked:

1. Clearing cookies in chrome

2. Chrome incognito

3. Safari cleared cookies

4. Safari Private

5. Firefox cleared cookies

6. Firefox Private

 

I also disabled all my ad blockers and disabled any in-browser pop-up blocking / site protection I could find. But obviously if it were one of these issues, the problem wouldn't follow me across browsers. 

 

Here's the list of previous steps taken that were also unsuccessful:

Quote

 

So far I've tried the following, but the issue persists:

Tried in 3 separate browsers: chrome (normal & incognito), chromium edge, safari

Disabled all ad blockers, and added my server URL (.local and ip) to in-browser pop-up blocking white lists.

Tried closing all but one browser accessing the webui

Shut down all VMs and Dockers

Stopped the array

Restarted the server

Restarted the server in safe mode

 

 

Edited by WobbleBobble2

  • 1 month later...

I think I've figured this issue out, or at least found the root cause.  

Check this thread out: 

 

 

Essentially there's a bug in the current version of unraid that hasn't been fixed yet where leaving tabs for your unraid server open for long periods of time fills up a memory reserve, which results in terminal tabs closing, lack of data on the processor on the main page, and probably other things.

 

Close all your tabs and restart your nginx instance with "/etc/rc.d/rc.nginx restart"

 

Hope this helps other people with this issue that also can't find a solution.  It took me a while since I couldn't open the logs to see the problem through the UI and had to find the syslog on the server.  /log/syslog in case you also didn't know.

 

  • Author

Oh man thanks so much for figuring this out! I just restarted NGINX, fingers crossed!

  • Author
On 3/29/2024 at 2:51 PM, mandos said:

Close all your tabs and restart your nginx instance with "/etc/rc.d/rc.nginx restart"

 

I pasted this command into terminal but it seems NGINX failed to restart so I can no longer access the UI from browser. I'll do a reboot later when I've finished some tasks queued on the server.

  • Author
On 4/1/2024 at 1:55 PM, WobbleBobble2 said:

I pasted this command into terminal but it seems NGINX failed to restart so I can no longer access the UI from browser. I'll do a reboot later when I've finished some tasks queued on the server.

Ok after a reboot I can confirm the logs and terminal are working again! Will wait a few more days to confirm this solution works on an ongoing basis.

 

 

  • Author
On 4/1/2024 at 10:03 PM, bmartino1 said:

web browser updates have changed a few things that may make some things not work correctly.

 

you want to edit site permission and allow popups.

You also need 3rd party cookies enabled.

 

I had already done step 1, but not 3rd party cookies which I do generally disable in most browsers. In chrome i added an exception to allow 3rd party cookies for my server IP and .local address. But I'll also give Brave a try! I already have chrome edge safari firefox & opera, so one more can't hurt.

  • 4 weeks later...

I ran into a similar issue trying to reverse proxy to mine at unraid.myweirdoname.duckdns.org with DNS challenging and NGINX issuing a cert. Seems that part of the GUI trusted the cert chain, but not others. It manifested in docker update windows going blank, no listing of drives, and popups like Logs and Terminal window closing themselves. As soon as I accessed via IP or by the blahblah.myunraid.net it worked fine.

 

The issue isn't bothersome enough to troubleshoot yet, but I'll update if I get there.

  • 8 months later...
On 4/2/2024 at 1:03 AM, bmartino1 said:

web browser updates have changed a few things that may make some things not work correctly.

 

you want to edit site permission and allow popups.

You also need 3rd party cookies enabled.

 

Sarfi, chrome and Mozilla have recently changed browser settings and I have experienced this on many website and issues at work.

 

I recommend the brave web browser, as you can click the brave icon and turn these options off for testing.

 

If you are not able to use brave for unraid this its the service due to lack of free ram or a sign of hardware failure. I recommend running FCP plugin and scan for issues.

In Chrome, I have edited site permissions to allow popups, I have enabled 3rd-party cookies, and I have tried Brave browser and done the same.

 

I have also installed FCP, and it identified no issues relevant to this, as far as I can tell.


No matter what, the log windows keep closing instantly. Fucking annoying.

  • 4 months later...
On 1/12/2025 at 4:39 PM, Andible said:

In Chrome, I have edited site permissions to allow popups, I have enabled 3rd-party cookies, and I have tried Brave browser and done the same.

 

I have also installed FCP, and it identified no issues relevant to this, as far as I can tell.


No matter what, the log windows keep closing instantly. Fucking annoying.

Did you find a fix to this? I've tried all suggestions and it keeps happening

  • 7 months later...

On 3/29/2024 at 2:51 PM, mandos said:

Close all your tabs and restart your nginx instance with "/etc/rc.d/rc.nginx restart"

Worked like a charm, I ssh'ed in to my box and everything was back to working in 10s — Thanks for taking the time to post your solution!

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.