Author Topic: Download subtitles is not working !!! Help.  (Read 30254 times)

Offline r314

  • Newbie
  • Posts: 2
  • Helpful Contribution Status: +0/-0
Re: Download subtitles is not working !!! Help.
« Reply #225 on: January 05, 2017, 11:33:58 pm »
Hello all,

here is opensubtitles admin. I know opensubtitles support is currently broken in Mede8er. First of all - we didn't update API, it is not broken, because some fault on our site. The story is simple - we started utilise CLOUDFLARE CDN, this will save us 50% of traffic, what API is generating. Result of this is, that CHUNKED response is sent. For more technical users, please follow here: https://github.com/exebetche/vlsub/issues/143

For non-technical users explanation is simple: Cloudflare is supporting HTTP 1.1 transfer, where Mede8er states it can support HTTP 1.1, but in reality not.

Possible fixes:
in order to fix this problem, program needs to connect DIRECTLY to OS servers, that means api.opensubtitles.org needs to resolve to 92.240.234.122

And now questions come - how to do it.

Well, in computer system it is quite easy, one have to edit /etc/hosts file and add:
92.240.234.122  api.opensubtitles.org

Another solution is add custom name server, where it will be translated like this

From Mede8er developers - if they would be able to change API host to mede8er.api.opensubtitles.org then we might help

I just want to give you guys light to problem and that we are here to cooperate and I believe we will fix this together. Personally I didn't peek into mede8er player, so maybe more skilled will help how to do it directly there.

Thanks. it works!!! I set up my Synology NAS to behave as a intermediate DNS server to resolve api.opensubtitles.or to the ip you mentioned and forward everything else to the router. Then I set I up my medi8er to use DHCP with manual DNS using the IP of my NAS. Deal done, I can download subtitles again :)

Offline opensubtitles

  • Newbie
  • Posts: 8
  • Helpful Contribution Status: +1/-0
Re: Download subtitles is not working !!! Help.
« Reply #226 on: January 06, 2017, 05:03:16 am »
that was easy, congratulations :)

Offline livevil

  • Newbie
  • Posts: 2
  • Helpful Contribution Status: +0/-0
Re: Download subtitles is not working !!! Help.
« Reply #227 on: January 07, 2017, 05:19:14 pm »
Thanks. it works!!! I set up my Synology NAS to behave as a intermediate DNS server to resolve api.opensubtitles.or...
I was thinking of using a Raspberry as a DNS server to redirect to the correct IP but your solution is way much easier to implement  :D ... and it works !!!

Thanks man !

Offline djeqa3

  • B8a Tester - 1000X3D
  • Newbie
  • ****
  • Posts: 40
  • Helpful Contribution Status: +1/-11
Re: Download subtitles is not working !!! Help.
« Reply #228 on: January 09, 2017, 07:35:36 am »
I don't understand how the problem solved
Can you explain more please
Explain step by step to understand

Thanks all

Offline jer1956

  • Global Moder8or
  • M8er Addict
  • *****
  • Posts: 17 135
  • Helpful Contribution Status: +189/-52
Re: Download subtitles is not working !!! Help.
« Reply #229 on: January 09, 2017, 09:11:16 am »
There are plenty of posts saying why the problem appeared, and what the solutions on offer are. Most people don't want to know why realtek chips have DNS issues, every Mede8er I've had suffers from it. I don't know why either. It's buried deep in realteks design/SDK. It drops any network connection where the DNS response is too slow.  Most users are just happy to use any DNS workaround that fixes the current DNS problem. They all work by responding quicker to DNS requests. In this case by running a lan based DNS server with an explicit record for the failing DNS request, one which by-passes the Cloudflare added delay.

So are you saying you have a Synology NAS you would like to set up to do it?

P.S. DNS Request...Asking a DNS server for the IP linked to a domain name. In this case api.opensubtitles.org.
« Last Edit: January 09, 2017, 09:32:45 am by jer1956 »

Offline djeqa3

  • B8a Tester - 1000X3D
  • Newbie
  • ****
  • Posts: 40
  • Helpful Contribution Status: +1/-11
Re: Download subtitles is not working !!! Help.
« Reply #230 on: January 09, 2017, 03:40:20 pm »
i dont have a Synology NAS

only i have med1000x3d

what can i do to download subtitles again ?

Offline jer1956

  • Global Moder8or
  • M8er Addict
  • *****
  • Posts: 17 135
  • Helpful Contribution Status: +189/-52

Offline jer1956

  • Global Moder8or
  • M8er Addict
  • *****
  • Posts: 17 135
  • Helpful Contribution Status: +189/-52
Re: Download subtitles is not working !!! Help.
« Reply #232 on: January 11, 2017, 12:06:21 pm »
Our trailer source, ytapi.com, was reported as having issues. It is also using cloudflare. This is something which can be tested using a PC. I got the following cloudflare error in my browser window...

https://support.cloudflare.com/hc/en-us/articles/200171906-Error-522-Connection-timed-out

This error could also be the problem with opensubtitles.org, but using the player we cannot see the cloudflare error reported.

Ytapi are looking at possible server/isp issues at their end, and have done some changes based on the above link.

Offline paput

  • Newbie
  • Posts: 2
  • Helpful Contribution Status: +0/-0
Re: Download subtitles is not working !!! Help.
« Reply #233 on: January 12, 2017, 06:10:10 pm »
I renew my post in this topic

I want to give example of modification of my router that works.I change api.opensubtiles.org address  in host file and it works only local on the router, but it doesn't work on devices behind a NAT.
Please read this art https://github.com/RMerl/asuswrt-merlin/wiki/Custom-domains-with-dnsmasq
In our example, you must use this line: address=/api.opensubtitles.org/92.240.234.122
It should work on each router based on linux.

Offline Finarasa

  • Newbie
  • Posts: 2
  • Helpful Contribution Status: +0/-0
Re: Download subtitles is not working !!! Help.
« Reply #234 on: December 01, 2017, 08:42:42 am »
Alternative ways to help you download youtube subtitles and other subtitles: https://isubtitles.in/ and http://downsub.com/

Offline pizarro1

  • Newbie
  • Posts: 1
  • Helpful Contribution Status: +0/-0
Re: Download subtitles is not working !!! Help.
« Reply #235 on: December 25, 2017, 10:23:41 am »
Old topic but giving it a bump, because I managed to get it working again with my router running DD-WRT firmware.

Under Services I added the following DNSMasq line:

address=/opensubtitles/api.opensubtitles.org./92.240.234.122

https://gyazo.com/799765fd56982e4c9324520eb8a2ec4c

It works like a charm again!

https://gyazo.com/a0088037420d8d6c97d2cbadc7df1b26