FileBot Subtitles does not work in Denmark

All your suggestions, requests and ideas for future development
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

FileBot Subtitles does not work in Denmark

Post by Ohlers »

I just bought FileBot from App Store...
I have just opened an OpenSubtitles account, but when loggin in from FileBot subtitles, a network error occur?
I can open my OpenSubtitles account in browser, no problems...
I did a restart, but no change... same notification from Open Subtitles: a network error occurred
If I do a manual search, the connection is reset...

please help... I need some developer love :D
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Subtitles for Mac OS X

Post by rednoah »

The OpenSubtitles API that programs talk to is different from the website that humans talk to. The former may be down when the latter is not. If you get a network error, then it's most likely a temporary issue, and it might just be working again if you try a day later.

You may find additional information in the logs:

Code: Select all

$HOME/Library/Containers/net.filebot.FileBot.Subtitles/Data/Library/Application Support/User Data
:idea: Please read the FAQ and How to Request Help.
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles for Mac OS X

Post by Ohlers »

Thank you
Today is no different, still network error... Is OpenSubtitles API for programs down often?
what do I do with your code?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Subtitles for Mac OS X

Post by rednoah »

I've tested the OpenSubtitles API from places in Europe and Asia and it works everywhere I can test. If there's network issues that nobody else experiences, then it's most likely down stream on your machine, or your router, or your ISP, etc. You could try via VPN or from a different location and see if it makes a difference.

I posted the file path to the folder were you will find logs. $HOME refers to your users home folder. You can open that folder and then look at the log files for more information.
:idea: Please read the FAQ and How to Request Help.
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles for Mac OS X

Post by Ohlers »

Im sorry but there is no containers with filebot data
not in application support, not in Library.
all i can find is FileBot and FileBot subtitles apps.
I bought the FileBot from Appstore, and downloaded the FileBot subtitle from this forum.
Is there some components missing in the installation?
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles for Mac OS X

Post by Ohlers »

I have 3 macs online on the same router, all fine connected to internet, uploading and downloading just fine, with or without VPN.
emails,Internet, etc.. all running with no issues. I dont see any problems with downstream.
Last edited by Ohlers on 28 Jan 2018, 10:59, edited 1 time in total.
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles for Mac OS X

Post by Ohlers »

all Macs are OSX 10.13.2
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Subtitles for Mac OS X

Post by rednoah »

Please run this command and post the output:

Code: Select all

cat "$HOME/Library/Containers/net.filebot.FileBot.Subtitles/Data/Library/Application Support/User Data/error.log"
The error.log file can't not exist. It may be empty if FileBot Subtitles is run for the first time, but it's definitely created the first time FileBot Subtitles is started.

:idea: I would appreciate a screenshot of the error message that you see when it's not working.

:idea: It's working from here at this point in time. My best guess is that the issue is limited to you or your ISP but unfortunately I don't have a solution for you.
:idea: Please read the FAQ and How to Request Help.
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles for Mac OS X

Post by Ohlers »

Im sorry - my mistake - I forgot to look for Library with alt key. I found it via CleanMyMac - here is the error.log:

Code: Select all

Jan 27, 2018 5:32:58 PM net.filebot.ui.subtitle.SubtitleAutoMatchDialog$QueryTask doInBackground
WARNING: A network error occurred.
redstone.xmlrpc.XmlRpcException: A network error occurred.
	at redstone.xmlrpc.XmlRpcClient.endCall(Unknown Source)
	at redstone.xmlrpc.XmlRpcClient.invoke(Unknown Source)
	at net.filebot.web.OpenSubtitlesXmlRpc.invoke(OpenSubtitlesXmlRpc.java:345)
	at net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit.invoke(OpenSubtitlesClient.java:539)
	at net.filebot.web.OpenSubtitlesXmlRpc.login(OpenSubtitlesXmlRpc.java:65)
	at net.filebot.web.OpenSubtitlesClient.login(OpenSubtitlesClient.java:390)
	at net.filebot.web.OpenSubtitlesClient.lambda$getSubtitleList$2(OpenSubtitlesClient.java:114)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.Cache$TypedCache.computeIf(Cache.java:176)
	at net.filebot.Cache.computeIfAbsent(Cache.java:96)
	at net.filebot.Cache$TypedCache.computeIfAbsent(Cache.java:181)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:113)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:206)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleListByHash(OpenSubtitlesClient.java:216)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:181)
	at net.filebot.subtitle.SubtitleUtilities.lookupSubtitlesByHash(SubtitleUtilities.java:70)
	at net.filebot.ui.subtitle.SubtitleAutoMatchDialog$VideoHashSubtitleServiceBean.getSubtitleList(SubtitleAutoMatchDialog.java:915)
	at net.filebot.ui.subtitle.SubtitleAutoMatchDialog$SubtitleServiceBean.lookupSubtitles(SubtitleAutoMatchDialog.java:877)
	at net.filebot.ui.subtitle.SubtitleAutoMatchDialog$QueryTask.doInBackground(SubtitleAutoMatchDialog.java:746)
	at net.filebot.ui.subtitle.SubtitleAutoMatchDialog$QueryTask.doInBackground(SubtitleAutoMatchDialog.java:718)
