-
Notifications
You must be signed in to change notification settings - Fork 479
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
Tusd behind Caddy Webserver? #444
Comments
I have never worked with Caddy, but I would assume you can get tusd running with it. tusd does not have many requirements towards proxies. What exactly do you mean with "tcp timeouts"? Are those the error messages in responses from tusd or are those the errors that your tus client is emitting on its own? |
The errors I am seeing are from tusd:
This happens under load when using a reverse proxy. Going direct to the tusd port over http does not hit this issue. My current reverse proxy config is:
|
I'm now wondering if this might be the issue... |
Well, it is necessary to setup the proxy as explained in https://github.com/tus/tusd/blob/master/docs/faq.md#can-i-run-tusd-behind-a-reverse-proxy. If that's not the case for your infrastructure, it is very likely to not work. I am also confused what the That being said, your timeouts sound more to be caused by https://github.com/tus/tusd/wiki/Thoughts-on-handling-connection-issues. There are plans to improve this and I would like to address them soonish but not ETA is available. |
The |
Thanks for the feedback! I'll review the config based on your feedback 👍 |
hey @leaanthony Did you have any luck with Caddy. |
@leaanthony Did you manage to get it working ? |
@leaanthony What problem are you facing? |
I'm not, I just haven't looked at this for more than 3 years |
Apologies, I wanted to ask @punowo. |
@Acconut None related to this issue. I was just looking for examples of working Caddy configurations. |
Question
In the examples directory, there are configs for Nginx and Apache. I'm wondering if anyone has got it working with Caddy? I kinda had it working but under load I would get tcp timeouts during the response stage (5x 5G files being uploaded concurrently). At lighter loads it was fine. I was using a basic reverse proxy configuration with flush_interval set to -1.
The text was updated successfully, but these errors were encountered: