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

dnspython exception #214

Open
lianke123321 opened this issue Feb 19, 2016 · 9 comments
Open

dnspython exception #214

lianke123321 opened this issue Feb 19, 2016 · 9 comments

Comments

@lianke123321
Copy link
Contributor

Saw this exception why running vpn.py:

Exception in thread Thread-1432:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/vagrant/centinel/centinel/primitives/dnslib.py", line 180, in lookup_domain
    resp = dns.message.from_wire(response)
  File "/usr/local/lib/python2.7/dist-packages/dns/message.py", line 790, in from_wire
    reader.read()
  File "/usr/local/lib/python2.7/dist-packages/dns/message.py", line 726, in read
    self._get_question(qcount)
  File "/usr/local/lib/python2.7/dist-packages/dns/message.py", line 602, in _get_question
    (qname, used) = dns.name.from_wire(self.wire, self.current)
  File "/usr/local/lib/python2.7/dist-packages/dns/name.py", line 704, in from_wire
    raise BadPointer
BadPointer
@lianke123321
Copy link
Contributor Author

@rpanah can u look into this?

@rpanah
Copy link
Collaborator

rpanah commented Feb 22, 2016

@lianke123321 do you have steps to reproduce?

@lianke123321
Copy link
Contributor Author

@rpanah I was running top-500 baseline experiment while connecting to a purevpn endpoint.

@lianke123321
Copy link
Contributor Author

Another dns exception:

Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/home/vagrant/centinel/centinel/primitives/dnslib.py", line 180, in lookup_domain
    resp = dns.message.from_wire(response)
  File "/usr/local/lib/python2.7/dist-packages/dns/message.py", line 790, in from_wire
    reader.read()
  File "/usr/local/lib/python2.7/dist-packages/dns/message.py", line 726, in read
    self._get_question(qcount)
  File "/usr/local/lib/python2.7/dist-packages/dns/message.py", line 602, in _get_question
    (qname, used) = dns.name.from_wire(self.wire, self.current)
  File "/usr/local/lib/python2.7/dist-packages/dns/name.py", line 708, in from_wire
    raise BadLabelType
BadLabelType

@lianke123321
Copy link
Contributor Author

@JASONews could you help look into this? Since you wrote dnslib unit test right?

@rpanah
Copy link
Collaborator

rpanah commented Sep 4, 2016

@lianke123321, do you know if this was addressed at any point in time?

@lianke123321
Copy link
Contributor Author

@rpanah no, since it's still open.

@rpanah
Copy link
Collaborator

rpanah commented Sep 4, 2016

@lianke123321 I haven't seen this in the RPi nodes' log files. Did you encounter this with the VPNs again?

@lianke123321
Copy link
Contributor Author

@rpanah I saw this in VPN walker's logs, you might want to check those logs.

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

No branches or pull requests

2 participants