Caused by: java.net.SocketException: Connection reset
	... 20 more

Jan 27, 2018 5:33:20 PM net.filebot.ui.subtitle.SubtitleAutoMatchDialog$QueryTask doInBackground
WARNING: A network error occurred.
redstone.xmlrpc.XmlRpcException: A network error occurred.
	at redstone.xmlrpc.XmlRpcClient.endCall(Unknown Source)
	at redstone.xmlrpc.XmlRpcClient.invoke(Unknown Source)
	at net.filebot.web.OpenSubtitlesXmlRpc.invoke(OpenSubtitlesXmlRpc.java:345)
	at net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit.invoke(OpenSubtitlesClient.java:539)
	at net.filebot.web.OpenSubtitlesXmlRpc.login(OpenSubtitlesXmlRpc.java:65)
	at net.filebot.web.OpenSubtitlesClient.login(OpenSubtitlesClient.java:390)
	at net.filebot.web.OpenSubtitlesClient.lambda$getSubtitleList$9(OpenSubtitlesClient.java:169)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.Cache$TypedCache.computeIf(Cache.java:176)
	at net.filebot.Cache.computeIfAbsent(Cache.java:96)
	at net.filebot.Cache$TypedCache.computeIfAbsent(Cache.java:181)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:168)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:127)
	at net.filebot.subtitle.SubtitleUtilities.findSubtitlesByName(SubtitleUtilities.java:185)
	at net.filebot.ui.subtitle.SubtitleAutoMatchDialog$SubtitleProviderBean.getSubtitleList(SubtitleAutoMatchDialog.java:940)
	at net.filebot.ui.subtitle.SubtitleAutoMatchDialog$SubtitleServiceBean.lookupSubtitles(SubtitleAutoMatchDialog.java:877)
	at net.filebot.ui.subtitle.SubtitleAutoMatchDialog$QueryTask.doInBackground(SubtitleAutoMatchDialog.java:746)
	at net.filebot.ui.subtitle.SubtitleAutoMatchDialog$QueryTask.doInBackground(SubtitleAutoMatchDialog.java:718)
Caused by: java.net.SocketException: Connection reset
	... 18 more

Jan 27, 2018 5:39:06 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 5:39:40 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 5:40:36 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 5:40:55 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 5:42:30 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 5:42:45 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 5:45:11 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 5:51:03 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 5:58:34 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 6:01:01 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 6:04:29 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 6:13:30 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 6:41:15 PM net.filebot.ui.AbstractSearchPanel$FetchTask done
WARNING: Connection reset
java.util.concurrent.ExecutionException: redstone.xmlrpc.XmlRpcException: A network error occurred.
	at net.filebot.ui.AbstractSearchPanel$FetchTask.done(AbstractSearchPanel.java:267)
