Server returned HTTP response code: 403

Support for Windows users
Post Reply
viking
Power User
Posts: 128
Joined: 14 Jul 2013, 08:21

Server returned HTTP response code: 403

Post by viking »

I am now getting errors when I try to DL subtitles, e.g.:

Code: Select all

Fetching [English] subtitles [The.Blacklist.S04E16.HDTV.x264-SVA.srt] from [OpenSubtitles]
Failed to download The.Blacklist.S04E16.HDTV.x264-SVA.srt: java.io.IOException: Server returned HTTP response code: 403 for URL: https://dl.opensubtitles.org/en/download/src-api/vrf-19bf0c56/sid-GOC5nDwHU,1MB175vJzb0sWAve2/file/1955536146.gz
If I enter the link in my browser
https://dl.opensubtitles.org/en/downloa ... 5536146.gz
the subtitle file downloads fine.
Last edited by viking on 22 Apr 2017, 16:59, edited 1 time in total.
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: java.io.IOException:

Post by rednoah »

Sometimes it works. Sometimes it doesn't.

"403 Forbidden" would be a strange server error to send though. Maybe you have exceeded your quota or maybe your account is blocked. Maybe it's just a temporary problem and it'll work again tomorrow.
:idea: Please read the FAQ and How to Request Help.
viking
Power User
Posts: 128
Joined: 14 Jul 2013, 08:21

Re: java.io.IOException

Post by viking »

I am still not able to download any subtitles since yesterday. I am not over quota as I am only downloading 2-4 subtitles/day. I am no longer getting the 403 response, but I still get the java.io.EOFException:

Code: Select all

Powerless;  Downloaded= 4/21/2017 10:11:12 AM; Powerless.S01E09.Emergency.Punch-Up.720p.WEB.x264-HEAT[rarbg].mkv
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
Fetching [English] subtitles [Powerless.S01E09.HDTV.x264-LOL-DIMENSIN-HI.srt] from [OpenSubtitles]
Failed to download Powerless.S01E09.HDTV.x264-LOL-DIMENSIN-HI.srt: java.io.EOFException
Looking up subtitles by name via OpenSubtitles
Failed to read video properties: For input string: "1291123.000000"
Fetching [English] subtitles [Powerless.S01E09.HDTV.x264-LOL-DIMENSIN.srt] from [OpenSubtitles]
Failed to download Powerless.S01E09.HDTV.x264-LOL-DIMENSIN.srt: java.io.EOFException
No matching subtitles found: P:\Ultimate_Server\Television\Powerless\Season 1\Powerless.S01E09.Emergency.Punch-Up.720p.WEB.x264-HEAT[rarbg].mkv
p.s. I corrected the title by removing the 403 response.
viking
Power User
Posts: 128
Joined: 14 Jul 2013, 08:21

Re: java.io.IOException

Post by viking »

UPDATE:
I was using Filebot with filebot-r4941.jar or filebot-r4991.jar when I got the errors.

I now upgraded to the latest FileBot.jar.xz.gpg (as of 4/22/17)

Code: Select all

runScript 'sysinfo'
Showed the version as FileBot 4.7.9 (r5043)

Now I no longer get the java.io.IOException and subtitles download fine :)

I guess that there were problems with builds 4941 & 4991?
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Server returned HTTP response code: 403

Post by rednoah »

Most likely, OpenSubtitles just happened to not work then, and happens to work now.
:idea: Please read the FAQ and How to Request Help.
viking
Power User
Posts: 128
Joined: 14 Jul 2013, 08:21

Re: Server returned HTTP response code: 403

Post by viking »

This is very frustrating.
I get these errors 90% of the time since April 21st.

Code: Select all

Failed to download The.Flash.2014.S03E19.HDTV.x264-SVA.srt: java.io.IOException: Server returned HTTP response code: 403 for URL: https://dl.opensubtitles.org/en/download/src-api/vrf-19b20c51/sid-JkyT2Eg,HO5Dd-AmGYfHr74LTx0/file/1955541091.gz
I almost never had this issue in the past, and I have download a few subtitles every day for about 2 years.

It appears that the only solution may be to go back to manual downloads which is very time consuming :( ?
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Server returned HTTP response code: 403

Post by rednoah »

OpenSubtitles is using CloudFlare now, so presumably CloudFlare is sending back a 403 Forbidden error code for some reason (e.g. DDoS rules being triggered for your IP).

I'd ask the OpenSubtitles developers if they can change the security level for requests to dl.opensubtitles.org so it doesn't block non-Browser requests. You could also try a proxy or VPN to access OpenSubtitles from a different location and IP address.
:idea: Please read the FAQ and How to Request Help.
viking
Power User
Posts: 128
Joined: 14 Jul 2013, 08:21

Re: Server returned HTTP response code: 403

Post by viking »

Actually, it was the other way around. I was already using a VPN and had added "dl.opensubtitles.org" to my routing table so that it would bypass the VPN.

However, to add it to my routing table, I needed to specify an IP address (I don't think that there is a way to use the name "dl.opensubtitles.org" in a routing table - at least not on windows??).

The IP adress for "dl.opensubtitles.org" was 69.16.179.28. However, I now discovered that they had changed it, so it is now 104.25.131.104. When I added this address to the routing table, I no longer get these errors!

Thanks for reminding me to check!

BTW, talking about CloudFlare; It seems that you are using them as well now. Every time I try to go to filbot.net, I must answer these very annoying CAPTCHAs :(
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Server returned HTTP response code: 403

Post by rednoah »

Since your VPN is shared, there's probably a few malicious users as well, so CloudFlare probably already banned those IPs.

I guess the solution is not using this particular VPN when accessing sites that are using CloudFlare.
:idea: Please read the FAQ and How to Request Help.
viking
Power User
Posts: 128
Joined: 14 Jul 2013, 08:21

Re: Server returned HTTP response code: 403

Post by viking »

1. Do you know if there is a way to use the name "dl.opensubtitles.org" in a routing table instead of the IP address on windows?
2. Is there a way to avoid these very annoying CloudFlare CAPTCHAs on filebot,net?
User avatar
rednoah
The Source
Posts: 22975
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Server returned HTTP response code: 403

Post by rednoah »

1.
No idea. My first thought would be too just Google it as well.

2.
No. But I never get them. You'd have to ask CloudFlare. It's probably the IP you're using that's already been blacklisted by CloudFlare.
:idea: Please read the FAQ and How to Request Help.
Post Reply