Giter VIP home page Giter VIP logo

Comments (4)

weppos avatar weppos commented on June 16, 2024

Hello lamnk,
not really. The cause of the error is a temporary unavailability of the WHOIS server.

I'm experiencing the same problem quite often in my application.
The problem is noticeable especially with .net and .com domains because the WHOIS request involves multiple WHOIS queries, due to the nature of the Verisign WHOIS architecture.

Usually, this error is caused by the final endpoint, not by Verisign. I'm trying to isolate the problem and understand if it makes sense to return the partial response anyway in case the second WHOIS query doesn't complete successfully.

from whois.

lamnk avatar lamnk commented on June 16, 2024

Thank weppos, good to know. I am looking forward to updates.

from whois.

timmyfury avatar timmyfury commented on June 16, 2024

I ran into this issue as well, just like described above, the issue only happens sometimes. .com domains that I have registered through Dreamhost will occasionally fail if their server refuses the request. clickpickle.com and magnificentmurderbeasts.com are two examples of this.

It looks like the unix whois utility takes this possibility into account and returns the Verisign response without the referral WHOIS server's response.

I forked and was working on a fix. The issue is testing. The referral servers are responding again and I don't have domains to test against at the moment.

Thoughts?

from whois.

weppos avatar weppos commented on June 16, 2024

I forked and was working on a fix. The issue is testing. The referral servers are responding again and I don't have domains to test against at the moment.

You should use unit tests for this feature.

My idea was to implement this feature as a Whois::Client option. The user should be able to pass an option to allow partial responses. In case the feature is enabled (disabled by default), the system will return the partial response. Otherwise, a Whois::IncompleteResponse < ServerError error is raised.

from whois.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤ī¸ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.