Coder Social home page Coder Social logo

getBatchDetails() - ReadTimeoutError: HTTPSConnectionPool(host='ipinfo.io', port=443): Read timed out. (read timeout=2) about python HOT 3 CLOSED

ipinfo avatar ipinfo commented on July 20, 2024
getBatchDetails() - ReadTimeoutError: HTTPSConnectionPool(host='ipinfo.io', port=443): Read timed out. (read timeout=2)

from python.

Comments (3)

wesinator avatar wesinator commented on July 20, 2024

Code worked from adding a time.sleep(0.25) between each IP request

I don't think the issue is adjustable in this library anyway

from python.

manish-shegokar avatar manish-shegokar commented on July 20, 2024

Where in the code do we need to add time.sleep() function?

from python.

UmanShahzad avatar UmanShahzad commented on July 20, 2024

@manish-shegokar are you using the latest version of the library, and the synchronous handler? If so, you can adjust the new timeout_per_batch keyword argument.

Otherwise, you will need to update the client-level request timeout which is passed into getHandler. See https://github.com/ipinfo/python#modifying-request-options.

from python.

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.