Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. queryNs ECONNREFUSED for SSL Renewal

queryNs ECONNREFUSED for SSL Renewal

Scheduled Pinned Locked Moved Solved Support
certificates
5 Posts 2 Posters 234 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V Offline
      V Offline
      vaibhav
      wrote on last edited by joseph
      #1

      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 instance

      I've included relevant details about my setup to expedite the troubleshooting process. Any assistance you can provide would be much appreciated.

      1 Reply Last reply
      1
      • J Offline
        J Offline
        joseph
        Staff
        wrote on last edited by
        #2

        @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.

        1 Reply Last reply
        0
        • J joseph marked this topic as a question on
        • V Offline
          V Offline
          vaibhav
          wrote on last edited by
          #3

          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

          1 Reply Last reply
          0
          • V Offline
            V Offline
            vaibhav
            wrote on last edited by
            #4

            @joseph Now what should I do?

            1 Reply Last reply
            0
            • J Offline
              J Offline
              joseph
              Staff
              wrote on last edited by
              #5

              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).

              1 Reply Last reply
              0
              • girishG girish has marked this topic as solved on
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search