Skip to content

TimeoutError: timed out #29

Description

@sal-6

I've configured the following in the system.txt file:

PORT CTS_API 7777
PORT TLMVIEWER_API 7778
PORT CTS_PREIDENTIFIED 7779

When the packet view is opened, values are being updated and the status tab in the command and telemetry server shows it number of requests being incremented, I assume by the packet viewer. When I attempt to perform a 'tlm' call from the python api I get the following error message:

Traceback (most recent call last):
File "C:\Users\XXX\Documents\venv\lib\site-packages\ballcosmos\connection.py", line 168, in make_request
response = self._connection.getresponse()
File "C:\Users\XXX\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 1368, in getresponse
response.begin()
File "C:\Users\XXX\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 317, in begin
version, status, reason = self._read_status()
File "C:\Users\XXX\AppData\Local\Programs\Python\Python310\lib\http\client.py", line 278, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "C:\Users\XXX\AppData\Local\Programs\Python\Python310\lib\socket.py", line 705, in readinto
return self._sock.recv_into(b)
TimeoutError: timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\XXX\Documents\ball_cosmos.py", line 7, in
tlm("UUT PAYLOAD LAT_DEC")
File "C:\Users\XXX\Documents\venv\lib\site-packages\ballcosmos\telemetry.py", line 27, in tlm
return ballcosmos.CTS.write("tlm", *args)
File "C:\Users\XXX\Documents\venv\lib\site-packages\ballcosmos\connection.py", line 99, in write
response = self.make_request(request, first_try)
File "C:\Users\XXX\Documents\venv\lib\site-packages\ballcosmos\connection.py", line 179, in make_request
raise ConnectionError(
ballcosmos.connection.ConnectionError: failed to make request: {'method': 'POST', 'url': '/', 'body': '{"jsonrpc": "2.0", "method": "tlm", "params": ["CUBE PAYLOAD LAT_DEC"], "id": 1}', 'headers': {'Content-Type': 'application/json-rpc', 'X_CSRF_TOKEN': 'SuperSecret'}}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions