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
Fails after generating two configs #9
Comments
are you sure? |
If it helps, I am running Ubuntu Server 22.04, python3 version 3.10.4 |
i think your vps can't reach some hosts. |
It is a local machine, I have tried changing my DNS servers to Cloudflare 1.1.1.1 etc but the same issue happens. Not sure what's going on, I can see the gethostbyname() function is a DNS query, maybe the script should do a try/catch and throw a warning if a host fails but attempt to continue? |
yes. |
If I can figure out why the DNS is failing there, I will let you know! I can confirm it is not a local cache, flushing it and trying again with a different nameserver produces the same result, super weird behaviour. |
Did you use vpn for this process? |
watch new commit c493275 i added try/catch. |
Awesome! It makes it through a majority of the list now with only a few invalid hostnames |
Status: OK
Register: True
Valid: 2022-08-11T17:35:24+00:00
Generating zip file
Tirana Created Successfully.
Algiers Created Successfully.
Traceback (most recent call last):
File "/home/Nick/Wiregen/wiregen.py", line 216, in
main(sys.argv[1:])
File "/home/Nick/Wiregen/wiregen.py", line 209, in main
Builder(path)
File "/home/Nick/Wiregen/wiregen.py", line 109, in Builder
ip = socket.gethostbyname(i['connectionName'])
socket.gaierror: [Errno -2] Name or service not known
The text was updated successfully, but these errors were encountered: