mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #1545] Knex: Timeout acquiring a connection. #1175
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#1175
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 @TheSamDickey on GitHub (Nov 2, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/1545
Checklist
jc21/nginx-proxy-manager:latestdocker image?Hello! I was doing my regular docker updates, and updated using the
:latesttag. After updating, I have been unable to log into the admin panel.In the admin panel, there is red text that says:
Bad Gateway.The docker logs have this:
I found a thread that seems to have solved the same issue. It might be relevant with solving the bug, although I haven't ever looked at the code for this project to know if it's useful or not.
Nginx Proxy Manager Version
v2.9.11
Other information
The database I'm using is
jc21/mariadb-aria:latest. There are no errors in the log of the database. It is up to date as of the time of writing this.Please let me know if there is any other information I can provide, and thank you to anyone who helps!
@chaptergy commented on GitHub (Nov 2, 2021):
Hm, it seems this knex issue occures mostly with the
pgpackage. Thepgpackage is indeed installed, though I'm not sure why as it shouldn't be used. You could connect into the container and runyarn remove pg, and see if that fixes your issue.@TheSamDickey commented on GitHub (Nov 3, 2021):
@chaptergy I tried that with no luck unfortunately.
Below is a little more information about the request that returns
502 Bad GatewayGeneral:
Response Headers:
Request Headers:
Request Payload:
@Ecalose commented on GitHub (Nov 4, 2021):
I also did have the problem,even I reinstall it
@chaptergy commented on GitHub (Nov 4, 2021):
How have you configured the connection to the database? Via environment variables? or a config file?
@TheSamDickey commented on GitHub (Nov 5, 2021):
@Ecalose I've already had to wipe and set it all up before, it seems very unstable if that's the only solution again. It seems like there has to be a better solution.
@chaptergy It is set up using environment variables. Do you have any thoughts of what might be going wrong?
@chaptergy commented on GitHub (Nov 5, 2021):
Hm, I really don't, it seems everything you can find online either has to do with
pgbeing the wrong version (which it does not seem to be if you have removedpg) or with SQLite if there are way to many requests queuing up@TheSamDickey commented on GitHub (Nov 5, 2021):
I appreciate the help! I can't find anything either. For now, I'm going to set up a second instance with a new database so I can get my sites back online.
I'll keep the old instance ready to spin up. If someone else runs into the same problem, we can use this thread to continue troubleshooting.
@AiPacino commented on GitHub (Nov 14, 2021):
+1
@paulhendricksen commented on GitHub (Nov 28, 2021):
Hi everyone. I just did a fresh install, logged in, change the username and password for the default login. Knowing full well not to stack all my eggs in one basket, I decided to reboot the server as if I was doing a system-wide update. The docker container spun up but upon login, I wasn't able to get in with my new login and password nor the default. Some suggestions was firewalls, I am running the minimal server install and have not installed ufw yet.
I errors I see streaming when follow the logs are:
[11/27/2021] [11:48:18 PM] [Global ] › ✖ error getaddrinfo EAI_AGAIN dbI am not quite sure what is going on, either. I have a fresh install of Ubuntu 20.10, docker, compose installed and the instance was running fine until after reboot.
Because my setup is not very important, I will hold what I have to assist in the troubleshooting.
Compose was:
@github-actions[bot] commented on GitHub (Mar 2, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (Apr 15, 2025):
Issue was closed due to inactivity.