Code Monkey home page Code Monkey logo

Comments (3)

1983shake avatar 1983shake commented on August 18, 2024

我昨天用docker架起了服务,在订阅RSS的时候,也是出现服务器错误,出现了“ERROR Exception in ASGI application”。实际原因是因为订阅里的种子,有坏的,所及AB订阅时会出错,导致服务器错误。需要作者看如何处理。谢谢。
如下图我使用迅雷去解析链接种子,都是未知的,就是该种子导致的,过滤掉该种子的链接,就能AB正常订阅了。
企业微信截图_20240628121400

from auto_bangumi.

1983shake avatar 1983shake commented on August 18, 2024

我昨天用docker架起了服务,在订阅RSS的时候,也是出现服务器错误,出现了“ERROR Exception in ASGI application”。实际原因是因为订阅里的种子,有坏的,所及AB订阅时会出错,导致服务器错误。需要作者看如何处理。谢谢。
如下图我使用迅雷去解析链接种子,都是未知的,就是该种子导致的,过滤掉该种子的链接,就能AB正常订阅了。
企业微信截图_20240628121400

from auto_bangumi.

Spectre-2022 avatar Spectre-2022 commented on August 18, 2024

俺也一样
INFO
[2024-07-04 00:50:53]
Version 3.1.14 Author: EstrellaXD Twitter: https://twitter.com/Estrella_Pan
INFO
[2024-07-04 00:50:53]
GitHub: https://github.com/EstrellaXD/Auto_Bangumi/
INFO
[2024-07-04 00:50:53]
Starting AutoBangumi...
INFO
[2024-07-04 00:50:53]
Config loaded
INFO
[2024-07-04 00:50:54]
Program running.
INFO
[2024-07-04 00:50:54]
Application startup complete.
INFO
[2024-07-04 00:50:54]
Uvicorn running on http://0.0.0.0:7892 (Press CTRL+C to quit)
ERROR
[2024-07-04 00:51:40]
ERROR Exception in ASGI application
Traceback (most recent call last)
File "/usr/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi
result = await app( # type ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/uvicorn/middleware/message_logger.py", line 86, in call
raise exc from None
File "/usr/lib/python3.11/site-packages/uvicorn/middleware/message_logger.py", line 82, in call
await self.app(scope, inner_receive, inner_send)
File "/usr/lib/python3.11/site-packages/fastapi/applications.py", line 282, in call
await super().call(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/usr/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/usr/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/usr/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/usr/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
raise e
File "/usr/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
await self.app(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
response = await func(request)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/fastapi/routing.py", line 241, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/fastapi/routing.py", line 167, in run_endpoint_function
return await dependant.call(**values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/module/api/rss.py", line 199, in subscribe
resp = collector.subscribe_season(data, parser=rss.parser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/module/manager/collector.py", line 59, in subscribe_season
result = engine.download_bangumi(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/module/rss/engine.py", line 141, in download_bangumi
client.add_torrent(torrents, bangumi)
File "/app/module/downloader/download_client.py", line 138, in add_torrent
if self.client.add_torrents(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/module/downloader/client/qb_downloader.py", line 86, in add_torrents
resp = self._client.torrents_add(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/qbittorrentapi/decorators.py", line 91, in wrapper
return func(client, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/qbittorrentapi/torrents.py", line 1306, in torrents_add
return self._post(
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/qbittorrentapi/request.py", line 390, in _post
return self._request_manager(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/qbittorrentapi/request.py", line 465, in _request_manager
return self._request(
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/qbittorrentapi/request.py", line 542, in _request
self._handle_error_responses(data, params, response)
File "/usr/lib/python3.11/site-packages/qbittorrentapi/request.py", line 786, in _handle_error_responses
raise UnsupportedMediaType415Error(response.text)
qbittorrentapi.exceptions.UnsupportedMediaType415Error 错误:'torrent__15' 不是一个有效的 torrent 文件。
ERROR
[2024-07-04 00:55:33]
ERROR Exception in ASGI application
Traceback (most recent call last)
File "/usr/lib/python3.11/site-packages/uvicorn/protocols/http/h11_impl.py", line 428, in run_asgi
result = await app( # type ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/uvicorn/middleware/message_logger.py", line 86, in call
raise exc from None
File "/usr/lib/python3.11/site-packages/uvicorn/middleware/message_logger.py", line 82, in call
await self.app(scope, inner_receive, inner_send)
File "/usr/lib/python3.11/site-packages/fastapi/applications.py", line 282, in call
await super().call(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/usr/lib/python3.11/site-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/usr/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/usr/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/usr/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
raise e
File "/usr/lib/python3.11/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
await self.app(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/lib/python3.11/site-packages/starlette/routing.py", line 66, in app
response = await func(request)
^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/fastapi/routing.py", line 241, in app
raw_response = await run_endpoint_function(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/fastapi/routing.py", line 167, in run_endpoint_function
return await dependant.call(**values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/module/api/rss.py", line 199, in subscribe
resp = collector.subscribe_season(data, parser=rss.parser)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/module/manager/collector.py", line 59, in subscribe_season
result = engine.download_bangumi(data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/module/rss/engine.py", line 141, in download_bangumi
client.add_torrent(torrents, bangumi)
File "/app/module/downloader/download_client.py", line 138, in add_torrent
if self.client.add_torrents(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/module/downloader/client/qb_downloader.py", line 86, in add_torrents
resp = self._client.torrents_add(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/qbittorrentapi/decorators.py", line 91, in wrapper
return func(client, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/qbittorrentapi/torrents.py", line 1306, in torrents_add
return self._post(
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/qbittorrentapi/request.py", line 390, in _post
return self._request_manager(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/qbittorrentapi/request.py", line 465, in _request_manager
return self._request(
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/qbittorrentapi/request.py", line 542, in _request
self._handle_error_responses(data, params, response)
File "/usr/lib/python3.11/site-packages/qbittorrentapi/request.py", line 786, in _handle_error_responses
raise UnsupportedMediaType415Error(response.text)
qbittorrentapi.exceptions.UnsupportedMediaType415Error 错误:'torrent__15' 不是一个有效的 torrent 文件。

from auto_bangumi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.