Skip to content

Name or service not known #1

Description

@vi
$ python3.4 punchVPN.py  -v --no-vpn 
INFO:PunchVPN:NAT-PMP - Testing for NAT-PMP...    
DEBUG:PunchVPN.nat-pmp:Found gateway 192.168.89.1
DEBUG:PunchVPN.nat-pmp:Gateway 192.168.89.1 does not support nat-pmp
INFO:PunchVPN:NAT-PMP - [FAILED]
INFO:PunchVPN:UPnP-IGD - Testing for UPnP-IDG...
Traceback (most recent call last):
  File "punchVPN.py", line 314, in <module>
    main()
  File "punchVPN.py", line 218, in main
    ip = find_ip(args.address.split(':')[1][2:])
  File "punchVPN.py", line 122, in find_ip
    s_ip.connect((addr, 1234))
socket.gaierror: [Errno -2] Name or service not known

Error should be handled better.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions