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

Crashing when multiple upstream server has resolve param #9

Open
JakubOnderka opened this issue Mar 19, 2024 · 0 comments
Open

Crashing when multiple upstream server has resolve param #9

JakubOnderka opened this issue Mar 19, 2024 · 0 comments

Comments

@JakubOnderka
Copy link

Imagine this simple configuration:

upstream upstream {
    server example.org resolve;
    server example.com resolve;
    server example.org resolve;
}

When just first upstream contains resolve param, everything works fine. But when multiple upstream servers has resolve param, nginx worker process fail with error in log like this:

socket() failed (97: Address family not supported by protocol) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "https://J?./", host: "localhost"

followed by worker crash. I will try to debug

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

1 participant