chris408/ct-exposer

UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)

chris408 opened this issue · 0 comments

Certain domain queries will return with a domain that throws a non-fatal error:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/gevent/threadpool.py", line 167, in __run_task
    thread_result.set(func(*args, **kwargs))
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label too long)
2021-01-01T05:11:44Z (<ThreadPoolWorker at 0x7fa74046eb40 thread_ident=0x7fa727fff700 threadpool-hub=<Hub at 0x7fa740989dc0 thread_ident=0x7fa7430ec740>>, <built-in function gethostbyname>) failed with UnicodeError

So far I've see this when testing on yahoo.com and also google.com. I'll do some research to try to resolve this.