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

[Bug]: Getting 400 error while uploading large files #418

Open
0123-smallbottle opened this issue Jan 4, 2025 · 0 comments
Open

[Bug]: Getting 400 error while uploading large files #418

0123-smallbottle opened this issue Jan 4, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@0123-smallbottle
Copy link

Describe the bug

image
I'm encountering a 400 error when trying to upload large files.
My guess is that there might be an issue with how the file is being split during the upload process.
device:
raspberry pi 4b
teldrive-1.6.0-linux-arm64.tar.gz

Repoduction

upload a large file

Expected behavior

Be able to upload large files

Version

1.6.0

Which Platform are you using?

Linux

Additional context

04/01/2025 06:03 PM     ERROR           {"status": 400, "method": "POST", "path": "/api/uploads/xxx", "query": "partName=xxx.7z.part.004&fileName=xxx.7z&partNo=4&encrypted=false&channelId=0", "ip": "10.0.0.68:50901", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "latency": 0.000413903, "time": "2025-01-04T10:03:25Z"}
04/01/2025 06:03 PM     ERROR           {"status": 400, "method": "POST", "path": "/api/uploads/xxx", "query": "partName=xxx.7z.part.003&fileName=xxx.7z&partNo=3&encrypted=false&channelId=0", "ip": "10.0.0.68:50871", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "latency": 0.000255201, "time": "2025-01-04T10:03:25Z"}
04/01/2025 06:03 PM     ERROR           {"status": 400, "method": "POST", "path": "/api/uploads/xxx", "query": "partName=xxx.7z.part.001&fileName=xxx.7z&partNo=1&encrypted=false&channelId=0", "ip": "10.0.0.68:50870", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "latency": 0.000368995, "time": "2025-01-04T10:03:25Z"}
04/01/2025 06:03 PM     ERROR           {"status": 400, "method": "POST", "path": "/api/uploads/xxx", "query": "partName=xxx.7z.part.002&fileName=xxx.7z&partNo=2&encrypted=false&channelId=0", "ip": "10.0.0.68:50876", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "latency": 0.000399532, "time": "2025-01-04T10:03:25Z"}
04/01/2025 06:03 PM     ERROR           {"status": 400, "method": "POST", "path": "/api/uploads/xxx", "query": "partName=xxx.7z.part.005&fileName=xxx.7z&partNo=5&encrypted=false&channelId=0", "ip": "10.0.0.68:50902", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "latency": 0.000639547, "time": "2025-01-04T10:03:25Z"}
04/01/2025 06:03 PM     ERROR           {"status": 400, "method": "POST", "path": "/api/uploads/xxx", "query": "partName=xxx.7z.part.006&fileName=xxx.7z&partNo=6&encrypted=false&channelId=0", "ip": "10.0.0.68:50903", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "latency": 0.000621307, "time": "2025-01-04T10:03:25Z"}
04/01/2025 06:03 PM     ERROR           {"status": 400, "method": "POST", "path": "/api/uploads/xxx", "query": "partName=xxx.7z.part.008&fileName=xxx.7z&partNo=8&encrypted=false&channelId=0", "ip": "10.0.0.68:50906", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "latency": 0.000812805, "time": "2025-01-04T10:03:25Z"}
04/01/2025 06:03 PM     ERROR           {"status": 400, "method": "POST", "path": "/api/uploads/xxx", "query": "partName=xxx.7z.part.003&fileName=xxx.7z&partNo=3&encrypted=false&channelId=0", "ip": "10.0.0.68:50909", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "latency": 0.000592308, "time": "2025-01-04T10:03:25Z"}
04/01/2025 06:03 PM     ERROR           {"status": 400, "method": "POST", "path": "/api/uploads/xxx", "query": "partName=xxx.7z.part.002&fileName=xxx.7z&partNo=2&encrypted=false&channelId=0", "ip": "10.0.0.68:50908", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "latency": 0.000544549, "time": "2025-01-04T10:03:25Z"}
04/01/2025 06:03 PM     ERROR           {"status": 400, "method": "POST", "path": "/api/uploads/xxx", "query": "partName=xxx.7z.part.009&fileName=xxx.7z&partNo=9&encrypted=false&channelId=0", "ip": "10.0.0.68:50907", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "latency": 0.000550938, "time": "2025-01-04T10:03:25Z"}
04/01/2025 06:03 PM     ERROR           {"status": 400, "method": "POST", "path": "/api/uploads/xxx", "query": "partName=xxx.7z.part.007&fileName=xxx.7z&partNo=7&encrypted=false&channelId=0", "ip": "10.0.0.68:50905", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "latency": 0.000505142, "time": "2025-01-04T10:03:25Z"}
04/01/2025 06:03 PM     ERROR           {"status": 400, "method": "POST", "path": "/api/uploads/xxx", "query": "partName=xxx.7z.part.001&fileName=xxx.7z&partNo=1&encrypted=false&channelId=0", "ip": "10.0.0.68:50910", "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36", "latency": 0.000603807, "time": "2025-01-04T10:03:25Z"}

@0123-smallbottle 0123-smallbottle added the bug Something isn't working label Jan 4, 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