Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aliyun-SSL-Error #315

Open
zhouxiaoxing91 opened this issue Jan 11, 2024 · 2 comments
Open

Aliyun-SSL-Error #315

zhouxiaoxing91 opened this issue Jan 11, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@zhouxiaoxing91
Copy link

Current Behavior

I just set up a npm docker instance, and then tried to create a ssl certificate for my aliyun domain

then

ssl_aliyun ssl_aliyun_error

Expected Behavior

I can create my SSL successfully for my aliyun domain without errors.

Steps To Reproduce

No response

Environment

  • OS: linux/openwrt
  • OS version: Linux iStoreOS 5.10.176 #0 SMP PREEMPT Fri Dec 29 07:18:08 2023 aarch64 GNU/Linux
  • CPU: aarch64
  • Docker version: Server Version: 20.10.22
  • Device model: r2s
  • Browser/OS: chrome

Container creation

ersion: '3'
services:
nginx-proxy-manager:
image: jlesage/nginx-proxy-manager:v23.12.2
restart: unless-stopped
environment:
- TZ=Asia/Shanghai
ports:
- "8181:8181"
- "8080:8080"
- "4443:4443"
volumes:
- "/mnt/mmc0-4/npm/config:/config:rw"

Container log

Error: Command failed: pip install --no-cache-dir certbot-dns-aliyun~=0.38.1 
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /simple/certbot-dns-aliyun/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /simple/certbot-dns-aliyun/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /simple/certbot-dns-aliyun/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /simple/certbot-dns-aliyun/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')': /simple/certbot-dns-aliyun/
ERROR: Could not find a version that satisfies the requirement certbot-dns-aliyun~=0.38.1 (from versions: none)
ERROR: No matching distribution found for certbot-dns-aliyun~=0.38.1

    at ChildProcess.exithandler (node:child_process:402:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1100:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)

Container inspect

No response

Anything else?

No response

@zhouxiaoxing91 zhouxiaoxing91 added the bug Something isn't working label Jan 11, 2024
@zhouxiaoxing91
Copy link
Author

I also tried to download the packge and install manually, but failed.

The result shows that:

bash-5.1# ls
certbot-dns-aliyun-2.0.0         certbot-dns-aliyun-2.0.0.tar.gz
bash-5.1# cd certbot-dns-aliyun-2.0.0
bash-5.1# python3 setup.py install
running install
/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py:66: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  self.initialize_options()
running bdist_egg
running egg_info
writing certbot_dns_aliyun.egg-info/PKG-INFO
writing dependency_links to certbot_dns_aliyun.egg-info/dependency_links.txt
writing entry points to certbot_dns_aliyun.egg-info/entry_points.txt
writing requirements to certbot_dns_aliyun.egg-info/requires.txt
writing top-level names to certbot_dns_aliyun.egg-info/top_level.txt
reading manifest file 'certbot_dns_aliyun.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'README.rst'
adding license file 'LICENSE.txt'
writing manifest file 'certbot_dns_aliyun.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-aarch64/egg
running install_lib
running build_py
copying certbot_dns_aliyun.egg-info/PKG-INFO -> build/bdist.linux-aarch64/egg/EGG-INFO
copying certbot_dns_aliyun.egg-info/SOURCES.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying certbot_dns_aliyun.egg-info/dependency_links.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying certbot_dns_aliyun.egg-info/entry_points.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying certbot_dns_aliyun.egg-info/requires.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying certbot_dns_aliyun.egg-info/top_level.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/certbot_dns_aliyun-2.0.0-py3.10.egg' and adding 'build/bdist.linux-aarch64/egg' to it
Traceback (most recent call last):
  File "/tmp/certbot-dns-aliyun/certbot-dns-aliyun-2.0.0/setup.py", line 23, in <module>
    setup(
  File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 103, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.10/site-packages/setuptools/command/install.py", line 84, in run
    self.do_egg_install()
  File "/usr/lib/python3.10/site-packages/setuptools/command/install.py", line 132, in do_egg_install
    self.run_command('bdist_egg')
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 963, in run_command
    super().run_command(command)
  File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/usr/lib/python3.10/site-packages/setuptools/command/bdist_egg.py", line 224, in run
    make_zipfile(
  File "/usr/lib/python3.10/site-packages/setuptools/command/bdist_egg.py", line 459, in make_zipfile
    visit(z, dirname, files)
  File "/usr/lib/python3.10/site-packages/setuptools/command/bdist_egg.py", line 452, in visit
    z.write(path, p)
  File "/usr/lib/python3.10/zipfile.py", line 1741, in write
    zinfo = ZipInfo.from_file(filename, arcname,
  File "/usr/lib/python3.10/zipfile.py", line 520, in from_file
    zinfo = cls(arcname, date_time)
  File "/usr/lib/python3.10/zipfile.py", line 364, in __init__
    raise ValueError('ZIP does not support timestamps before 1980')
ValueError: ZIP does not support timestamps before 1980

@hds1992012011
Copy link

你好,解决了吗?我也遇到同样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants