mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #2439] Unable to check for site reachability/create SSLs on Debian 11 #1712
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#1712
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 @dnburgess on GitHub (Nov 29, 2022).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/2439
Checklist
jc21/nginx-proxy-manager:latestdocker image? YesDescribe the bug
When trying to "Test Server Reachability", I get the following error on the dashboard:
Communication with the API failed, is NPM running correctly?
When looking into the container logs, I get this error:
QueryBuilder#allowEagermethod is deprecated. You should useallowGraphinstead.allowEagermethod will be removed in 3.0QueryBuilder#eagermethod is deprecated. You should use thewithGraphFetchedmethod instead.eagermethod will be removed in 3.0QueryBuilder#omit is deprecated. This method will be removed in version 3.0
Model#$omit is deprected and will be removed in 3.0.
[11/29/2022] [4:59:56 PM] [SSL ] › ℹ info Testing http challenge for pics.mysite.com
Uncaught SyntaxError: Unexpected end of JSON input
FROM
./run: line 19: 331 Trace/breakpoint trap (core dumped) node --abort_on_uncaught_exception --max_old_space_size=250 index.js
Nginx Proxy Manager Version
v2.9.19
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect it to tell me whether or not it can reach the domain so I can generate the SSL.
This has only started happening recently
Operating System
Debian 11 on Linode
Additional context
I've also tried downgrading as far down as 2.9.15 just to troubleshoot. I'm able to use the sites that were up prior to the issues starting, but I'm unable to add any additional SSLs, which prevents me from adding more domains.
@danny6167 commented on GitHub (Nov 29, 2022):
Also getting hit by this.
The code is calling an external API here, and when that API fails and returns a non-json formated response the process crashes as the exception isn't handled.
github.com/NginxProxyManager/nginx-proxy-manager@fd30cfe98b/backend/internal/certificate.js (L1169)@dnburgess commented on GitHub (Nov 29, 2022):
Turns out that I'm still able to pull SSLs, but not able to see if the domain is reachable. Not sure about much else at this point...
@TEALC82 commented on GitHub (Nov 30, 2022):
Hello I have the same problem. I reinstalled everything but no change.
@javierhuerta commented on GitHub (Dec 1, 2022):
Hello i have the same problem.
@tgaertner commented on GitHub (Jan 10, 2023):
Same problem, installed NPM yesterday on my server. Can't even create my first ssl cert - this makes this software quite useless...
@danny6167 commented on GitHub (Jan 10, 2023):
The site reachability test fails, but the actual SSL certificate issuing should work fine.
@tgaertner commented on GitHub (Jan 10, 2023):
@danny6167 Yea! You are right. Never tried it before since the check failed :-) Finally I have ssl available for my domains. Thanks for this hint. Saved my day :-)
@fritzmg commented on GitHub (Apr 5, 2023):
Yep, can confirm that as well.
@FroggMaster commented on GitHub (Apr 6, 2023):
I can confirm that I encounter the same error: "Communication with the API failed, is NPM running correctly?" with the "Test Server Reachability" on the latest build 2.10.2.
I am wondering if @jc21 requires any additional information for troubleshooting to correct this. If I can provide anything that might help I'll be happy to do so! :)
@etymotic commented on GitHub (Sep 4, 2023):
If anyone wants to give this a try:
My setup is NPM docker running on the same virtual machine as all of my other docker stuff. I use AdGueard Home, with a DNS rewrite of *.mydomain.com - > Local IP of NPM. I figured there was probably some sort of problem of NPM trying to reach stuff but just getting redirected and never leaving my LAN...
So I set up wireguard in the virtual machine that runs all of my docker stuff. I have a subscription to AirVPN and used their config generator. With the VPN connected, I'm able to add/renew certificates.
My guess is that the VPN forces traffic to leave my LAN, which helps things renew properly. Either that, or it just randomly started working while I was messing around with it.
@github-actions[bot] commented on GitHub (Apr 22, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@arsenicks commented on GitHub (May 13, 2024):
Adding the ability to use a custom dns server for the test would probably be the easiest fix for this. I think a lot of people are using a local dns server that resolv to local ip. If the prompt would let us set an external dns server to use, that would fix the issue.
@danny6167 commented on GitHub (May 13, 2024):
The test that is failing in this issue report is not DNS based.
That would be an entirely different type of test and wouldn't actually test reachability.
@github-actions[bot] commented on GitHub (Jan 20, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍
@theking2 commented on GitHub (Feb 16, 2025):
Let's encrypt reachability is done over port 80. So you
In my case
In short from extern to intern
The intermediate port is not relevant but make sure that in effect the wan:80 port is mapped to the internal:80 port of the docker.
@Silicon51 commented on GitHub (May 21, 2025):
So, there's a chance that you have my case: both piHole and NPM as docker containers.
Due to some weird behavior of DNS resolver NPM container do not have access to internet so cannot request for cert.
For me it log errors like
Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/cloudflare/Also I have error
Failed to check the reachability due to a communication error with site24x7.com nginx proxywhen in version 2.12.3 I use option "Test Server Reachability" from tab SSL Certificates.How to solve it?
add following to your NPM docker compose:
@github-actions[bot] commented on GitHub (Dec 2, 2025):
Issue is now considered stale. If you want to keep it open, please comment 👍