Server offline, package and tests don't work anymore

Bug #1986381 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-etelemetry (Debian)
Fix Released
Unknown
python-etelemetry (Ubuntu)
New
Undecided
Unassigned

Bug Description

The server used by python-etelemetry seems to be offline for quite some time now[1]. Even following the README instructions on how to use the package fails now:

$ python3
Python 3.10.6 (main, Aug 10 2022, 11:19:32) [GCC 12.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import etelemetry
>>> etelemetry.get_project("nipy/nipype")
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 704, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 387, in _make_request
    self._validate_conn(conn)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 1043, in _validate_conn
    conn.connect()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 358, in connect
    self.sock = conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 179, in _new_conn
    raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7fcabae630a0>, 'Connection to rig.mit.edu timed out. (connect timeout=5)')

(...)

Tests are also failing in debian[2] and ubuntu[3].

We could skip these tests, as they rely on network, but I don't know what this package can do without that central server being up, i.e., how useful it remains being without that server.

There is a PR[4] to allow custom endpoints, maybe it can help.

1. https://github.com/sensein/etelemetry-client/issues/35
2. https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-etelemetry/24654839/log.gz
3. https://autopkgtest.ubuntu.com/results/autopkgtest-kinetic/kinetic/amd64/p/python-etelemetry/20220812_192355_57dbb@/log.gz
4. https://github.com/sensein/etelemetry-client/pull/39

Changed in python-etelemetry (Debian):
status: Unknown → New
Changed in python-etelemetry (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.