You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
after a flawless working install i started having problems a few weeks ago with adding new proxy hosts getting the "internal error" popup. i ignored it. then i noticed others reporting it, so wondering if this is related to #396.
after trying clean installs (blow away all images, containers and config) and even installing older images from a month or so ago still can't avoid the dreaded "internal error"
the one variable has been the addition of a pihole on my network. but i've removed that entirely and reset the DNS pointer on my router and still same behavior.
this -looks- like a connectivity error and normally i would not file a bug report, but nothing has changed on my setup (except the pihole which i removed). if it obviously is please close and i'll continue troubleshooting.
Describe the bug
adding a proxy host (force SSL, get a new cert from lets encrypt) results in "internal error" popup box
v2.2.3 nginxproxymanager
To Reproduce
Steps to reproduce the behavior:
Go to admin
Click on 'hosts' 'proxy hosts' 'add proxy host'
Enter domain name, http, ip, port (proxy.domain.com, 192.168.1.85, 81) <- lets strt with the proxy admin itself
click 'SSL' tab
'click SSL cert 'request new with let's encrypt'
chechk 'force SSL' and 'i agree' and enter your email and 'save'
30 seconds wait and 'Internal Error' box pops up.
[5/19/2020] [3:18:09 PM] [Nginx ] › ℹ info Reloading Nginx
[5/19/2020] [3:18:09 PM] [SSL ] › ℹ info Requesting Let'sEncrypt certificates for Cert #1: proxy.bitsandatoms.net
[5/19/2020] [3:18:14 PM] [Nginx ] › ℹ info Reloading Nginx
[5/19/2020] [3:18:14 PM] [Express ] › ⚠ warning Command failed: /usr/bin/certbot certonly --non-interactive --config "/etc/letsencrypt.ini" --cert-name "npm-1" --agree-tos --email "[email protected]" --preferred-challenges "dns,http" --webroot --domains "proxy.bitsandatoms.net"
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator webroot, Installer None
An unexpected error occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 156, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 665, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 334, in connect
conn = self._new_conn()
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 168, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fbc604bfb20>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 719, in urlopen
retries = retries.increment(
File "/usr/lib/python3.8/site-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fbc604bfb20>: Failed to establish a new connection: [Errno -3] Try again'))
During handling of the above exception, another exception occurred:
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fbc604bfb20>: Failed to establish a new connection: [Errno -3] Try again'))
Please see the logfiles in /var/log/letsencrypt for more details.
/var/log/letsencrypt.log
2020-05-19 15:40:02,609:DEBUG:certbot._internal.main:certbot version: 1.0.0
2020-05-19 15:40:02,609:DEBUG:certbot._internal.main:Arguments: ['--non-interactive', '--config', '/etc/letsencrypt.ini', '--cert-name', 'npm-2', '--agree-tos', '--email', '[email protected]', '--preferred-challenges', 'dns,http', '--webroot', '--domains', 'proxy.bitsandatoms.net']
2020-05-19 15:40:02,609:DEBUG:certbot._internal.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
2020-05-19 15:40:02,623:DEBUG:certbot._internal.log:Root logging level set at 20
2020-05-19 15:40:02,623:INFO:certbot._internal.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2020-05-19 15:40:02,624:DEBUG:certbot._internal.plugins.selection:Requested authenticator webroot and installer None
2020-05-19 15:40:02,627:DEBUG:certbot._internal.plugins.selection:Single candidate plugin: * webroot
Description: Place files in webroot directory
Interfaces: IAuthenticator, IPlugin
Entry point: webroot = certbot._internal.plugins.webroot:Authenticator
Initialized: <certbot._internal.plugins.webroot.Authenticator object at 0x7fbe07c22af0>
Prep: True
2020-05-19 15:40:02,627:DEBUG:certbot._internal.plugins.selection:Selected authenticator <certbot._internal.plugins.webroot.Authenticator object at 0x7fbe07c22af0> and installer None
2020-05-19 15:40:02,628:INFO:certbot._internal.plugins.selection:Plugins selected: Authenticator webroot, Installer None
2020-05-19 15:40:02,667:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
2020-05-19 15:40:02,668:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org:443
2020-05-19 15:40:07,674:DEBUG:certbot._internal.log:Exiting abnormally:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 156, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 61, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.8/socket.py", line 918, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 665, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 376, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 994, in _validate_conn
conn.connect()
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 334, in connect
conn = self._new_conn()
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 168, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fbe07c1a9a0>: Failed to establish a new connection: [Errno -3] Try again
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 719, in urlopen
retries = retries.increment(
File "/usr/lib/python3.8/site-packages/urllib3/util/retry.py", line 436, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fbe07c1a9a0>: Failed to establish a new connection: [Errno -3] Try again'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/certbot", line 11, in <module>
load_entry_point('certbot==1.0.0', 'console_scripts', 'certbot')()
File "/usr/lib/python3.8/site-packages/certbot/main.py", line 14, in main
return internal_main.main(cli_args)
File "/usr/lib/python3.8/site-packages/certbot/_internal/main.py", line 1350, in main
return config.func(config, plugins)
File "/usr/lib/python3.8/site-packages/certbot/_internal/main.py", line 1221, in certonly
le_client = _init_le_client(config, auth, installer)
File "/usr/lib/python3.8/site-packages/certbot/_internal/main.py", line 607, in _init_le_client
acc, acme = _determine_account(config)
File "/usr/lib/python3.8/site-packages/certbot/_internal/main.py", line 522, in _determine_account
acc, acme = client.register(
File "/usr/lib/python3.8/site-packages/certbot/_internal/client.py", line 175, in register
acme = acme_from_config_key(config, key)
File "/usr/lib/python3.8/site-packages/certbot/_internal/client.py", line 45, in acme_from_config_key
return acme_client.BackwardsCompatibleClientV2(net, key, config.server)
File "/usr/lib/python3.8/site-packages/acme/client.py", line 827, in __init__
directory = messages.Directory.from_json(net.get(server).json())
File "/usr/lib/python3.8/site-packages/acme/client.py", line 1158, in get
self._send_request('GET', url, **kwargs), content_type=content_type)
File "/usr/lib/python3.8/site-packages/acme/client.py", line 1107, in _send_request
response = self.session.request(method, url, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
File "/usr/lib/python3.8/site-packages/certbot/main.py", line 14, in main
return internal_main.main(cli_args)
File "/usr/lib/python3.8/site-packages/certbot/_internal/main.py", line 1350, in main
return config.func(config, plugins)
File "/usr/lib/python3.8/site-packages/certbot/_internal/main.py", line 1221, in certonly
le_client = _init_le_client(config, auth, installer)
File "/usr/lib/python3.8/site-packages/certbot/_internal/main.py", line 607, in _init_le_client
acc, acme = _determine_account(config)
File "/usr/lib/python3.8/site-packages/certbot/_internal/main.py", line 522, in _determine_account
acc, acme = client.register(
File "/usr/lib/python3.8/site-packages/certbot/_internal/client.py", line 175, in register
acme = acme_from_config_key(config, key)
File "/usr/lib/python3.8/site-packages/certbot/_internal/client.py", line 45, in acme_from_config_key
return acme_client.BackwardsCompatibleClientV2(net, key, config.server)
File "/usr/lib/python3.8/site-packages/acme/client.py", line 827, in __init__
directory = messages.Directory.from_json(net.get(server).json())
File "/usr/lib/python3.8/site-packages/acme/client.py", line 1158, in get
self._send_request('GET', url, **kwargs), content_type=content_type)
File "/usr/lib/python3.8/site-packages/acme/client.py", line 1107, in _send_request
response = self.session.request(method, url, *args, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='acme-v02.api.letsencrypt.org', port=443): Max retries exceeded with url: /directory (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fbe07c1a9a0>: Failed to establish a new connection: [Errno -3] Try again'))
2020-05-19 15:40:07,677:ERROR:certbot._internal.log:An unexpected error occurred:
Operating System
Ubuntu 18.04 server LTS
The text was updated successfully, but these errors were encountered:
after a flawless working install i started having problems a few weeks ago with adding new proxy hosts getting the "internal error" popup. i ignored it. then i noticed others reporting it, so wondering if this is related to #396.
after trying clean installs (blow away all images, containers and config) and even installing older images from a month or so ago still can't avoid the dreaded "internal error"
the one variable has been the addition of a pihole on my network. but i've removed that entirely and reset the DNS pointer on my router and still same behavior.
this -looks- like a connectivity error and normally i would not file a bug report, but nothing has changed on my setup (except the pihole which i removed). if it obviously is please close and i'll continue troubleshooting.
Describe the bug
To Reproduce
Steps to reproduce the behavior:
/var/log/letsencrypt.log
Operating System
The text was updated successfully, but these errors were encountered: