pik00 / auto-sub

Automatically exported from code.google.com/p/auto-sub
0 stars 0 forks source link

ERROR: GetSubLink returned an error #183

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Just let Autosub run

What is the expected output? What do you see instead?
Expected out should be subtitles in the series folder 

What version of the product are you using? On what operating system?
0.5.6beta on Synology NAS

Please provide any additional information below.

After letting AutoSub run I didnt get any subs in the folder, so I checked the 
logfile and it was full with errors like these:

2013-04-12 08:28:17,505 ERROR  getSubLink: The server returned an error for 
request http://api.bierdopje.com/BB442E7744E9B541/GetAllSubsFor/2153/08/08/nl
2013-04-12 08:28:17,567 ERROR  getSubLink: The server returned an error for 
request http://api.bierdopje.com/BB442E7744E9B541/GetAllSubsFor/2153/08/09/nl
2013-04-12 08:28:17,629 ERROR  getSubLink: The server returned an error for 
request http://api.bierdopje.com/BB442E7744E9B541/GetAllSubsFor/2153/08/10/nl
2013-04-12 08:28:17,692 ERROR  getSubLink: The server returned an error for 
request http://api.bierdopje.com/BB442E7744E9B541/GetAllSubsFor/2153/08/12/nl
2013-04-12 08:28:17,756 ERROR  getSubLink: The server returned an error for 
request http://api.bierdopje.com/BB442E7744E9B541/GetAllSubsFor/2153/08/19/nl
2013-04-12 08:28:17,832 ERROR  getSubLink: The server returned an error for 
request http://api.bierdopje.com/BB442E7744E9B541/GetAllSubsFor/2153/06/01/nl
2013-04-12 08:28:17,896 ERROR  getSubLink: The server returned an error for 
request http://api.bierdopje.com/BB442E7744E9B541/GetAllSubsFor/2153/06/02/nl
2013-04-12 08:28:17,961 ERROR  getSubLink: The server returned an error for 
request http://api.bierdopje.com/BB442E7744E9B541/GetAllSubsFor/2153/06/03/nl

I don't know what's wrong, maybe the user-agent is no longer accepted, but if i 
open the link in the browser all works fine and I can download the subtitles

Original issue reported on code.google.com by dennis.b...@gmail.com on 12 Apr 2013 at 6:37

GoogleCodeExporter commented 8 years ago
Seems all is working fine again. No idea what the issue was

Original comment by dennis.b...@gmail.com on 13 Apr 2013 at 8:23

GoogleCodeExporter commented 8 years ago
me, I'm still confronted with the issue Dennis described. All server requests 
for getSubLink return systematically an error.

Original comment by milancel...@gmail.com on 13 Apr 2013 at 5:31

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I thought it was just a hickup, but apparantly it's not, the log still contains 
a lot of these erros, and i've got no clue how to fix them.

here the latest logfile:
http://pastebin.com/qEKWe9q7

Original comment by dennis.b...@gmail.com on 15 Apr 2013 at 5:10

GoogleCodeExporter commented 8 years ago
Problem is related to hammering the server
If you are quick enough with Firefox you can reload an URL and you get the 
time-out error.

time.sleep(0.5) #Max 2 connections each second in Bierdopje.py must be altered
I have changed it in
time.sleep(5) #

Only problem is the check of RSS I have to alter, cause it is too quick now ;-)

Original comment by aroundmyroom on 15 Apr 2013 at 7:25

GoogleCodeExporter commented 8 years ago
even with all my series the 5 seconds gave some issues uhmm

Original comment by aroundmyroom on 15 Apr 2013 at 7:44

GoogleCodeExporter commented 8 years ago
Same error here :-(. Noticed yesterday.

Original comment by lbudzyno...@gmail.com on 16 Apr 2013 at 7:41

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Changing the time out in Bierdopje.py didnt work for me. 

Default setting was 
time.sleep(1)
i've changed it to time.sleep(5)

Here's an updated logfile.
http://pastebin.com/jiFhHsX6

Autosub did download some subtitles, but through the RSS feed.

Original comment by dennis.b...@gmail.com on 16 Apr 2013 at 8:04

GoogleCodeExporter commented 8 years ago
It seems I also have this issue.

I'm afraid it will take a long time before this gets fixed, haven't seen 
zyronix here for months.

Original comment by Donny.va...@gmail.com on 16 Apr 2013 at 7:36

GoogleCodeExporter commented 8 years ago
Same here. It downloads subtitles only for the newest episodes that are 
availabe through RSS. If episode is older, like 1 day old, then nothing is 
downloaded :-(.

Original comment by lbudzyno...@gmail.com on 16 Apr 2013 at 7:41

GoogleCodeExporter commented 8 years ago
It will not take a long time to fix, I keep an eye out on the issue's. 

This is the issue:
http://www.bierdopje.com/forum/algemeen-developers/topic/14085-Melding-bij-eigen
-tool---You-have-exceeded-your-number-of-allowed-requests-for-this-period---/las
t

HTTPError: HTTP Error 429: You have exceeded your number of allowed requests 
for this period.

Bierdopje has (yet again) made some ninja change limiting the maximum 
connections. Some users aren't affected (the have a small wanted list, as it 
should be!) and others with a larger wanted list get this error.

Working on a quick fix for this issue, expect it today or tomorrow.

Original comment by romke.va...@gmail.com on 16 Apr 2013 at 7:42

GoogleCodeExporter commented 8 years ago

Original comment by romke.va...@gmail.com on 16 Apr 2013 at 7:42

GoogleCodeExporter commented 8 years ago
romke,

that is great news. I am looking forward to your fix.

BTW, is there a way of thanking you and the others for this great tool? I use 
it on a daily basis and I would really like to show my gratitude ;-)

Original comment by lbudzyno...@gmail.com on 16 Apr 2013 at 7:48

GoogleCodeExporter commented 8 years ago
That fixed it! Short wanted list and everything works like a charm again ;-)))) 
Thanks!

Original comment by lbudzyno...@gmail.com on 16 Apr 2013 at 8:04

GoogleCodeExporter commented 8 years ago
This issue was closed by revision de0ce8cd79ab.

Original comment by romke.va...@gmail.com on 16 Apr 2013 at 8:15

GoogleCodeExporter commented 8 years ago
Pushed a new revision, can other verify that this fixes the issue? If so, I 
will create the package / binaries.

lbudzynowski, I don't really have the time any more to develop on features for 
auto-sub. I am hoping someone will stand up, fork auto-sub (or join the 'team') 
and take auto-sub to the next level. If you are not capable of doing that, 
using auto-sub is more then enough for me :)

Original comment by romke.va...@gmail.com on 16 Apr 2013 at 8:20

GoogleCodeExporter commented 8 years ago
Don't forget to remove the 'Click to reset API Calls' from the front page

Original comment by Donny.va...@gmail.com on 16 Apr 2013 at 8:30

GoogleCodeExporter commented 8 years ago
Thank you for your sharpness :)

Original comment by romke.va...@gmail.com on 16 Apr 2013 at 8:36

GoogleCodeExporter commented 8 years ago
I've updated AutoSub yesterday, but was out of API calls... (again :P )

It did run this morning, It looks like it's partially fixed, AutoSub did 
download a few subtitles for my backlog but the logfile also returned a lot of 
errors

Here's the logfile:
http://pastebin.com/4MLgiUxT

Original comment by dennis.b...@gmail.com on 17 Apr 2013 at 7:11

GoogleCodeExporter commented 8 years ago
I also still have errors after the update.

2013-04-18 23:19:42,000 ERROR  getSubLink: The server returned an error for 
request http://api.bierdopje.com/BB442E7744E9B541/GetAllSubsFor/16531/01/06/nl
2013-04-18 23:18:40,919 ERROR  API: You have exceeded your number of allowed 
requests for this period. (either 1 con/s or 300 con/day))

Original comment by Donny.va...@gmail.com on 18 Apr 2013 at 9:40

GoogleCodeExporter commented 8 years ago
I have the latest autosub Alpha 0.5.8installed on my synology and keep getting 
the same errors. Anything i can do?

Original comment by e.c.se...@gmail.com on 1 Jul 2013 at 6:44

Attachments: