Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error authenticating to Box #670

Closed
fcarias38 opened this issue Jan 31, 2022 · 9 comments
Closed

Error authenticating to Box #670

fcarias38 opened this issue Jan 31, 2022 · 9 comments

Comments

@fcarias38
Copy link

After reviewing your suggested resolution we concluded that it does not apply to our current issue because we aren't changing networks or using VPN on these machines. In fact, our computers are working most of the time and sporadically get this error. Can you please provide an alternative solution?

@mgrytsai
Copy link
Contributor

Hi @fcarias38,

I am not sure about which issue you refer to and I couldn't find it. Could you please describe or link the issue you are facing?

Thanks in advance!

@fcarias38
Copy link
Author

fcarias38 commented Jan 31, 2022 via email

@mgrytsai
Copy link
Contributor

mgrytsai commented Feb 1, 2022

No need to create a github account with your company email address. But it would help if you can link or briefly describe the issue you are facing. As I am not sure where you posted the problem description.

@fcarias38
Copy link
Author

We are occasionally getting the following error from our python script that uploads data from our point of sale sites to Box:
​Error authenticating to Box: HTTPSConnectionPool(host='api.box.com', port=443): Max retries exceeded with url: /oauth2/token (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x000001EC31E254E0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed'))

Stopping and starting our script does not seem to help. Usually within a day or two, the problem goes away until the next occurance.

@arjankowski
Copy link
Contributor

Hi @fcarias38, we will try to help you with this issue, but first we have some questions that will help us find a solution?

1)
When did this error start appearing? Was it due to some update of our SDK or software on your side?

2)
It's hard to say what's wrong now, because the error comes from trying to connect through an external library and not directly from our code . Therefore, I would like you to run this CURL command as soon as the described error occurs due to the execution of your script:

curl -i -X GET "https://api.box.com/2.0/users/me" -H "Authorization: Bearer <! Insert Token Here!>

Please let us know the result and then we will continue to investigate this issue.

@mgrytsai
Copy link
Contributor

mgrytsai commented Jul 1, 2022

Hi @fcarias38,

Do you still experience the issue mentioned above? If so, have you tried #670 (comment) first?

@stale
Copy link

stale bot commented Dec 19, 2022

This issue has been automatically marked as stale because it has not been updated in the last 30 days. It will be closed if no further activity occurs within the next 7 days. Feel free to reach out or mention Box SDK team member for further help and resources if they are needed.

@stale stale bot added the stale label Dec 19, 2022
@stale stale bot removed the stale label Dec 21, 2022
@stale
Copy link

stale bot commented Jan 20, 2023

This issue has been automatically marked as stale because it has not been updated in the last 30 days. It will be closed if no further activity occurs within the next 7 days. Feel free to reach out or mention Box SDK team member for further help and resources if they are needed.

@stale stale bot added the stale label Jan 20, 2023
@stale
Copy link

stale bot commented Jan 27, 2023

This issue has been automatically closed due to maximum period of being stale. Thank you for your contribution to Box Python SDK and feel free to open another PR/issue at any time.

@stale stale bot closed this as completed Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants