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

cannot listen on ipv6 address #13

Closed
martinetd opened this issue May 23, 2021 · 1 comment
Closed

cannot listen on ipv6 address #13

martinetd opened this issue May 23, 2021 · 1 comment

Comments

@martinetd
Copy link

Hi,

not really expecting much, but since there were no other issues about it I'll open one for others looking at the error.

Trying to listen to an ipv6 address fails with Address family not supported, because down the stack python's wsgi/http.server defaults to AF_INET.
This isn't configurable at tor eporter's level if you with to use prometheus' web server though, but they've had multiple issues for a while ( prometheus/client_python#69 from 2015! closed without fixes, and more recently prometheus/client_python#567 with more details but not much progress, prometheus/client_python#132 with a workaround in the prometheus client code...) - they seem to advise not using their web server for real applications? :|

Their wsgi actually does quite some work so I wouldn't necessarily recommend moving away from it at this point, just raising awareness...

@martinetd
Copy link
Author

fixed upstream just now.

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