Bug 55775 - VeyonConnectionError: No response from WebAPI Server
VeyonConnectionError: No response from WebAPI Server
Status: NEW
Product: UCS@school
Classification: Unclassified
Component: Veyon
UCS@school 4.4
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS@school maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-03-02 13:29 CET by Mika Westphal
Modified: 2024-04-19 10:23 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 5: Major Usability: Impairs usability in key scenarios
Who will be affected by this bug?: 2: Will only affect a few installed domains
How will those affected feel about the bug?: 3: A User would likely not purchase the product
User Pain: 0.171
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2023030221000248, 2023030221000221, 2023030921000351, 2023081021000349, 2023092221000281, 2024041821000143, 2024041721000163, 2024040521000051
Bug group (optional): Error handling, External feedback
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mika Westphal univentionstaff 2023-03-02 13:29:24 CET
Version: 4.4-9 errata1371 (Blumenthal) - UCS@school 4.4 v9

Error:
Rechner in den Computerräumen können momentan nicht ferngesteuert werden, da der zugehörige Service nicht verfügbar ist. Das System wird versuchen den Service neu zu starten, bitte
probieren Sie es in wenigen Augenblicken noch einmal. Falls das Problem bestehen bleibt, kontaktieren Sie bitte den Systemadministrator.
Request: room_acquire

Traceback (most recent call last):
  File "%PY2.7%/univention/management/console/modules/computerroom/room_management.py", line 845, in _test_veyon_backend_connection
    self.veyon_client.test_connection()
  File "%PY2.7%/ucsschool/veyon_client/client.py", line 169, in test_connection
    raise VeyonConnectionError("No response from WebAPI Server ({}).".format(self._url))
VeyonConnectionError: No response from WebAPI Server (http://localhost:11080/api/v1).

Role: domaincontroller_slave
Comment 1 Daniel Tröder univentionstaff 2023-03-03 09:11:51 CET
Sounds like the Veyon proxy app server crashed. Have you tried to restart it?
Please make sure it's updated to the lastest version.
Comment 2 Mika Westphal univentionstaff 2023-09-25 10:12:23 CEST
2023092221000281  5.2-0 errata713  Computerraum Modul öffnen - Veyon app ist nicht installiert.
 2023081021000349  5.0-4 errata771 - UCS@school 5.0 v4

Rechner in den Computerräumen können momentan nicht ferngesteuert werden, da der zugehörige Service nicht verfügbar ist. Das System wird versuchen den Service neu zu starten, bitte probieren Sie es in wenigen Augenblicken noch einmal. Falls das Problem bestehen bleibt, kontaktieren Sie bitte den Systemadministrator.
Request: room_acquire

Traceback (most recent call last):
  File "%PY3%/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "%PY3%/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "%PY3%/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Verbindungsaufbau abgelehnt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/urllib3/connectionpool.py", line 704, in urlopen
    httplib_response = self._make_request(
                       ^^^^^^^^^^^^^^^^^^^
  File "%PY3%/urllib3/connectionpool.py", line 399, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "%PY3%/urllib3/connection.py", line 239, in request
    super(HTTPConnection, self).request(method, url, body=body, headers=headers)
  File "/usr/lib/python3.11/http/client.py", line 1282, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1328, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1277, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.11/http/client.py", line 1037, in _send_output
    self.send(msg)
  File "/usr/lib/python3.11/http/client.py", line 975, in send
    self.connect()
  File "%PY3%/urllib3/connection.py", line 205, in connect
    conn = self._new_conn()
           ^^^^^^^^^^^^^^^^
  File "%PY3%/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f0e602a3910>: Failed to establish a new connection: [Errno 111] Verbindungsaufbau abgelehnt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
           ^^^^^^^^^^^^^
  File "%PY3%/urllib3/connectionpool.py", line 788, in urlopen
    retries = retries.increment(
              ^^^^^^^^^^^^^^^^^^
  File "%PY3%/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=11080): Max retries exceeded with url: /api/v1/feature (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0e602a3910>: Failed to establish a new connection: [Errno 111] Verbindungsaufbau abgelehnt'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/ucsschool/veyon_client/client.py", line 165, in test_connection
    requests.head("{}/feature".format(self._url), timeout=self._ping_timeout)
  File "%PY3%/requests/api.py", line 100, in head
    return request("head", url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "%PY3%/requests/api.py", line 59, in request
    return session.request(method=method, url=url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "%PY3%/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "%PY3%/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "%PY3%/requests/adapters.py", line 565, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=11080): Max retries exceeded with url: /api/v1/feature (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f0e602a3910>: Failed to establish a new connection: [Errno 111] Verbindungsaufbau abgelehnt'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/management/console/modules/computerroom/__init__.py", line 406, in _room_acquire
    self._computerroom.veyon_client.test_connection()
  File "%PY3%/ucsschool/veyon_client/client.py", line 167, in test_connection
    raise VeyonConnectionError("No response from WebAPI Server ({}).".format(self._url))
ucsschool.veyon_client.models.VeyonConnectionError: No response from WebAPI Server (http://localhost:11080/api/v1).
Comment 4 Mika Westphal univentionstaff 2024-04-19 10:03:35 CEST
Version: 5.0-7 errata1018 - UCS@school 5.0 v5

Remark: Die Kontrolle der Computerräume ist nicht möglich. Nach der Auswahl des Raumes kommt direkt die Fehlermeldung im Anhang.

Error:
Rechner in den Computerräumen können momentan nicht ferngesteuert werden, da der zugehörige Service nicht verfügbar ist. Das System wird versuchen den Service neu zu starten, bitte
probieren Sie es in wenigen Augenblicken noch einmal. Falls das Problem bestehen bleibt, kontaktieren Sie bitte den Systemadministrator.
Request: room_acquire

Traceback (most recent call last):
  File "%PY3%/urllib3/connection.py", line 162, in _new_conn
    (self._dns_host, self.port), self.timeout, **extra_kw)
  File "%PY3%/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "%PY3%/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Verbindungsaufbau abgelehnt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/urllib3/connectionpool.py", line 601, in urlopen
    chunked=chunked)
  File "%PY3%/urllib3/connectionpool.py", line 355, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3.7/http/client.py", line 1264, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1310, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1259, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/lib/python3.7/http/client.py", line 1034, in _send_output
    self.send(msg)
  File "/usr/lib/python3.7/http/client.py", line 974, in send
    self.connect()
  File "%PY3%/urllib3/connection.py", line 184, in connect
    conn = self._new_conn()
  File "%PY3%/urllib3/connection.py", line 171, in _new_conn
    self, "Failed to establish a new connection: %s" % e)
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f2ed57bf978>: Failed to establish a new connection: [Errno 111] Verbindungsaufbau abgelehnt

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/requests/adapters.py", line 449, in send
    timeout=timeout
  File "%PY3%/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "%PY3%/urllib3/util/retry.py", line 399, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=11080): Max retries exceeded with url: /api/v1/feature (Caused by
NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2ed57bf978>: Failed to establish a new connection: [Errno 111] Verbindungsaufbau abgelehnt'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/ucsschool/veyon_client/client.py", line 165, in test_connection
    requests.head("{}/feature".format(self._url), timeout=self._ping_timeout)
  File "%PY3%/requests/api.py", line 101, in head
    return request('head', url, **kwargs)
  File "%PY3%/requests/api.py", line 60, in request
    return session.request(method=method, url=url, **kwargs)
  File "%PY3%/requests/sessions.py", line 535, in request
    resp = self.send(prep, **send_kwargs)
  File "%PY3%/requests/sessions.py", line 648, in send
    r = adapter.send(request, **kwargs)
  File "%PY3%/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=11080): Max retries exceeded with url: /api/v1/feature (Caused by
NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2ed57bf978>: Failed to establish a new connection: [Errno 111] Verbindungsaufbau abgelehnt'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "%PY3%/univention/management/console/modules/computerroom/__init__.py", line 406, in _room_acquire
    self._computerroom.veyon_client.test_connection()
  File "%PY3%/ucsschool/veyon_client/client.py", line 167, in test_connection
    raise VeyonConnectionError("No response from WebAPI Server ({}).".format(self._url))
ucsschool.veyon_client.models.VeyonConnectionError: No response from WebAPI Server (http://localhost:11080/api/v1).

Role: domaincontroller_master
Comment 5 Mika Westphal univentionstaff 2024-04-19 10:08:55 CEST
(In reply to Mika Westphal from comment #4)
Same error
Version: 5.0-7 errata1023 - UCS@school 5.0 v5
Role: domaincontroller_slave
Comment 6 Mika Westphal univentionstaff 2024-04-19 10:23:33 CEST
2024040521000051
Version: 5.0-6 errata1009 - UCS@school 5.0 v4
Role: domaincontroller_slave