Skip to content
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

502 ERROR "no live upstreams while connecting to upstream" with keepalive #91

Open
zhongcy opened this issue Jan 15, 2025 · 1 comment

Comments

@zhongcy
Copy link

zhongcy commented Jan 15, 2025

I use keepalive with jdomain:

`
keepalive_timeout 65;
keepalive_requests 100;

upstream jdomain-upstream {jdomain test.my.com port=443 interval=60; keepalive 8;}`

but some time, requests get 502 "no live upstreams while connecting to upstream" error .

@nicholaschiasson
Copy link
Owner

Hi @zhongcy , sorry I missed this one.

As with your the other ticket you opened, would you be able to provide a bit more information? As well as some more configuration and log output, would you be able to describe your observations a bit more? When you say "some time", do you mean that maybe one request every 60 seconds, a few requests a day sporadically? Or do you mean more like after some interval, suddenly all requests become 502 for some interval before recovering?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants