Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
======================================================================
ERROR: test_server_not_found (tests.http_tests.TestHttpStatus)
Test server not found exception.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/runner/work/pywikibot/pywikibot/tests/http_tests.py", line
142, in test_server_not_found
http.fetch('http://ru-sib.wikipedia.org/w/api.php',
File "/home/runner/work/pywikibot/pywikibot/pywikibot/comms/http.py",
line 510, in fetch
callback(response)
File "/home/runner/work/pywikibot/pywikibot/pywikibot/comms/http.py",
line 390, in error_handling_callback
raise response from None
File "/home/runner/work/pywikibot/pywikibot/pywikibot/comms/http.py",
line 500, in fetch
response = session.request(method, uri,
File
"/opt/hostedtoolcache/PyPy/3.9.19/x64/lib/pypy3.9/site-packages/requests/sessions.py",
line 589, in request
resp = self.send(prep, **send_kwargs)
File
"/opt/hostedtoolcache/PyPy/3.9.19/x64/lib/pypy3.9/site-packages/requests/sessions.py",
line 703, in send
r = adapter.send(request, **kwargs)
File
"/opt/hostedtoolcache/PyPy/3.9.19/x64/lib/pypy3.9/site-packages/requests/adapters.py",
line 677, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError:
SOCKSHTTPConnectionPool(host='ru-sib.wikipedia.org', port=80): Max retries
exceeded with url: /w/api.php (Caused by
NewConnectionError("SOCKSConnection(host='ru-sib.wikipedia.org', port=80):
Failed to establish a new connection: Connection closed unexpectedly"))
----------------------------------------------------------------------
They pass locally. Probably a requests issue?
TASK DETAIL
https://phabricator.wikimedia.org/T430263
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]