Looks like your upstream app ran out of available connections. You’ll probably need to make some tweaks to allow more connections. I don’t think this is a problem with Caddy.
You’ll need to dig deeper into your upstream app, where the problem seems to lie.
Thank you very much,I have another question as to why caddy is reporting the following error, I have a similarly configured environment, but it works properly
EOF just means “Caddy wasn’t able to read a response from upstream”. This means the upstream closed the connection before Caddy was able to receive a response and it ran out of bytes to read when it was expecting more.
That means Caddy wasn’t able to resolve DNS for domains named 3s, ip_hash or 400.
I think you made a configuration mistake, but you didn’t share your config so I can’t really suggest anything. Make sure you used the right syntax for reverse_proxy.
Make sure your { is on the same line as the directive it pairs with. Syntax is important.
Also, using lb_policy and active health checks won’t give you much benefit if you only have a single upstream. The benefits of those are when you have multiple upstreams that you need to load balance between.