[issue39343] Travis CI: documentation job fails in library/nntplib.rst with random network issue on news.gmane.io

Dong-hee Na report at bugs.python.org
Wed Jan 15 08:06:05 EST 2020


Dong-hee Na <donghee.na92 at gmail.com> added the comment:

Same for news.gmane.org

>>> s = nntplib.NNTP('news.gmane.org')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/corona10/oss/cpython/Lib/nntplib.py", line 1045, in __init__
    self.sock = self._create_socket(timeout)
  File "/Users/corona10/oss/cpython/Lib/nntplib.py", line 1062, in _create_socket
    return socket.create_connection((self.host, self.port), timeout)
  File "/Users/corona10/oss/cpython/Lib/socket.py", line 843, in create_connection
    raise err
  File "/Users/corona10/oss/cpython/Lib/socket.py", line 831, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39343>
_______________________________________


More information about the Python-bugs-list mailing list