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

Address family not supported by protocol #35

Open
thib3113 opened this issue Aug 1, 2023 · 0 comments
Open

Address family not supported by protocol #35

thib3113 opened this issue Aug 1, 2023 · 0 comments

Comments

@thib3113
Copy link

thib3113 commented Aug 1, 2023

Hello, sometimes, I got the error :

2023-08-01T10:26:49.276091265Z [2023-08-01T10:26:49Z INFO  prometheus_nut_exporter::http_server] Binding to endpoint: http://[::]:9995
2023-08-01T10:26:49.279367645Z [2023-08-01T10:26:49Z ERROR prometheus_nut_exporter::http_server] Server failed to bind to endpoint: error creating server listener: Address family not supported by protocol (os error 97)

and the server doesn't answer to calls

but, it's hard to debug, because it doesn't appear each times .

So, for the moment I add an healthcheck : wget http://127.0.0.1:9995 -O /dev/null -q . Not the best solution, but it will force the container to automatically reboot if stuck on "failed to bind"

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