-
Notifications
You must be signed in to change notification settings - Fork 1
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
Getting a SocketTimeoutException when requesting video sessions using RawStatisticsApi #71
Comments
Hi @slauriere client.getHttpClient().setReadTimeout(60000); // set the read timeout to 60sec (default is 10sec) |
Thank you for your help, @olivierapivideo. I've increased the timeout to 60 sec indeed, querying the API for a period of one month for a video having only a few hits and I'm still getting a timeout exception. I've then increased the timeout to 120 sec and then got another type of error:
|
Hi @slauriere, We just released a new endpoint for Analytics:
Calls to this new |
Hello @ThibaultBee, Many thanks for letting me know, we'll test this new version asap. |
I'm getting the error below when requesting video sessions to the RawStatisticsApi.
Steps to reproduce
Run the program below, after replacing "APIKEY" and "VIDEOID" by a working API key and an existing video identifier.
Results
The request is executed successfully when using the current day as a period (eg "2022-12-12"). However when using a day in the past (eg "2022-11-15") or a period covering a month (eg "2022-11") or a year (eg "2022"), the error below with a SocketTimeoutException is raised. The video used in this bug report was uploaded in October 2022.
Environment
Additional context
The text was updated successfully, but these errors were encountered: