Replies: 1 comment
-
See #2939, which is for another hyper server setting. The same answer applies here. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
I keep getting 502 http code occasionally when I put an axum application behind treafik, I guess that it may because of the timeout for idle connection. (aka keepalive_timeout of nginx)
I noticed that hyper has an header_read_timeout config which has default value of 30 seconds. I have no idea if it is effective and how to set it under axum.
Please help, thank you.
axum version
0.7.6
Beta Was this translation helpful? Give feedback.
All reactions