Describe the problem
We have a recurring error in libretime-analyzer and I don’t able to understand it to make any correction. I appreciate any help to repair it. The error is as folows:
---------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 890, in _bootstrap
self._bootstrap_inner()
│ └ <function Thread._bootstrap_inner at 0x7fd2cbbb9dc0>
└ <Thread(Thread-1, started 140543303526144)>
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
│ └ <function Thread.run at 0x7fd2cbbb9af0>
└ <Thread(Thread-1, started 140543303526144)>
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
│ │ │ │ │ └ {}
│ │ │ │ └ <Thread(Thread-1, started 140543303526144)>
│ │ │ └ (<queue.Queue object at 0x7fd2ca763ca0>, PosixPath('retry_queue'))
│ │ └ <Thread(Thread-1, started 140543303526144)>
│ └ <function process_http_requests at 0x7fd2ca7fc310>
└ <Thread(Thread-1, started 140543303526144)>
File "/usr/local/lib/python3.8/dist-packages/libretime_analyzer/status_reporter.py", line 81, in process_http_requests
send_http_request(request, retry_queue)
│ │ └ deque([<libretime_analyzer.status_reporter.PicklableHttpRequest object at 0x7fd2ca359220>, <libretime_analyzer.status_reporte...
│ └ <libretime_analyzer.status_reporter.PicklableHttpRequest object at 0x7fd2ca359490>
└ <function send_http_request at 0x7fd2ca43cdc0>
> File "/usr/local/lib/python3.8/dist-packages/libretime_analyzer/status_reporter.py", line 104, in send_http_request
resp = session.send(
│ └ <function Session.send at 0x7fd2ca3e48b0>
└ <requests.sessions.Session object at 0x7fd2ca362610>
File "/usr/local/lib/python3.8/dist-packages/requests/sessions.py", line 701, in send
r = adapter.send(request, **kwargs)
│ │ │ └ {'timeout': 30, 'stream': False, 'verify': True, 'cert': None, 'proxies': {}}
│ │ └ <PreparedRequest [PUT]>
│ └ <function HTTPAdapter.send at 0x7fd2ca3e2d30>
└ <requests.adapters.HTTPAdapter object at 0x7fd2ca351c10>
File "/usr/local/lib/python3.8/dist-packages/requests/adapters.py", line 565, in send
raise ConnectionError(e, request=request)
│ └ <PreparedRequest [PUT]>
└ <class 'requests.exceptions.ConnectionError'>
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8081): Max retries exceeded with url: //rest/media/120 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fd2ca351130>: Failed to establish a new connection: [Errno 111] Connection refused'))
---------------------------------
LibreTime version
3.0.2 (Updated from 3.0.0)
Operating system: Ubuntu 20.04
Method: Installer script