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

正常运行一段时间后, Qb 登录异常 #184

Open
5 of 9 tasks
uchouT opened this issue Feb 15, 2025 · 0 comments
Open
5 of 9 tasks

正常运行一段时间后, Qb 登录异常 #184

uchouT opened this issue Feb 15, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@uchouT
Copy link

uchouT commented Feb 15, 2025

请勾选您确认过的前置条件

  • 我已经阅读了 常见问题 使用文档

  • 我确定没有重复的issue或discussions

  • 我确定这是程序本身的问题而不是其他 (比如网络相关的报错)

  • 我确定这个问题在最新版本中没有被修复

运行环境

  • Docker

  • Linux

  • macOS

  • Windows

  • 群晖套件

程序版本

v1.1.304

问题描述

服务可以正常工作一段时间,但后来登上去一看日志发现 qb 连接不上了,但是 qb 的 webUI 可以正常访问。qb 和 ass 部署在同一台机子上,理论上也不会有网络连接上的问题。 服务器是小鸡,配置是 2c1g 的。qb 用的是增强版,不过普通版也试过了,docker 和本地部署都试验过,都会出现这个问题。容器重启后就正常了。本来想着搞个定期重启凑合着用,但是出问题的间隔比较随机,有时候能维持半天,有时候重启完半小时后就崩了。

感谢帮忙。

日志

2025-02-15 16:00:31 ERROR ani.rss.util.HttpRequestPlus - url: http://127.0.0.1:8080/api/v2/auth/login, error: Read timed out
2025-02-15 16:00:31 ERROR ani.rss.download.qBittorrent - Read timed out
cn.hutool.http.HttpException: Read timed out
	at cn.hutool.http.HttpRequest.sendRedirectIfPossible(HttpRequest.java:1283)
	at cn.hutool.http.HttpRequest.doExecute(HttpRequest.java:1191)
	at cn.hutool.http.HttpRequest.execute(HttpRequest.java:1051)
	at ani.rss.util.HttpRequestPlus.execute(HttpRequestPlus.java:42)
	at cn.hutool.http.HttpRequest.thenFunction(HttpRequest.java:1077)
	at ani.rss.download.qBittorrent.login(qBittorrent.java:56)
	at ani.rss.util.TorrentUtil.login(TorrentUtil.java:621)
	at ani.rss.task.RenameTask.run(RenameTask.java:35)
java.net.SocketTimeoutException: Read timed out
	at java.base/sun.nio.ch.NioSocketImpl.timedRead(Unknown Source)
	at java.base/sun.nio.ch.NioSocketImpl.implRead(Unknown Source)
	at java.base/sun.nio.ch.NioSocketImpl.read(Unknown Source)
	at java.base/sun.nio.ch.NioSocketImpl$1.read(Unknown Source)
	at java.base/java.net.Socket$SocketInputStream.read(Unknown Source)
	at java.base/java.io.BufferedInputStream.fill(Unknown Source)
	at java.base/java.io.BufferedInputStream.read1(Unknown Source)
	at java.base/java.io.BufferedInputStream.read(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)
	at java.base/sun.net.www.http.HttpClient.parseHTTP(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
	at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)
	at cn.hutool.http.HttpConnection.responseCode(HttpConnection.java:482)
	at cn.hutool.http.HttpRequest.sendRedirectIfPossible(HttpRequest.java:1279)
	at cn.hutool.http.HttpRequest.doExecute(HttpRequest.java:1191)
	at cn.hutool.http.HttpRequest.execute(HttpRequest.java:1051)
	at ani.rss.util.HttpRequestPlus.execute(HttpRequestPlus.java:42)
	at cn.hutool.http.HttpRequest.thenFunction(HttpRequest.java:1077)
	at ani.rss.download.qBittorrent.login(qBittorrent.java:56)
	at ani.rss.util.TorrentUtil.login(TorrentUtil.java:621)
	at ani.rss.task.RenameTask.run(RenameTask.java:35)
@uchouT uchouT added the bug Something isn't working label Feb 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant