Message336203
and I get the same result with the python:3.6.7 image docker
> docker run --rm -v $PWD:/src -it python:3.6.7 python /src/demo.py
Traceback (most recent call last):
File "/usr/local/lib/python3.6/urllib/request.py", line 1318, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
...
File "/usr/local/lib/python3.6/socket.py", line 713, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/demo.py", line 12, in <module>
response = urllib.request.urlopen(req)
...
File "/usr/local/lib/python3.6/urllib/request.py", line 1320, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 111] Connection refused>
I am really sorry but I can't reproduce your issue.
What is your Linux distribution or OS?
Thank you |
|
Date |
User |
Action |
Args |
2019-02-21 10:56:16 | matrixise | set | recipients:
+ matrixise, docs@python, sylye |
2019-02-21 10:56:16 | matrixise | set | messageid: <1550746576.0.0.186883487447.issue36064@roundup.psfhosted.org> |
2019-02-21 10:56:15 | matrixise | link | issue36064 messages |
2019-02-21 10:56:15 | matrixise | create | |
|