Caused by: redstone.xmlrpc.XmlRpcException: A network error occurred.
	at redstone.xmlrpc.XmlRpcClient.endCall(Unknown Source)
	at redstone.xmlrpc.XmlRpcClient.invoke(Unknown Source)
	at net.filebot.web.OpenSubtitlesXmlRpc.invoke(OpenSubtitlesXmlRpc.java:345)
	at net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit.invoke(OpenSubtitlesClient.java:539)
	at net.filebot.web.OpenSubtitlesXmlRpc.login(OpenSubtitlesXmlRpc.java:65)
	at net.filebot.web.OpenSubtitlesClient.login(OpenSubtitlesClient.java:390)
	at net.filebot.web.OpenSubtitlesClient.lambda$getSubtitleList$9(OpenSubtitlesClient.java:169)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.Cache$TypedCache.computeIf(Cache.java:176)
	at net.filebot.Cache.computeIfAbsent(Cache.java:96)
	at net.filebot.Cache$TypedCache.computeIfAbsent(Cache.java:181)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:168)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:127)
	at net.filebot.ui.subtitle.SubtitlePanel$SubtitleRequestProcessor.fetch(SubtitlePanel.java:299)
	at net.filebot.ui.AbstractSearchPanel$FetchTask.doInBackground(AbstractSearchPanel.java:252)
	at net.filebot.ui.AbstractSearchPanel$FetchTask.doInBackground(AbstractSearchPanel.java:239)
Caused by: java.net.SocketException: Connection reset
	... 16 more

Jan 27, 2018 7:02:05 PM net.filebot.ui.AbstractSearchPanel$FetchTask done
WARNING: Connection reset
java.util.concurrent.ExecutionException: redstone.xmlrpc.XmlRpcException: A network error occurred.
	at net.filebot.ui.AbstractSearchPanel$FetchTask.done(AbstractSearchPanel.java:267)
Caused by: redstone.xmlrpc.XmlRpcException: A network error occurred.
	at redstone.xmlrpc.XmlRpcClient.endCall(Unknown Source)
	at redstone.xmlrpc.XmlRpcClient.invoke(Unknown Source)
	at net.filebot.web.OpenSubtitlesXmlRpc.invoke(OpenSubtitlesXmlRpc.java:345)
	at net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit.invoke(OpenSubtitlesClient.java:539)
	at net.filebot.web.OpenSubtitlesXmlRpc.login(OpenSubtitlesXmlRpc.java:65)
	at net.filebot.web.OpenSubtitlesClient.login(OpenSubtitlesClient.java:390)
	at net.filebot.web.OpenSubtitlesClient.lambda$getSubtitleList$9(OpenSubtitlesClient.java:169)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.Cache$TypedCache.computeIf(Cache.java:176)
	at net.filebot.Cache.computeIfAbsent(Cache.java:96)
	at net.filebot.Cache$TypedCache.computeIfAbsent(Cache.java:181)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:168)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:127)
	at net.filebot.ui.subtitle.SubtitlePanel$SubtitleRequestProcessor.fetch(SubtitlePanel.java:299)
	at net.filebot.ui.AbstractSearchPanel$FetchTask.doInBackground(AbstractSearchPanel.java:252)
	at net.filebot.ui.AbstractSearchPanel$FetchTask.doInBackground(AbstractSearchPanel.java:239)
Caused by: java.net.SocketException: Connection reset
	... 16 more

Jan 27, 2018 7:11:23 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 7:13:20 PM net.filebot.ui.subtitle.SubtitlePanel$3$1 actionPerformed
WARNING: OpenSubtitles: A network error occurred.
Jan 27, 2018 7:13:49 PM net.filebot.ui.AbstractSearchPanel$FetchTask done
WARNING: Connection reset
java.util.concurrent.ExecutionException: redstone.xmlrpc.XmlRpcException: A network error occurred.
	at net.filebot.ui.AbstractSearchPanel$FetchTask.done(AbstractSearchPanel.java:267)
