Only when ajax is enabled somtime the error "Error requesting data!" errises. I suppose, the timeout is to short but I don't know how to change ist. Where an how do can we change the timeout time?
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | whois-349159-domain-with-dash.patch | 950 bytes | helmo |
Comments
Comment #1
c0urier commentedAny updates on this error? - I can say as much as it for me only happens on .com TLD's when using a - in the domain like kazi-networks.com. But still not on .DK TLD's.
Comment #2
Critical Tinkerer commentedIf the lookup contains a hyphen, no result is returned.
With ajax turned on, there is an "Error requesting data!" message that pops up in the top right corner. With ajax turned off there is no error returned. Either way, no result is returned, so I don't think it is an ajax issue.
I upped this to critical.
Comment #3
echos commentedI have this problem as well. When Ajax and Basic or HTML are selected it sometimes gives an error. Never give this error when Ajax is deselected.
Comment #4
buee commentedJust checking to see if there is a fix for this yet. I've gone through and removed the module, re-added it, messed around with the library, still returns "Error Requesting Data!". I guess I'll have to remove it again until there's a fix. That's a shame, it was really useful when trying to figure out who was hitting my website from where in case I needed to block them.
Comment #5
helmo commentedA dash '-' in the domain name is currently a certain reason for failure due to the way whois_parse_url() filters POST requests.
The attached patch fixes this issue with the filtering regexp, this however needs more work.
#303833: Fix the url regular expression is related to this issue.
For other cases the error handling vs. ajax support has to be improved, not sure when I have time for that.
Comment #6
helmo commentedFix for #653156: Unfixable whois_parse_url, which should resolve the whois_parse_url() issue, has been committed.
The code in whois.js sets a timeout of 5 seconds on line 104. Due to the reliance on external services I will up this to 10 sec.
Please re-open this issue if the problem persists.