Skip to content

Error when generating the SSL certificate (no Challenge!) #3250

@javierspn

Description

@javierspn

Checklist

  • Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?
    • Yes
  • Are you sure you're not using someone else's docker image?
    • Yes
  • Have you searched for similar issues (both open and closed)?
    • Yes

Describe the bug

When I try to generate an SSL certificate suing the npm web ui, and I clicke "Test Server reachability", the following message is displayed:
Communication with the API failed, is NPM running correctly?
I must add that I cannot use DNS challenge as one.com is my DNS provider and it has no plugin on the drop down list.

Nginx Proxy Manager Version

v2.10.4

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'SSL Certificates'
  2. Click on 'Add SSL certificate'
  3. Enter ___domain name, in my case: xxx.yyyyy.com
  4. Message is displayed.

Expected behavior

Well to contact the DNS ___domain and generate the SSL certificate obviously.

Screenshots

Operating System

Ubuntu 22.04.3

Additional context

  1. The machine is an Oracle Cloud Instance.
  2. DNS record (A type) is properly registered and replies with the public IP of the Oracle Instance (where it is pointing).
  3. Replication tested with 24x7.com tools.
  4. nslookup executed on the docker host and a remote client, DNS is properly resolved.
  5. Firewall on the machine opened for ports 80/81/443 and 22 for management.
  6. Rules on the OCI cloud (for this machine) open for the ports above too (and tested!).

Log from the container:

bash: line 1: 299 Trace/breakpoint trap (core dumped) node --abort_on_uncaught_exception --max_old_space_size=250 index.js
❯ Starting backend ...
[10/9/2023] [1:59:56 PM] [Global ] › ℹ info Using Sqlite: /data/database.sqlite
[10/9/2023] [1:59:57 PM] [Migrate ] › ℹ info Current database version: none
[10/9/2023] [1:59:57 PM] [Setup ] › ℹ info Logrotate Timer initialized
[10/9/2023] [1:59:57 PM] [Setup ] › ℹ info Logrotate completed.
[10/9/2023] [1:59:57 PM] [IP Ranges] › ℹ info Fetching IP Ranges from online services...
[10/9/2023] [1:59:57 PM] [IP Ranges] › ℹ info Fetching https://ip-ranges.amazonaws.com/ip-ranges.json
[10/9/2023] [1:59:57 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v4
[10/9/2023] [1:59:57 PM] [IP Ranges] › ℹ info Fetching https://www.cloudflare.com/ips-v6
[10/9/2023] [1:59:57 PM] [SSL ] › ℹ info Let's Encrypt Renewal Timer initialized
[10/9/2023] [1:59:57 PM] [SSL ] › ℹ info Renewing SSL certs close to expiry...
[10/9/2023] [1:59:57 PM] [IP Ranges] › ℹ info IP Ranges Renewal Timer initialized
[10/9/2023] [1:59:57 PM] [Global ] › ℹ info Backend PID 329 listening on port 3000 ...
[10/9/2023] [1:59:58 PM] [Nginx ] › ℹ info Reloading Nginx
[10/9/2023] [1:59:58 PM] [SSL ] › ℹ info Renew Complete
[10/9/2023] [2:06:27 PM] [SSL ] › ℹ info Testing http challenge for xxx.yyyyy.com <-- (edited for privacy purposes) by me
Uncaught SyntaxError: Unexpected end of JSON input

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions