-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash after restarting Tribler #8090
Comments
I found a workaround that doesn't require me to delete my configuration every time: setting |
i still get the same error from the git main branch. Traceback (most recent call last):
File "/home/boogie/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 1073, in _wrap_create_connection
sock = await aiohappyeyeballs.start_connection(
File "/home/boogie/.local/lib/python3.10/site-packages/aiohappyeyeballs/impl.py", line 122, in start_connection
raise OSError(first_errno, msg)
ConnectionRefusedError: [Errno 111] Multiple exceptions: [Errno 111] Connect call failed ('::1', 5173, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 5173)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/boogie/src/tribler/src/tribler/core/restapi/rest_manager.py", line 106, in error_middleware
response = await handler(request)
File "/home/boogie/src/tribler/src/tribler/core/restapi/rest_manager.py", line 161, in required_components_middleware
return await handler(request)
File "/home/boogie/.local/lib/python3.10/site-packages/aiohttp/web_middlewares.py", line 114, in impl
return await handler(request)
File "/home/boogie/src/tribler/src/tribler/core/restapi/webui_endpoint.py", line 36, in return_files
async with self.session.get(f'http://localhost:5173/{path}') as response:
File "/home/boogie/.local/lib/python3.10/site-packages/aiohttp/client.py", line 1353, in __aenter__
self._resp = await self._coro
File "/home/boogie/.local/lib/python3.10/site-packages/aiohttp/client.py", line 657, in _request
conn = await self._connector.connect(
File "/home/boogie/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 564, in connect
proto = await self._create_connection(req, traces, timeout)
File "/home/boogie/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 975, in _create_connection
_, proto = await self._create_direct_connection(req, traces, timeout)
File "/home/boogie/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 1350, in _create_direct_connection
raise last_exc
File "/home/boogie/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 1319, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "/home/boogie/.local/lib/python3.10/site-packages/aiohttp/connector.py", line 1088, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host localhost:5173 ssl:default [Multiple exceptions: [Errno 111] Connect call failed ('::1', 5173, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 5173)] |
@hbiyik Thanks for testing! I want to revive Arch support in the next minor It looks like you didn't perform the |
i hadnt done the npm build, but after building the ts still get the same error. May be i should just put some debugger in it. PS: that buildsys should be quite irrelevant now but the ideas might in it might live on. |
If you want to debug this, the following line looks for the tribler/src/tribler/core/restapi/webui_endpoint.py Lines 28 to 29 in 417ce08
The tribler/src/tribler/__init__.py Line 14 in 6b1b640
Normally, this should be looking for |
Starting the second time after starting Tribler with a fresh
configuration.json
, Tribler keeps crashing.The text was updated successfully, but these errors were encountered: