queryNs ECONNREFUSED for SSL Renewal
-
wrote on Jan 29, 2025, 8:22 PM last edited by joseph Jan 30, 2025, 8:21 AM
Hi,
I'm reaching out for assistance with a critical issue on my Cloudron instance running on AWS Lightsail. After several months of inactivity, I've logged back in to find all SSL certificates expired.
While restarting the instance didn't trigger a renewal, I was able to access the Cloudron interface by temporarily changing my system date. However, manual SSL renewal attempts are getting stuck.
The logs consistently show the following error message:
box:dns/waitfordns Attempt 1 failed. Will retry: queryNs ECONNREFUSED sterlingspares.app
This error repeats multiple times daily.To troubleshoot further, I've even opened all ports on the firewall, but the issue persists. I'm at a loss for solutions and would greatly appreciate your help in resolving this matter.
Here's what I've done so far:
- Confirmed all SSL certificates are expired
- Restarted the Cloudron instance (unsuccessful in renewing certificates)
- Accessed Cloudron interface by temporarily changing system date (workaround, not a solution)
- Attempted manual SSL renewal (stuck, not completing)
- Checked Cloudron logs and identified the "queryNs ECONNREFUSED" error
- Opened all firewall ports (no improvement)
What I need help with:
Understanding the cause of the "queryNs ECONNREFUSED" error and how to resolve it
Successfully renewing the expired SSL certificates on my Cloudron instanceI've included relevant details about my setup to expedite the troubleshooting process. Any assistance you can provide would be much appreciated.
-
@vaibhav can you run
cloudron-support --troubleshoot
? More info about it here - https://docs.cloudron.io/troubleshooting/ . Looks like maybe the DNS is not working on the server. -
-
wrote on Jan 30, 2025, 4:21 PM last edited by
Response by running the command:
[OK]node version is correct
[OK]docker is running
[OK]MySQL is running
[OK]nginx is running
[FAIL]Could not load dashboard website with loopback check -
Can you check if basic DNS resolution works ? See https://docs.cloudron.io/troubleshooting/#dns-resolution . Also, are you hosting at home or some private network (these have complications with loopback checks).
-