Skip to content

集市不连通时所有网络请求被阻塞 #12266

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

Closed
TCOTC opened this issue Aug 16, 2024 · 12 comments
Closed

集市不连通时所有网络请求被阻塞 #12266

TCOTC opened this issue Aug 16, 2024 · 12 comments
Assignees

Comments

@TCOTC
Copy link
Contributor

TCOTC commented Aug 16, 2024

打不开集市,一直转圈,放着时间久了会出现点击按钮菜单无响应的情况

2024.08.07 00:05

不知道是什么的问题,先记录一下

image

p.s. 这种情况下手动断网反而能加载出来本地的插件

@TCOTC
Copy link
Contributor Author

TCOTC commented Aug 16, 2024

2024.08.07 01:15

不会一直转圈了

@TCOTC
Copy link
Contributor Author

TCOTC commented Aug 16, 2024

感觉需要一个判断超时的机制,以及应该优先加载和显示本地的集市内容

@88250
Copy link
Member

88250 commented Aug 16, 2024

已经加入网络连通判断了,但是网速慢的话判断不了,这个先关闭了。

@88250 88250 closed this as completed Aug 16, 2024
@TCOTC
Copy link
Contributor Author

TCOTC commented Aug 17, 2024

网速慢的话判断不了

很长时间没加载出来的话就应该算超时吧?为什么会判断不了呢?

@TCOTC
Copy link
Contributor Author

TCOTC commented Aug 26, 2024

@88250 有人遇到了跟我类似的情况,打不开集市会导致其他功能无响应:

https://ld246.com/article/1724665055546

连 Ctrl+P 的搜索也用不了了

@TCOTC
Copy link
Contributor Author

TCOTC commented Sep 28, 2024

@88250

@88250
Copy link
Member

88250 commented Sep 29, 2024

发一下日志吧

@TCOTC
Copy link
Contributor Author

TCOTC commented May 7, 2025

刚才又遇到了,会出现按钮无法点击

siyuan.log

video.webm

@88250
Copy link
Member

88250 commented May 8, 2025

W 2025/05/07 20:45:28 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
W 2025/05/07 20:45:28 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
W 2025/05/07 20:45:30 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": context deadline exceeded
W 2025/05/07 20:45:32 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": context deadline exceeded
W 2025/05/07 20:45:32 net.go:96: network is offline [checkURL=https://oss.b3logfile.com]
W 2025/05/07 20:48:57 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
W 2025/05/07 20:48:57 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": context deadline exceeded
W 2025/05/07 20:48:58 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
W 2025/05/07 20:48:58 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
W 2025/05/07 20:48:58 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
W 2025/05/07 20:48:58 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
W 2025/05/07 20:49:01 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": context deadline exceeded (Client.Timeout exceeded while awaiting headers)
W 2025/05/07 20:49:01 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": context deadline exceeded
W 2025/05/07 20:49:02 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": context deadline exceeded
W 2025/05/07 20:49:02 net.go:96: network is offline [checkURL=https://oss.b3logfile.com]
W 2025/05/07 20:49:02 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": context deadline exceeded
W 2025/05/07 20:49:02 net.go:96: network is offline [checkURL=https://oss.b3logfile.com]
W 2025/05/07 20:49:03 net.go:144: check url [https://oss.b3logfile.com] is online failed: Get "https://oss.b3logfile.com": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

对集市的请求网络不连通。

但是应该不影响其他功能,下次出现的时候注意观察一下开发者工具 Network 网络请求,看看是不是会被阻塞。

@TCOTC
Copy link
Contributor Author

TCOTC commented May 8, 2025

网络请求是会阻塞

@88250
Copy link
Member

88250 commented May 8, 2025

等后面看看

@88250 88250 reopened this May 8, 2025
@88250 88250 self-assigned this May 8, 2025
@TCOTC TCOTC changed the title 打不开集市,一直转圈,放着时间久了会出现点击按钮菜单无响应的情况 集市不连通时所有网络请求被阻塞 May 8, 2025
@88250
Copy link
Member

88250 commented May 9, 2025

试了下没啥解决方案,因为请求需要时间,同时会占用前端链接池,特别是网络较差时会更明显。

也许 #14636 完成后会有一定改善。

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

No branches or pull requests

2 participants