theotherp / nzbhydra2

Usenet meta search
Other
1.23k stars 75 forks source link

Windows wrapper "Open web UI" only works once #953

Open DBNinja opened 3 months ago

DBNinja commented 3 months ago

Since about 6.0.0, I've noticed that the "Open web UI" via the wrapper only works once. For subsequent openings, I need to manually type the URI into Firefox.

Running windows 10, firefox, and the latest version (7.1.0).

Repro steps:

  1. Run the NZBHydra2.exe command (I use a shortcut to run mine)
  2. Click "Open web UI" via the tray
  3. Close the browser window/tab that opens
  4. Click "Open web UI" via the tray
  5. Nothing happens

Log attached, but it didn't seem useful. nzbhydra-debuginfos-2024-05-26-00-07.zip

theotherp commented 3 months ago

I tried to look into this but can't actually see those problems in the log. I see multiple entries where the browser should've been opened and no error. Could you please reproduce and post new debug infos along with the time of testing so that I can find it in the logs.

DBNinja commented 3 months ago

Clicking on "Open web UI" additional times generated no log entries from what I noticed. I made a few attempts at 8:26 and one at 8:27 before creating the log file, but I don't see them reflected in the log file.

nzbhydra-debuginfos-2024-06-09-08-27.zip

theotherp commented 3 months ago

You're trying to run hydra in the folder C:\\Users\\Remy\\Downloads\\nzbhydra2-2.10.2-windows? The log indicates another instance of hydra is already running and blocking the database. I guess something is wonky. Shut down hydra and make sure no instance of the file core.exe is running.

DBNinja commented 3 months ago

That was likely because I accidentally opened it up twice. Just opened it up fresh this time with several attempts at 00:22 and at least one at 00:23. I noticed that the wrapper.log doesn't seem to be showing anything other than the first successful attempt and shows no information about the subsequent attempts to click on it (it being the Open web UI button).

nzbhydra-debuginfos-2024-06-11-00-23.zip

theotherp commented 3 months ago

Can you shut down or restart hydra via context menu? Perhaps the whole process is frozen or something. It should log Opening URL http://172.23.176.1:5076/ every time you click the context menu entry.

DBNinja commented 3 months ago

Shutdown and restart buttons still work. If I restart, the Open web UI button still does nothing.

I guess no one else is encountering this?