NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
22.5k stars 2.61k forks source link

Using aliyunDns to verify the domain name to apply for an ssl certificate failed #3142

Open sanduo-656 opened 1 year ago

sanduo-656 commented 1 year ago

Checklist

Describe the bug

When applying for an SSL certificate using Alibaba Cloud dns verification, the system reports an error saying socket.timeout: The read operation timed out. I have confirmed that my network is normal. I tried installing this file manually via pip, the problem persists.The following is the detailed error message:

[8/18/2023] [9:20:46 AM] [Nginx ] › ℹ info Reloading Nginx [8/18/2023] [9:20:46 AM] [Express ] › ⚠ warning Command failed: . /opt/certbot/bin/activate && pip install --no-cache-dir --user certbot-dns-aliyun~=0.38.1 && deactivate ERROR: Exception: Traceback (most recent call last): File "/opt/certbot/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher yield File "/opt/certbot/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 561, in read data = self._fp_read(amt) if not fp_closed else b"" File "/opt/certbot/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 527, in _fp_read return self._fp.read(amt) if amt is not None else self._fp.read() File "/usr/lib/python3.7/http/client.py", line 461, in read n = self.readinto(b) File "/usr/lib/python3.7/http/client.py", line 505, in readinto n = self.fp.readinto(b) File "/usr/lib/python3.7/socket.py", line 589, in readinto return self._sock.recv_into(b) File "/usr/lib/python3.7/ssl.py", line 1052, in recv_into return self.read(nbytes, buffer) File "/usr/lib/python3.7/ssl.py", line 911, in read return self._sslobj.read(len, buffer) socket.timeout: The read operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/opt/certbot/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper status = run_func(*args) File "/opt/certbot/lib/python3.7/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper return func(self, options, args) File "/opt/certbot/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 378, in run reqs, check_supported_wheels=not options.target_dir File "/opt/certbot/lib/python3.7/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 93, in resolve collected.requirements, max_rounds=limit_how_complex_resolution_can_be

File "/opt/certbot/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 587, in read raise IncompleteRead(self._fp_bytes_read, self.length_remaining) File "/usr/lib/python3.7/contextlib.py", line 130, in exit self.gen.throw(type, value, traceback) File "/opt/certbot/lib/python3.7/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher raise ReadTimeoutError(self._pool, None, "Read timed out.") pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.

[notice] A new release of pip is available: 23.1.2 -> 23.2.1 [notice] To update, run: pip install --upgrade pip

Nginx Proxy Manager Version

Both 2.10.3 and 2.10.4 have this problem

Screenshots

image

Operating System

CentOS 7.9 docker version 23.0.4

Additional context

github-actions[bot] commented 6 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1:

qwe77889 commented 2 months ago

I also used Alibaba domain name DNS resolution and encountered the same error It hasn't been resolved yet

ykrank commented 1 month ago

Pip default timeout time is 15s, this is too short for some network.