Page 1 of 2

Problem with downloading subs

Posted: 28 Oct 2016 00:37
by xceno22
I have a problem with dowloading subs in VLC since the last 1-2 days, on Windows 10.
When trying to download subs it says "Extension VLsub 0.9.13 does not respond". No search is done.
Often but not all the time, when opening the player, it says that "Oops VLC media player just crashed".
Have re-installed 2.2.4, also tried with older versions like 2.2.2, using different laptops, tried 32 bit as well as 64 bit. Nothing helps.
Very annoying. What's going on?

Re: Problem with downloading subs

Posted: 28 Oct 2016 12:01
by Q10
I have also the same problem, I also cannot find and download subs anymore.
The VLC player crashes after giving the same error as the announcement above,
to use it again, I have to restart the PC.

Re: Problem with downloading subs

Posted: 28 Oct 2016 13:05
by Nosmo
I have experienced the same problem for about the last 3 or 4 days. I'm using version 2.2.4.0.
I'll get a crash report when I click on VLC and close the report request and VLC will start. When I try searching for subtitles I get "Extension VLsub 0.9.13 does not respond".

Before this problem began I tried download subtitles and got the message that the site was overloaded
Could it be they are no longer honoring the VL sub 0.9.13 request for subtitles ?

Re: Problem with downloading subs

Posted: 28 Oct 2016 15:33
by sketches
I found out by accident that if you wait about +/- 1 minute, after the "Extension VLsub 0.9.13 does not respond" message appears and you don't click to close vlsub, it will work and results of the search will appear (both by hash or name).

So technically it's still working but the long wait and error message are annoying.

Hope this helps.

Re: Problem with downloading subs

Posted: 28 Oct 2016 16:24
by Q10
I tried it for more then 1 minute, and it works as you write, but if there are no subs then the "Extension VLsub 0.9.13" keep searching for subs, till you click it away.

I hope that it will quickly be made, otherwise have to search for subs, the old fasion way.

Re: Problem with downloading subs

Posted: 28 Oct 2016 16:51
by xceno22
I found out by accident that if you wait about +/- 1 minute, after the "Extension VLsub 0.9.13 does not respond" message appears and you don't click to close vlsub, it will work and results of the search will appear (both by hash or name).

So technically it's still working but the long wait and error message are annoying.

Hope this helps.
Thank you! :)
That works. Still annoying though...

Re: Problem with downloading subs

Posted: 28 Oct 2016 20:38
by Nosmo
Thank you for the reply. I'm going to give this a try.

Re: Problem with downloading subs

Posted: 28 Oct 2016 22:43
by mederi
The related "watchdog" ticket: https://trac.videolan.org/vlc/ticket/17561

Re: Problem with downloading subs

Posted: 29 Oct 2016 12:22
by Nosmo
I tried the suggested solution by sketches and waited much longer than a minute. It did not work for me. Hopefully a fix will be found shortly.

Re: Problem with downloading subs

Posted: 29 Oct 2016 14:30
by Rémi Denis-Courmont
OpenSubtitles.org has apparently updated their servers. That uncovered latent bugs in the very dumb HTTP support of the VLSub extension.

To work around the problem (you might need administrator privileges):
  • Go to the VLC installation directory.
  • Look for the file named lua/extensions/VLSub.luac.
  • Open that file in a binary or hexadecimal editor. (DO NOT USE a text editor.)
  • Look for the character sequence "HTTP/1.1" (without quotes).
  • Replace the last one by a zero: "HTTP/1.0".
  • Repeat the procedure; there should be a second occurence in the file.
  • Save the file.
  • (Re)start VLC.

Re: Problem with downloading subs

Posted: 29 Oct 2016 17:34
by xceno22
Thanks Rémi for the instructions, it worked for me. :)

Re: Problem with downloading subs

Posted: 29 Oct 2016 18:32
by sketches
Thanks Rémi that fixed it.

Used Hex Editor Neo to edit the file, for some reason Free Hex Editor wasn't able to apply the changes.

Re: Problem with downloading subs

Posted: 29 Oct 2016 20:55
by Nosmo
Hex Editor Neo worked for me too. :-) Thank you for the cure. Nosmo

Re: Problem with downloading subs

Posted: 30 Oct 2016 11:03
by Nosmo
I thought I had the problem cured but -- Now the extension shows searching for subtitles but never finds any. I've tried it several times on movies I know have subtitles. I did change both HTTP/1.1 to HTTP/1.0. There must be something else to change in my version.

Using 2.2.4.0 and I am using Windows 7.

Re: Problem with downloading subs

Posted: 30 Oct 2016 12:52
by Mystik

Re: Problem with downloading subs

Posted: 30 Oct 2016 14:46
by xceno22
For me, the free version of Hex Editor Neo worked just fine.
http://www.hhdsoftware.com/free-hex-editor

Re: Problem with downloading subs

Posted: 30 Oct 2016 18:13
by Nosmo
https://github.com/exebetche/vlsub/issues/143
Quote : For users of VLSub: in meantime you can add to your hosts file:
92.240.234.122 api.opensubtitles.org
This should fix it. Don't forget to delete this entry once new VLSub is released
______________________________________________________________________________________
I added this to my Hosts File and it is working on some movies. By some movies I mean I am trying it out on the ones I have subtitles for already and I know they are available. When I try the View feature and search for subtitles some will show them and some almost immediately show a green line.

Re: Problem with downloading subs

Posted: 31 Oct 2016 12:47
by Q10
Rémi Denis-Courmont thank you for the information, it worked.
sketches; thank you for giving the information about Hex Editor Neo, could manage it with this editor.

Re: Problem with downloading subs

Posted: 31 Oct 2016 18:02
by Gilliam
Rémi Denis-Courmont thank you for the information, it worked.
sketches; thank you for giving the information about Hex Editor Neo, could manage it with this editor.
It didn't help me much - The extension shows searching for subtitles but never finds any.

Re: Problem with downloading subs

Posted: 01 Nov 2016 11:09
by Nosmo
Gillam: go to your host file in Windows and add this URL.
92.240.234.122 api.opensubtitles.org
Later on when VLC is updated with the fix remove this from your host file.

Use Admin. to operate note pad to do the editing.

Re: Problem with downloading subs

Posted: 03 Nov 2016 10:09
by kastuvas
Gillam: go to your host file in Windows and add this URL.
92.240.234.122 api.opensubtitles.org
Later on when VLC is updated with the fix remove this from your host file.

Use Admin. to operate note pad to do the editing.
ha great thanks, it worked!

Re: Problem with downloading subs

Posted: 04 Nov 2016 19:45
by rocky
OpenSubtitles.org has apparently updated their servers. That uncovered latent bugs in the very dumb HTTP support of the VLSub extension.

To work around the problem (you might need administrator privileges):
  • Go to the VLC installation directory.
  • Look for the file named lua/extensions/VLSub.luac.
  • Open that file in a binary or hexadecimal editor. (DO NOT USE a text editor.)
  • Look for the character sequence "HTTP/1.1" (without quotes).
  • Replace the last one by a zero: "HTTP/1.0".
  • Repeat the procedure; there should be a second occurence in the file.
  • Save the file.
  • (Re)start VLC.
Worked perfectly for me, for both VLC portable from Portableapps and for VLC for Ubuntu.
I guess old installations that get updated don't fix the issue automatically...

Windows:
VLCPortable/App/vlc/lua/extensions/VLSub.luac

Ubuntu:
/usr/lib/vlc/lua/extensions/VLSub.luac

Re: Problem with downloading subs

Posted: 06 Nov 2016 14:48
by str8arrow
Thanks so much!!
These instructions worked for me.

for anyone having difficulty:

I used HxD (Windows10 pro x64), as my Hex Editor (freeware).
-Copy vlsub.luac to your desktop or a non-write protected location.
-Open the file in HxD.
-SEARCH>FIND > enter HTTP 1.1 >click OK
-Type '0' to replace the last digit
(to change <HTTP 1.1> to <HTTP 1.0>)
-REPEAT to find /replace 2nd occurrence, save and place vlsub.luac back into the original location

The first time you run it do NOT search by hash -just search by name. I had a lag...it appeared not to work at first.
It eventually found some subs.
I stopped and restarted VLC, then used VLsub again - this time, it worked flawlessly, searching both by name and by hash.
Just be aware that there may be an initial lag, and that you may need to stop/restart VLC and retry VLSub....

Hope this helps someone!
str8arrow.

Re: Problem with downloading subs

Posted: 06 Nov 2016 17:47
by arto
hi tanx for the possible solution, i've download de hex editor and load the VLC file and search at SEARCH>FIND > enter HTTP 1.1 but it could'nt find HTTP 1.1, only HTTP I,put the 0 afther the letterP but than the 0 TURNS IN TO A RED coloured letter the dot and the other0 to i dare not to save it and use it in vlc

Re: Problem with downloading subs

Posted: 24 Nov 2016 13:34
by Bartelli
Gillam: go to your host file in Windows and add this URL.
92.240.234.122 api.opensubtitles.org
Later on when VLC is updated with the fix remove this from your host file.

Use Admin. to operate note pad to do the editing.
This fix works for me a well. A lot easier than hex editing a file. This should be the prefered way.
Thank you!