Caused by: redstone.xmlrpc.XmlRpcException: A network error occurred.
	at redstone.xmlrpc.XmlRpcClient.endCall(Unknown Source)
	at redstone.xmlrpc.XmlRpcClient.invoke(Unknown Source)
	at net.filebot.web.OpenSubtitlesXmlRpc.invoke(OpenSubtitlesXmlRpc.java:345)
	at net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit.invoke(OpenSubtitlesClient.java:539)
	at net.filebot.web.OpenSubtitlesXmlRpc.login(OpenSubtitlesXmlRpc.java:65)
	at net.filebot.web.OpenSubtitlesClient.login(OpenSubtitlesClient.java:390)
	at net.filebot.web.OpenSubtitlesClient.lambda$getSubtitleList$9(OpenSubtitlesClient.java:169)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.Cache$TypedCache.computeIf(Cache.java:176)
	at net.filebot.Cache.computeIfAbsent(Cache.java:96)
	at net.filebot.Cache$TypedCache.computeIfAbsent(Cache.java:181)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:168)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:127)
	at net.filebot.ui.subtitle.SubtitlePanel$SubtitleRequestProcessor.fetch(SubtitlePanel.java:299)
	at net.filebot.ui.AbstractSearchPanel$FetchTask.doInBackground(AbstractSearchPanel.java:252)
	at net.filebot.ui.AbstractSearchPanel$FetchTask.doInBackground(AbstractSearchPanel.java:239)
Caused by: java.net.SocketException: Connection reset
	... 16 more

Jan 27, 2018 7:15:40 PM net.filebot.ui.AbstractSearchPanel$FetchTask done
WARNING: Connection reset
java.util.concurrent.ExecutionException: redstone.xmlrpc.XmlRpcException: A network error occurred.
	at net.filebot.ui.AbstractSearchPanel$FetchTask.done(AbstractSearchPanel.java:267)
Caused by: redstone.xmlrpc.XmlRpcException: A network error occurred.
	at redstone.xmlrpc.XmlRpcClient.endCall(Unknown Source)
	at redstone.xmlrpc.XmlRpcClient.invoke(Unknown Source)
	at net.filebot.web.OpenSubtitlesXmlRpc.invoke(OpenSubtitlesXmlRpc.java:345)
	at net.filebot.web.OpenSubtitlesClient$OpenSubtitlesXmlRpcWithRetryAndFloodLimit.invoke(OpenSubtitlesClient.java:539)
	at net.filebot.web.OpenSubtitlesXmlRpc.login(OpenSubtitlesXmlRpc.java:65)
	at net.filebot.web.OpenSubtitlesClient.login(OpenSubtitlesClient.java:390)
	at net.filebot.web.OpenSubtitlesClient.lambda$getSubtitleList$9(OpenSubtitlesClient.java:169)
	at net.filebot.Cache.computeIf(Cache.java:90)
	at net.filebot.Cache$TypedCache.computeIf(Cache.java:176)
	at net.filebot.Cache.computeIfAbsent(Cache.java:96)
	at net.filebot.Cache$TypedCache.computeIfAbsent(Cache.java:181)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:168)
	at net.filebot.web.OpenSubtitlesClient.getSubtitleList(OpenSubtitlesClient.java:127)
	at net.filebot.ui.subtitle.SubtitlePanel$SubtitleRequestProcessor.fetch(SubtitlePanel.java:299)
	at net.filebot.ui.AbstractSearchPanel$FetchTask.doInBackground(AbstractSearchPanel.java:252)
	at net.filebot.ui.AbstractSearchPanel$FetchTask.doInBackground(AbstractSearchPanel.java:239)
Caused by: java.net.SocketException: Connection reset
	... 16 more
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Subtitles for Mac OS X

Post by rednoah »

So the underlying issue is that the TCP/IP connection is being reset. Maybe that's because OpenSubtitles is blocking your IP. Maybe it's because your country or ISP is blocking OpenSubtitles. There's probably nothing you can do other than accessing OpenSubtitles from a different location.

Code: Select all

Caused by: java.net.SocketException: Connection reset
:idea: Please read the FAQ and How to Request Help.
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles for Mac OS X

Post by Ohlers »

I can acces OpenSubtitle just fine from browser. No problem with access to OpenSubtitle from my browser.
- and I can login to OpenSubtitles from my browser, with my new user account. But still , you say there is a different API for the FileBotSubtitle.
Im sure You get by now that I am not a seasoned programmer of any sorts. I just paid up to use the software. Ive got 3TB of movies that needs fixing and cleaning up...

What would you suggest is causing my TCP/IP connection to reset? It reads - "Caused by: java.net.SocketException"
What is that? Maybe I can investigate better if I understand what to look out for?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Subtitles for Mac OS X

Post by rednoah »

The website may very well be OK since it's running on a different host / server and possibly served by CloudFlare and not the actual OpenSubtitles server. If the website works, but the api does not, then that might indicate that api.opensubtitles.org is explicitly blocking you. If you happen to live in a place that interferes with HTTPS connections (e.g. China) then that might explain why connections are reset randomly.

Please run this command and post the output:

Code: Select all

curl -v -X POST 'https://api.opensubtitles.org/xml-rpc' -d '<methodCall><methodName>ServerInfo</methodName><params></params></methodCall>'
:idea: Please read the FAQ and How to Request Help.
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles for Mac OS X

Post by Ohlers »

how should I run this command? (I live in Denmark)
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Subtitles for Mac OS X

Post by rednoah »

You can open Terminal, then copy and paste the command, and then press enter to run the command.
:idea: Please read the FAQ and How to Request Help.
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles for Mac OS X

Post by Ohlers »

I googled it ... so Terminal (I am not used to this, ok?)

Code: Select all

Last login: Sat Jan 27 17:57:04 on console
[Hans-Henriks-Mac-mini:~] henrik% curl -v -X POST 'https://api.opensubtitles.org/xml-rpc' -d '<methodCall><methodName>ServerInfo</methodName><params></params></methodCall>'
Note: Unnecessary use of -X or --request, POST is already inferred.
*   Trying 194.251.244.150...
* TCP_NODELAY set
* Connected to api.opensubtitles.org (194.251.244.150) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/cert.pem
  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to api.opensubtitles.org:443 
* stopped the pause stream!
* Closing connection 0
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to api.opensubtitles.org:443 
[Hans-Henriks-Mac-mini:~] henrik%
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Subtitles for Mac OS X

Post by rednoah »

SSL connection can't be established.

Let's try with simple HTTP for good measure and see what happens:

Code: Select all

curl -v 'http://api.opensubtitles.org/xml-rpc' -d '<methodCall><methodName>ServerInfo</methodName><params></params></methodCall>'
:idea: Please read the FAQ and How to Request Help.
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles for Mac OS X

Post by Ohlers »

Code: Select all

