Hi,
I am making two concurrent requests to BOX API from two different threads using same access token. And I am getting below error.
"System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.210.removed for privacy"
Below is then method i am calling from my applicaiton.
BoxClient.FilesManager.GetInformationAsync(FileId)
My query : Can't we make concurrent requests to BOX API ?????
Thanks,
Deepak
Page 1 / 1
You can make concurrent requests to our API. As you design your system, please keep in mind our soft limit of 10 API calls per user per second.
Thanks for prompt reply, but I think I couldn’t clear my query, well here is the scenario, please have a look.
I have created two apps
Token Refresher :- Refreshes the token after every 55 minutes and stores the token in database, also stores users in database (but only first time when utility started)
File Meta Data Downloader :- it fetches one users from database one by one and downloads file meta data for that user.
Now when I run two instances of “file meta data downloader” utility, I get the error as mentioned above. As I am trying to download “file meta data” for users at a time simultaneously.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.