-
Notifications
You must be signed in to change notification settings - Fork 155
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
nginx. stream cuts off after a certain point #617
Comments
Thank you for the detail report. I will see. |
What happens when using HTTP instead HTTPS? Can you ssh-login to the server of x.grimmygrom.com and do curl |
localhost:8080 works fine |
What about |
that goes to nginx. and i get a 404 |
What about |
that goes to nginx and i get 404 i set pipe server has port 4321 for https |
It's OK. I mean that could you try |
that works just fine. |
I'm not sure why HTTPS port is Can you publish |
i don't have another reverse proxy. i had pipe server https on 4321 for testing what do you mean by publish? |
I guess the error message
Is |
yes they are both the same |
If they are the same, doing |
dose not work. i get error code 405 Not Allowed my bad its not the same |
OK. I understand. You can attach |
that gives me the same error as in this video streaming stops |
Good. I'd like to reproduce on local. Do you have |
i dont? i dont know how to use pv |
In my opinion, Nginx is very good software, but it is not good fit to HTTP streaming. Could you try to add seq inf | pv -qL 100k | curl -kT- ... That command limits transfer speed and it works on my local. |
this seems to work and not die |
Good! I'd not like to limits transfer speed, but unfortunately I have only this solution for now. Since Ngix has many options, some options may allow us do streaming well. Maybe it is better to ask Nginx. |
thank you so much for the help. this is very helpful. |
Thanks. Your video on YouTube was very good for me to understand your situation. |
@m2acgi How did you send the big file? e.g. If you use |
Yes, |
|
I use the |
i am using a portable bin and set up nginx as a proxy
when trying to read an infinite stream from the pipe server it cuts off at a certain point
seq inf only return up to about 393936. sends for less then a second
receiver error curl: (18) transfer closed with outstanding read data remaining
sender error curl: (55) OpenSSL SSL_write: Broken pipe, errno 32
2022/02/25 23:16:12 [error] 433215#433215: *288 upstream timed out (110: Connection timed out) while reading upstream, client: 72.178.17.200, server: x.grimmygrom.com, request: "PUT /testing HTTP/1.1", upstream: "http://127.0.0.1:8080/testing", host: "x.grimmygrom.com"
2022/02/25 23:16:12 [error] 433215#433215: *290 upstream prematurely closed connection while reading upstream, client: 72.178.17.200, server: x.grimmygrom.com, request: "GET /testing HTTP/1.1", upstream: "http://127.0.0.1:8080/testing", host: "x.grimmygrom.com"
my nginx config is like this
video of me showing the problem
https://youtu.be/WyqEju096so
thank you
The text was updated successfully, but these errors were encountered: