Skip to content

Timeout does not work #9

@rshibanov

Description

@rshibanov

If I try to run this code from the network where whois port blocked, I don't get an Timeout error or any similar error.

import whois21
whois = whois21.WHOIS("google.com",timeout=10)
print(whois)

I tried decreasing the timeout value, but it did not help.

 whois21 -v --timeout 3 google.com
[14:54:50] [INFO] Looking up google.com...
[14:54:50] [DEBUG] Connecting to whois.iana.org:43...
^C[14:56:22] [ERROR] KeyboardInterrupt: Exiting...

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions