Comments (9)
再次测试1.2G可正常上传完成,正常返回。1.5G的文件已上传成功,却返回patch response statusCode is NotFound,这种情况发生在文件上传的最后一包。
from birdmessenger.
404 响应码是服务端没找到对应的文件,原因可能是: 1.服务端设置了文件过期时间; 2.上传的url不正确
from birdmessenger.
过期时间我设置的是1小时。问题出现在大于1G的文件,出现错误是上传文件的最后一包的patch请求。低于1G的文件上传成功。
我在tusdotnet也提问了:tusdotnet/tusdotnet#155
from birdmessenger.
每次都能复现吗?请说一下你用的代码运行环境,以及版本
from birdmessenger.
net5 (linux centos7)
是的。只要超过1G的文件,必现。
from birdmessenger.
我这边上传的文件大多都是好几个G的文件,你先尝试能不能在本机复现,这个nofound 异常是服务端给出的,问题一般在服务端
from birdmessenger.
问题找到了。是nginx连接超时的问题。重新设置proxy_read_timeout、proxy_send_timeout、proxy_connect_timeout设置成180,1.9G上传成功。
4.6G还是失败,nginx状态码499,最后一包耗时1分40秒,这个可能是HttpClient等待超时问题(客户端不等待响应,关闭了连接)。请提供下超时设置。
from birdmessenger.
wiki 里面有写
from birdmessenger.
感谢!那我关闭了!
from birdmessenger.
Related Issues (20)
- Store Url
- Tus::Creation returns an invalid url HOT 1
- 奇怪的错误creation response statusCode is BadRequest HOT 9
- 请问BirdMessenger支持Concatenation扩展吗? HOT 11
- 请问支持断点续传吗 HOT 10
- 权限验证不可用 Authority Unavailable HOT 22
- 同步方法调用异步方法卡死问题! HOT 5
- Could not load file or assembly 'Microsoft.Extensions.DependencyInjection.Abstractions HOT 7
- Upload Result HOT 9
- Stream result to server HOT 17
- v2.2.0,在 tusClient.Create(....)时程序直接退出,没有任何错误提示 HOT 17
- 流式传输的问题! HOT 4
- Download Files HOT 1
- 文件上传完成之后,客户端如何得到Http返回值? HOT 2
- Nuget Pakage 3.0 is not 3.0 in github HOT 4
- Chunked upload in v3 HOT 8
- 请问如何调用BirdMessenger进行重传? HOT 2
- 从BirdMessenger2.2.1升级到BirdMessenger3.1.0程序出现异常 HOT 4
- Sample TestDotNetSite Issue HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from birdmessenger.