mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2026-04-25 08:45:58 +03:00
[GH-ISSUE #1463] 2.1.17 => 2.2.1 (After update, no longer possible via nginx-ui web to send requests to /api/config) #7932
Labels
No labels
Q/A
bug
casdoor
dependencies
docker
documentation
duplicate
enhancement
help wanted
invalid
lego
platform:openwrt
platform:windows
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-ui#7932
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dennisoderwald on GitHub (Dec 3, 2025).
Original GitHub issue: https://github.com/0xJacky/nginx-ui/issues/1463
Describe the bug
Since updating to the latest version, I can no longer edit, enable, or disable any pages. The request is constantly pending, and nothing is visible in the debug log. A timeout does not seem to be taking effect.
When I duplicate a new page from an existing one, it works until I try to enable it.
Under “Dashboard” -> “Sites,” it says “No sites found”—but there are 39 sites. Interestingly, under the other node there, a page of 39 is displayed.
Log Output:
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Info (please complete the following information):
Additional context
I use Nginx-UI with the cluster function and also synchronize another node that is on the same version.
@dennisoderwald commented on GitHub (Dec 3, 2025):
I have the feeling that, for whatever reason, the nodes are no longer 100% in sync, regardless of the error. Is there a way to synchronize them completely?
@dennisoderwald commented on GitHub (Dec 3, 2025):
The “Manage Configs” section also loads indefinitely... but only if a previous request was still pending...
@0xJacky commented on GitHub (Dec 3, 2025):
I will try to solve it in the development version tomorrow. Could you please take a screenshot of the F12 network request interface when it shows infinite loading? Also, when synchronizing nodes, use the command "journalctl -f nginx-ui" in the terminal to check the logs.
@dennisoderwald commented on GitHub (Dec 3, 2025):
@0xJacky I just tested it, and although the number in the dashboard is still incorrect in the “dev” branch, saving is working again.
So something between version 2.2.1 and dev definitely solved the main problem with saving for me.
@dennisoderwald commented on GitHub (Dec 3, 2025):
In the other node, I always get the following error:
Node ID 3 is its own
@0xJacky commented on GitHub (Dec 3, 2025):
Thank you for the information you provided. I'll take a look at this issue.
@0xJacky commented on GitHub (Dec 4, 2025):
I'm not quite sure if this issue has been fixed in the previous version. Will it still occur after all the nodes have been upgraded to the dev version?
@0xJacky commented on GitHub (Dec 4, 2025):
Are you sure that when accessing from the main node, the Dashboard of the site shows 0 records?
@dennisoderwald commented on GitHub (Dec 5, 2025):
@0xJacky Sorry for the late reply. Yes, I'm 100% sure.
@0xJacky commented on GitHub (Dec 7, 2025):
Have you tried logging out and then logging in again, or switching to a different browser?
@dennisoderwald commented on GitHub (Dec 7, 2025):
Caching is disabled, but yes, I have tried different browsers and desktop/mobile devices.
@0xJacky commented on GitHub (Dec 7, 2025):
I have attempted to fix this issue. You can update the main node to the latest dev version and see if there are any other problems.
@dennisoderwald commented on GitHub (Dec 7, 2025):
The nodes are set to “dev” (latest version) – the error has now been fixed on the child node. However, the following still appears on both:
@dennisoderwald commented on GitHub (Dec 7, 2025):
I keep stumbling over this:
Found 40 indexed sitesvs.Collected 0 enabled sites for checking@dennisoderwald commented on GitHub (Dec 7, 2025):
GET /api/site_navigation:Response:
@0xJacky commented on GitHub (Dec 7, 2025):
Are the sites on the main node disabled?
@dennisoderwald commented on GitHub (Dec 7, 2025):
No, all sites are actively in sync on both nodes and enabled.
@0xJacky commented on GitHub (Dec 7, 2025):
Please try to update to the latest dev version. I have added some debug logs. You can check the log output after the update. Thank you for your feedback.
@dennisoderwald commented on GitHub (Dec 7, 2025):
And this line repeats itself per page with the same number - but
server_nameis definitely set in sites.domain.net-ssh is an stream not a site
@0xJacky commented on GitHub (Dec 8, 2025):
Could you please provide the content of the "domain.com-app" configuration file? I'd like to check if I can reproduce it locally.
@dennisoderwald commented on GitHub (Dec 8, 2025):
Here an example config:
additional base-header config snippet:
I have only anonymized the fields; the page configurations are largely identical in structure. Under “Proxy Targets,” the upstream is also correctly detected and displayed as online with latency.
@0xJacky commented on GitHub (Dec 8, 2025):
It seems that there is no "listen" statement in the configuration file, so nginx-ui has ignored it.
@dennisoderwald commented on GitHub (Dec 8, 2025):
Sorry for the confusion. I had to talk to a colleague about this first. We have included the listen part in another snippet:
This is also included on every site. There is still an HAProxy in front of nginx/nginx-ui, but that shouldn't affect the problem, as according to the statement in the dashboard, it is based on the
server_name.@0xJacky commented on GitHub (Dec 9, 2025):
This is the currently known limitation. If "listen" is not directly defined, it will be ignored.
@0xJacky commented on GitHub (Dec 9, 2025):
I have added support for the inclusion of the
listendirective within the contents ofincludefiles in the latestdevversion.@dennisoderwald commented on GitHub (Dec 9, 2025):
Thank you @0xJacky -this is, of course, an edge case and does not affect everyone, but for us it leads to the next problem, which I wanted to inform you about... Whether you find a solution for this or even see a need to fix it is up to you:
The problem occurs with wildcard server names and, of course, when the listen port is not the actual public port (in an HAProxy setup like ours).
As a first step, I just wanted to let you know about this. You can decide how to deal with it. :)
@0xJacky commented on GitHub (Dec 10, 2025):
Perhaps in this case, we should add an option to allow users to configure an actual Host:Port for the detection.