-
Notifications
You must be signed in to change notification settings - Fork 103
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
unable to run when IPV6 is disabled #305
Comments
Thanks for the report. I wonder how that is solved in other exporters. Many are based on So, if you run any of the go based exporters on your infra. Do you need to use a workaround as well, or do they start without any modification? |
the only other exporter that I run is mktxp for mikrotik. |
@kovaga I had the same problem. You can use the
|
Thanks, that worked! |
Running the docker container produces the following results, which indicates that thje gunicorn is unable to start when is set to [::]
[2024-12-05 15:28:35 +0000] [7] [INFO] Starting gunicorn 23.0.0
[2024-12-05 15:28:35 +0000] [7] [ERROR] connection to ('::', 9221) failed: [Errno 97] Address family not supported by protocol
[2024-12-05 15:28:36 +0000] [7] [ERROR] connection to ('::', 9221) failed: [Errno 97] Address family not supported by protocol
[2024-12-05 15:28:37 +0000] [7] [ERROR] connection to ('::', 9221) failed: [Errno 97] Address family not supported by protocol
[2024-12-05 15:28:38 +0000] [7] [ERROR] connection to ('::', 9221) failed: [Errno 97] Address family not supported by protocol
[2024-12-05 15:28:39 +0000] [7] [ERROR] connection to ('::', 9221) failed: [Errno 97] Address family not supported by protocol
[2024-12-05 15:28:40 +0000] [7] [ERROR] Can't connect to ('::', 9221)
The issue is mentioned here as well
paperless-ngx/paperless-ngx#1356
Running from the command line manually using 0.0.0.0:9221
fixes the issue.
/usr/local/bin/pve_exporter --web.listen-address 0.0.0.0:9221 --config.file pve.yml
[2024-12-05 16:31:33 +0100] [2810816] [INFO] Starting gunicorn 23.0.0
[2024-12-05 16:31:33 +0100] [2810816] [INFO] Listening at: http://0.0.0.0:9221 (2810816)
[2024-12-05 16:31:33 +0100] [2810816] [INFO] Using worker: gthread
[2024-12-05 16:31:33 +0100] [2810817] [INFO] Booting worker with pid: 2810817
Is it possible to pass web.listen-address variable to the dockerised version?
The text was updated successfully, but these errors were encountered: