-
Notifications
You must be signed in to change notification settings - Fork 46
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
SocketTimeout Error #96
Comments
Hi @ElonMusked There currently isn't a way to increase the max retry count but that could be a good idea for more settings/customization. What is the quality of your internet? download speed, over ethernet, over wifi? are there any other things downloading on your device or elsewhere on your network (windows updates, game updates, netflix...) that could be degrading your local internet? |
Thanks for replying back. |
Are you using a VPN at all? There was an issue #78 that I didn't get to verify but sounds like may cause connection issues in a Java application. |
Nope, it's the internet connection itself, no vpn, no proxy. Btw Sorry I checked again and the comments were not 5 million, I thought it's a different video. |
The application is currently working fine on my internet and the daily quota for today looks fine too. What specifically is happening then or the order than things occured. Do you mind sharing the specific video to verify its total comment count? If a single video really has more than 2 million comments...
|
Alternatively you could just share the statistics for the video if you don't want to share which one specifically. My metadata tool could help with that. |
Yeah sure, here is the video: So to answer your questions, I calculated everything: Started at 04:20 I created this topic at 05:26 But no error since then, so basically from 837k till 2.5m no error. Now another thing to note is that, this time for [1/5 ]and [2/5] error, program was minimized and I had my vps closed (not shutdown). But [3/5] was when vps was open BUT program still minimized. I didn't really have any problem with other videos because they didn't have as much comments. And also for this video I didn't take a look at comments when program failed cuz it was pointless anyway. |
A single video with so many comments on it is certainly an edge case. I will try it out on my own and see what happens. It isn't the same thing but potential for something undocumented to be the case such as this issue where the YouTube API will stop returning videos from a playlist when you get to 20,000 videos. So you can't query for every video from a channel that has uploaded more than that. https://github.com/mattwright324/youtube-metadata/wiki/YouTube-API-Notes#limit-for-playlistitemslist |
Thanks. |
Mine is also over 5 millions now and no errors yet. But yeah, a retry configuration (both retries count and timeout maybe?) would be greatly appreciated cuz it shows its use when you have a weak internet connection that drops all the time or in my case having bad luck 😁 |
Mission success! |
Hi, sometimes when I'm scraping comments, I get this error after a while. And the worst part is, it hits 5/5 max retry after some time and program stops working. And I have to start the whole process from first again...
Is there anyway to fix this? Or if you don't know what's going on, is there anyway I can increase that 5 max tries to a bigger number like 1,000 or something?
The text was updated successfully, but these errors were encountered: