cloudreve / Cloudreve

🌩支持多家云存储的云盘系统 (Self-hosted file management and sharing system, supports multiple storage providers)
https://cloudreve.org
GNU General Public License v3.0
21.6k stars 3.39k forks source link

大文件分片上传 #2064

Open Leard-K opened 5 months ago

Leard-K commented 5 months ago

Describe the bug 无法解析响应: Unexpected token '<', "<!DOCTYPE "... is not valid JSON (<!DOCTYPE html> pan.yue-jin.wang | 524: A timeout occurred

A timeout occurred Error code 524

Visit cloudflare.com for more information.
2024-04-09 03:24:15 UTC
You

Browser

Working
San Jose

Cloudflare

Working
pan.yue-jin.wang

Host

Error

What happened?

The origin web server timed out responding to this request.

What can I do?

If you're a visitor of this website:

Please try again in a few minutes.

If you're the owner of this website:

The connection to the origin web server was made, but the origin web server timed out before responding. The likely cause is an overloaded background task, database or application, stressing the resources on your web server. To resolve, please work with your hosting provider or web development team to free up resources for your database or overloaded application. Additional troubleshooting information here.

)

Expected behavior 大文件分片上传,第一个片段上传后,进度停止不动,一段时间过后有错误信息显示

Screenshots image

Desktop (please complete the following information):

TroyeJames9 commented 4 months ago

我也出现了一样的报错,并且不知道如何排查数据库的任务情况。。。。很有可能是之前的僵尸进程堵塞了请求 client OS: windows 10 NT server OS: ubuntu22.04 LTS Version 3.8.3

soulwood commented 4 months ago

我也出现了同样的报错,不论是通过域名还是通过IP地址访问,一旦上传超过25MB,就开始停止,无论是否修改存储策略

TroyeJames9 commented 4 months ago

我也出现了同样的报错,不论是通过域名还是通过IP地址访问,一旦上传超过25MB,就开始停止,无论是否修改存储策略

我这边解决了,原因就是我自己的服务器套的CDN的问题,我使用优选ip的策略改善了我的CDN节点的质量,现在问题已经解决了,所以这个报错纯粹因为握手超时、掉包

Leard-K commented 4 months ago

我也出现了同样的报错,不论是通过域名还是通过IP地址访问,一旦上传超过25MB,就开始停止,无论是否修改存储策略

我这边解决了,原因就是我自己的服务器套的CDN的问题,我使用优选ip的策略改善了我的CDN节点的质量,现在问题已经解决了,所以这个报错纯粹因为握手超时、掉包

母鸡呀,我两台电脑套的都是cf,但是,一台电脑可以上传超过25MB的文件,另外一台不可以,就很怪

TroyeJames9 commented 4 months ago

我也出现了同样的报错,不论是通过域名还是通过IP地址访问,一旦上传超过25MB,就开始停止,无论是否修改存储策略

我这边解决了,原因就是我自己的服务器套的CDN的问题,我使用优选ip的策略改善了我的CDN节点的质量,现在问题已经解决了,所以这个报错纯粹因为握手超时、掉包

母鸡呀,我两台电脑套的都是cf,但是,一台电脑可以上传超过25MB的文件,另外一台不可以,就很怪

这种比较玄学的需要开一个比较详细的issue才有可能解决。 但可以说问题一定出在网络上