Skip to content
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

RuntimeError: Metainfo timeout #7056

Closed
sentry-for-tribler bot opened this issue Sep 20, 2022 · 2 comments · Fixed by #7058
Closed

RuntimeError: Metainfo timeout #7056

sentry-for-tribler bot opened this issue Sep 20, 2022 · 2 comments · Fixed by #7058
Assignees
Milestone

Comments

@sentry-for-tribler
Copy link

Sentry Issue: TRIBLER-PV

RuntimeError: Metainfo timeout
  File "tribler\core\components\restapi\rest\rest_manager.py", line 50, in error_middleware
  File "aiohttp\web_middlewares.py", line 117, in impl
  File "tribler\core\components\metadata_store\restapi\channels_endpoint.py", line 407, in add_torrent_to_channel
@xoriole
Copy link
Contributor

xoriole commented Jun 23, 2023

Still in 7.13.0-RC2

@xoriole xoriole reopened this Jun 23, 2023
@xoriole xoriole added this to the 7.14.0 milestone Jun 26, 2023
@drew2a drew2a modified the milestones: 7.14.0, 7.13.1 Oct 9, 2023
@drew2a drew2a self-assigned this Oct 9, 2023
@drew2a drew2a closed this as completed Oct 10, 2023
@qstokkink
Copy link
Contributor

I'm trying to add the magnet magnet:?xt=urn:btih:9eca33223c8b37b7b0ec44355e1abfb812fd43f9&tr=https%3A%2F%2Facademictorrents.com%2Fannounce.php&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A6969&tr=udp%3A%2F%2Ftracker.opentrackr.org%3A1337%2Fannounce to my channel and I get the error of OP.

With the fix of #7627 I get a different error:

[tribler-gui PID:4254] 2023-10-25 09:57:51,632 - ERROR <request:122> Request.on_finished(): Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
  File "/home/quinten/Documents/tribler/src/tribler/gui/network/request.py", line 114, in on_finished
    self._handle_http_response(status_code)
  File "/home/quinten/Documents/tribler/src/tribler/gui/network/request.py", line 150, in _handle_http_response
    result = json.loads(data)
  File "/usr/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.8/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

I printed out the contents of data (going into json.loads(data)), which is equal to:

b'Metainfo request for magnet:?xt=urn:btih:9eca33223c8b37b7b0ec44355e1abfb812fd43f9&dn=Unknown+name timed out.'

Should I reopen this issue or create a new one?

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

Successfully merging a pull request may close this issue.

3 participants