-
Notifications
You must be signed in to change notification settings - Fork 157
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
Error when trying to pipe large binary file #929
Comments
From what I understand from this, it seems like the response is closed too early. Is that correct? EDIT: related to #261 ? |
I have the same error, but I could not reproduce it 100% yet. I will continue to investigate. |
Yeah, same here, the issue is not 100% reproductible. |
I've found a 100% reproducible case. A sender uses HTTP/1.1 over TLS and a receiver uses plain HTTP/1.1. # sender
curl -T- --http1.1 -k https://localhost:8443/mydata # receiver
curl http://localhost:8080/mydata Close the receiver by Ctrl-C during transferring and the server emits the following error:
edit:
|
I assume your receiver closed for some reason and the server emitted the error. I'm still not sure why the server behaves differently in plain HTTP/1.1 and HTTP/1.1 over TLS. |
I'll be honest here, I've got no idea how to verify what protocol is used. I use a piping server exclusively on the frontend, to pass large 3D models from desktop to mobile and view them in a 3D viewer. Nothing fancy, just fetch calls. |
Thanks for the quick tutorial! I'll make sure to test it out when i'm able to somewhat repro the issue. I'm using Brave browser, which is a Chromium based browser. Brave Shields disabled (adblockers and such). |
Hi there,
I'm getting an error when trying to pipe a binary file (a 3D model in .glb). Here is the server error:
The file is 47 MB.
What I'm doing to get there:
Let me know if you need more details.
Environment:
Deployed from the Dockerfile on Railway.app
The text was updated successfully, but these errors were encountered: