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 for hostname not supported. #74

Closed
Dual-0 opened this issue Jul 8, 2020 · 5 comments
Closed

Address family for hostname not supported. #74

Dual-0 opened this issue Jul 8, 2020 · 5 comments

Comments

@Dual-0
Copy link

Dual-0 commented Jul 8, 2020

Hi,

I've updated via git pull successfully. after restart my systemd service I got this error in the py-kms log.
Wed, 08 Jul 2020 22:24:26 ERROR Connection failed '0.0.0.0:1688': [Errno -9] Address family for hostname not supported. Exiting...
Start Command is:
/usr/bin/python3 /opt/py-kms/py-kms/pykms_Server.py -w RANDOM -F /var/log/py-kms.log -V INFO

@simonmicro
Copy link
Contributor

simonmicro commented Jul 9, 2020

Hi. Thats very strange! I recently implemented ipv6 support - it does listen to an other host address. On which system do you run it? And does it work, if you override the internal defaults by appending :: 1688 to the start command?
Sorry for the inconvenience.

@simonmicro
Copy link
Contributor

I tested it right now. Yes, the default param breaks with the ipv6 socket - I could reproduce and fix it with #76

@YarinAVI
Copy link

I have the same error....

@simonmicro
Copy link
Contributor

simonmicro commented Jul 11, 2020

Okay, please test my patch and check if the problem persists: https://github.com/Simonmicro/py-kms/tree/patch-3
If it works, please wait until @SystemRage has time to accept my pull request.

@simonmicro
Copy link
Contributor

@dual-oo Fixed. Please close this issue 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

4 participants