Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

"Cannot connect to host api.box.com:443" errors

New post

Comments

2 comments

  • jcleblanc

    Hi ,

     

    Is there any other data that is being sent in the error? Based on what you're saying about increasing the number of requests, I'm wondering if the underlying error is related to rate limits. If that's the case you'll see a 429 error coming back. If that's the case, you'll want to space your requests out based on the limits.

     

    - Jon

    0
    Comment actions Permalink
  • marcus292

    Hello, thank you for your reply!

     

    Unfortunately I don't think these are rate limits, as we are checking for a 429 status code and handling that accordingly. I think we're just seeing more of these errors with the increase in request speed because we're just making more requests in the same period of time. 

     

    Something else I've seen accompany this error is also a timeout error:
    TimeoutError: [Errno 110] Connect call failed ('xxx.xxx.xx.xxx', 443).

     

    It also appears that we don't get any sort of status code for the request, it seems we are just hitting this timeout. 

    0
    Comment actions Permalink

Please sign in to leave a comment.