Sorry,I did not attached the full text of the error message
Code: Select all
Rename episodes using [TheTVDB]
Auto-detected query: [Titans, 泰坦 titans, 泰坦]
Fetch failed: https://api.thetvdb.com/search/series?name=Titans
java.lang.IllegalStateException: Failed to retrieve authorization token: Connection reset
at net.filebot.web.TheTVDBClient.getAuthorizationToken(TheTVDBClient.java:131)
at net.filebot.web.TheTVDBClient.getRequestHeader(TheTVDBClient.java:96)
at net.filebot.web.TheTVDBClient.lambda$requestJson$0(TheTVDBClient.java:81)
at net.filebot.CachedResource.lambda$fetchIfModified$9(CachedResource.java:215)
at net.filebot.CachedResource.lambda$null$0(CachedResource.java:87)
at net.filebot.CachedResource.retry(CachedResource.java:121)
at net.filebot.CachedResource.lambda$get$1(CachedResource.java:87)
at net.filebot.Cache.computeIf(Cache.java:90)
at net.filebot.CachedResource.get(CachedResource.java:82)
at net.filebot.web.TheTVDBClient.requestJson(TheTVDBClient.java:81)
at net.filebot.web.TheTVDBClient.search(TheTVDBClient.java:139)
at net.filebot.web.TheTVDBClient.fetchSearchResult(TheTVDBClient.java:158)
at net.filebot.WebServices$TheTVDBClientWithLocalSearch.access$101(WebServices.java:193)
at net.filebot.WebServices$TheTVDBClientWithLocalSearch.lambda$fetchSearchResult$4(WebServices.java:213)
Caused by: javax.net.ssl.SSLException: Connection reset
at net.filebot.web.WebRequest.post(WebRequest.java:198)
at net.filebot.web.TheTVDBClient.postJson(TheTVDBClient.java:75)
at net.filebot.web.TheTVDBClient.getAuthorizationToken(TheTVDBClient.java:127)
... 13 more
Suppressed: java.net.SocketException: Broken pipe (Write failed)
at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:351)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:263)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:258)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:137)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1180)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1091)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:402)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:187)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1356)
at java.base/sun.net.www.protocol.http.HttpURLConnection$8.run(HttpURLConnection.java:1323)
at java.base/sun.net.www.protocol.http.HttpURLConnection$8.run(HttpURLConnection.java:1321)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:688)
at java.base/java.security.AccessController.doPrivilegedWithCombiner(AccessController.java:940)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1320)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:242)
at net.filebot.web.WebRequest.post(WebRequest.java:198)
at net.filebot.web.TheTVDBClient.postJson(TheTVDBClient.java:75)
at net.filebot.web.TheTVDBClient.getAuthorizationToken(TheTVDBClient.java:127)
at net.filebot.web.TheTVDBClient.getRequestHeader(TheTVDBClient.java:96)
at net.filebot.web.TheTVDBClient.lambda$requestJson$0(TheTVDBClient.java:81)
at net.filebot.CachedResource.lambda$fetchIfModified$9(CachedResource.java:215)
at net.filebot.CachedResource.lambda$null$0(CachedResource.java:87)
at net.filebot.CachedResource.retry(CachedResource.java:121)
at net.filebot.CachedResource.lambda$get$1(CachedResource.java:87)
at net.filebot.Cache.computeIf(Cache.java:90)
at net.filebot.CachedResource.get(CachedResource.java:82)
at net.filebot.web.TheTVDBClient.requestJson(TheTVDBClient.java:81)
at net.filebot.web.TheTVDBClient.search(TheTVDBClient.java:139)
at net.filebot.web.TheTVDBClient.fetchSearchResult(TheTVDBClient.java:158)
at net.filebot.WebServices$TheTVDBClientWithLocalSearch.access$101(WebServices.java:193)
at net.filebot.WebServices$TheTVDBClientWithLocalSearch.lambda$fetchSearchResult$4(WebServices.java:213)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:835)
Caused by: java.net.SocketException: Connection reset
... 16 more
When I run
in my router, I got below result:
Code: Select all
* Trying 104.16.228.14...
* TCP_NODELAY set
* Connected to api.thetvdb.com (104.16.228.14) port 443 (#0)
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: none
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
* ALPN, server accepted to use http/1.1
* Server certificate:
* subject: OU=Domain Control Validated; OU=PositiveSSL Multi-Domain; CN=ssl418142.cloudflaressl.com
* start date: Mar 7 00:00:00 2019 GMT
* expire date: Sep 13 23:59:59 2019 GMT
* subjectAltName: host "api.thetvdb.com" matched cert's "*.thetvdb.com"
* issuer: C=GB; ST=Greater Manchester; L=Salford; O=COMODO CA Limited; CN=COMODO ECC Domain Validation Secure Server CA 2
* SSL certificate verify ok.
> GET / HTTP/1.1
> Host: api.thetvdb.com
> User-Agent: curl/7.64.1
> Accept: */*
>
< HTTP/1.1 401 Unauthorized
< Date: Tue, 09 Jul 2019 05:45:38 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 26
< Connection: keep-alive
< Set-Cookie: __cfduid=d602b5e7ba5707fa13562688b1f58d7b61562651137; expires=Wed, 08-Jul-20 05:45:37 GMT; path=/; domain=.thetvdb.com; HttpOnly
< Cache-Control: private, max-age=600
< Vary: Accept-Language
< Www-Authenticate: JWT realm=jwt auth
< X-Powered-By: Thundar!
< X-Thetvdb-Api-Version: 2.2.0
< Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
< Server: cloudflare
< CF-RAY: 4f37fe28abd2d1db-HKG
<
* Connection #0 to host api.thetvdb.com left intact
{"Error":"Not authorized"}* Closing connection 0
When I run the same command in my Synology NAS, here is the result:
Code: Select all
curl -v https://api.thetvdb.com/
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to api.thetvdb.com:443
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to api.thetvdb.com:443
Something is wrong in my Synology NAS configuration or just like you mentioned is the CN GreatWall issue?