curl -v 'http://api.opensubtitles.org/xml-rpc' -d '<methodCall><methodName>ServerInfo</methodName><params></params></methodCall>'
*   Trying 194.251.244.150...
* TCP_NODELAY set
* Connected to api.opensubtitles.org (194.251.244.150) port 80 (#0)
> POST /xml-rpc HTTP/1.1
> Host: api.opensubtitles.org
> User-Agent: curl/7.54.0
> Accept: */*
> Content-Length: 77
> Content-Type: application/x-www-form-urlencoded
> 
* upload completely sent off: 77 out of 77 bytes
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Server: BigIP
* HTTP/1.0 connection set to keep alive!
< Connection: Keep-Alive
< Content-Length: 1369
< 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Share with care</title>
</head>

<style type="text/css">
body{
	background-color:#fff;
}


.holder{
   width:960px;
   min-height:600px;
   margin:auto auto;
}
.top-holder{
   margin:200px 0 0 0 ;
}
.holder img{
   display: block;
   margin-left: auto;
   margin-right: auto;
}
.tekst p{
text-align:center;
margin-top:30px;
}
.tekst a{
color:#d2232a;
}
.tekst a:hover{
color:#000;
}
</style>

<body>


	<div class="holder">
     <div class="top-holder">
	 <div class="logo"><img src="img/share-with-care-logo.jpg" alt="Share With Care"></img></div>
	 
	 <div class="tekst"><p>UPS<br>
   Du har prøvet at få adgang til en hjemmeside, som er ulovlig, fordi<br>
   den krænker ophavsretten. Derfor er internetudbyderne blevet pålagt<br>
   at blokere for adgang til siden.<br>
   Vi vil opfordre dig til at bruge nogle af de mange muligheder for at<br>
   bruge og købe lovlige produkter. Du kan se en oversigt over lovlige<br>
   hjemmesider på <a href="http://www.sharewithcare.dk/">http://www.sharewithcare.dk/</a><br>

</p></div>
		

	</div><!--top-holder slut-->


	</div><!--holder slut-->



</body>
</html>

* Connection #0 to host api.opensubtitles.org left intact
[Hans-Henriks-Mac-mini:~] henrik%
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles for Mac OS X

Post by Ohlers »

you were right - this is the english translation:
You have tried to access a website that is illegal because <br>
it violates copyright. Therefore, ISPs have been imposed <br>
to block access to the page. <br>
We would encourage you to use some of the many opportunities for <br>
Use and buy legitimate products. You can see an overview of legal <br>
websites

I just dont get it, if I can acces the browser version just fine?
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles for Mac OS X

Post by Ohlers »

How do I acces from FileBotSubtitles with VPN? I tried opening my TorGuard VPN, but still no connection from FBS
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Subtitles for Mac OS X

Post by rednoah »

Your Danish ISP is interfering with the connection. Secure connections are simply blocked, while HTTP requests are hijacked answered by your ISP with some Danish warning message. You will need to use a VPN to access OpenSubtitles API from a different country that doesn't block OpenSubtitles API.

I can't help you with TorGuard VPN. Tools such as OpenVPN would typically router any and all connections through the VPN so it should work for any and all applications once the VPN is turned on.
:idea: Please read the FAQ and How to Request Help.
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles does not work in Denmark

Post by Ohlers »

ok... so Im a bit of a loss here. FileBot is not that cheap... It would have been nice to just have a working solution, without having to deal with illegal issues. Is downloading subtitles illegal?

Allright - just one more question, and I´ll leave you in peace. This concerns Filebot: Is it possible to set a fixed "fetch data" choice, when I rename movies, so I dont have to click, select and chose the same moviedatabase over and over again?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Subtitles does not work in Denmark

Post by rednoah »

Interestingly, api.opensubtitles.org resolves to different IPs for you and me.

You:

Code: Select all

* Connected to api.opensubtitles.org (194.251.244.150) port 443 (#0)
Me:

Code: Select all

* Connected to api.opensubtitles.org (104.25.131.104) port 80 (#0)
Interestingly, curl 194.251.244.150 returns the same error message, so your ISP is using DNS poisoning to "redirect" OpenSubtitles. You might be able to use Google DNS instead of your ISPs default DNS server to get around the issue.


Manually setting the host / IP mapping in the hosts file might also be an option:
https://www.imore.com/how-edit-your-mac ... would-want
:idea: Please read the FAQ and How to Request Help.
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: FileBot Subtitles does not work in Denmark

Post by rednoah »

Ohlers wrote: 28 Jan 2018, 18:26 ok... so Im a bit of a loss here. FileBot is not that cheap... It would have been nice to just have a working solution, without having to deal with illegal issues. Is downloading subtitles illegal?
That depends on where you live. The Danish government seems to think that it's not quite legal. AFAIK, Apple doesn't allow subtitle apps in the app store because it's legally a grey area. I'm not a lawyer and I have never been to Denmark so I can't give you legal advice there.

Please note that FileBot Media Renamer is a paid application on the App Store, which is separate from FileBot Subtitles which is distributed on the internet as is for free.
:idea: Please read the FAQ and How to Request Help.
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles does not work in Denmark

Post by Ohlers »

interesting ... I will try understand this in the following days . I was not prepared to get this much involved in heavy "under the hood" maneuvres...

I also see that you changed the name of the thread and moved it away from the download link to FileBot Subtitles. Perhaps also put a warning visible in your site that promotes FileBot ? Your software is cool but not dead-cheap, so I need it to work. Couldnt understand why there was no subtitles in FileBot. All your videos show the old version, and it took me a good 2-3 hours to figure out what was wrong, having to sign up on this forum, and even in here it was not easy at all to find the right information (i.e. the thread with download link to FileBot Subtitles)
Ohlers
Posts: 31
Joined: 27 Jan 2018, 16:11

Re: FileBot Subtitles does not work in Denmark

Post by Ohlers »

not be a pester, but it states clearly:

"Fetching subtitles is just as easy, just drop it in! Besides automatic lookup you'll also be able to manually search and download subtitles, preview subtitles and fix encoding problems (e.g. force UTF-8).
Drag your movie or episode files onto the top-right === drop area
Hit "Download"!

I respect this is not your fault, but from Apple and what not...It would have saved me a lot of trouble though, to be informed more correctly, before paying for the app.
Post Reply