Throttling opensubtitlescom for 10 minutes, until 24/10/27 10:18, because of: APIThrottled. Exception info: "'' ~ opensubtitlescom.py@548"

VIP member and bazzar is doing this why=)? it was working fine yesterday
Throttling opensubtitlescom for 10 minutes, until 24/10/27 10:18, because of: APIThrottled. Exception info: “‘’ ~ opensubtitlescom.py@548”

I’m also having problems fetching subtitles using Bazarr. The login endpoint seems to return a 502 when Bazarr wants to log in:

$ curl -v -H 'User-Agent: Bazarr/1.4.5' -H 'Api-Key: <key>' -H 'Content-Type: application/json' --post302 --data '{"username": "<user>", "password": "<pw>"}' https://api.opensubtitles.com/api/v1/login
*   Trying [2606:4700:3033::ac43:d994]:443...
* Connected to api.opensubtitles.com (2606:4700:3033::ac43:d994) port 443 (#0)
* ALPN: offers h2,http/1.1
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN: server accepted h2
* Server certificate:
*  subject: CN=opensubtitles.com
*  start date: Sep 23 07:50:51 2024 GMT
*  expire date: Dec 22 07:50:50 2024 GMT
*  subjectAltName: host "api.opensubtitles.com" matched cert's "*.opensubtitles.com"
*  issuer: C=US; O=Google Trust Services; CN=WE1
*  SSL certificate verify ok.
* using HTTP/2
* h2h3 [:method: POST]
* h2h3 [:path: /api/v1/login]
* h2h3 [:scheme: https]
* h2h3 [:authority: api.opensubtitles.com]
* h2h3 [accept: */*]
* h2h3 [user-agent: Bazarr/1.4.5]
* h2h3 [api-key: <key>]
* h2h3 [content-type: application/json]
* h2h3 [content-length: 48]
* Using Stream ID: 1 (easy handle 0x5618fdf1d7c0)
> POST /api/v1/login HTTP/2
> Host: api.opensubtitles.com
> accept: */*
> user-agent: Bazarr/1.4.5
> api-key: <key>
> content-type: application/json
> content-length: 48
>
* We are completely uploaded and fine
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
< HTTP/2 502
< date: Sun, 27 Oct 2024 17:10:29 GMT
< content-type: text/plain; charset=UTF-8
< content-length: 15
< report-to: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=SVlXvNHH2No7froPjOQp9aucAePdeDyb30Lbv%2BhaxzV%2Bjl2HofNiHltsVvRYMTGlNi8u%2FvSi57UZnAq2cvPwcow3uWVAAu1Nx7yw4D%2BeLzmgjTC4qe209PBuGCRgjN4ROi5qqQHxbUpAF1G569zG%2BqTCOj8%3D"}],"group":"cf-nel","max_age":604800}
< nel: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
< strict-transport-security: max-age=15552000; includeSubDomains; preload
< x-content-type-options: nosniff
< x-frame-options: SAMEORIGIN
< referrer-policy: same-origin
< cache-control: private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
< expires: Thu, 01 Jan 1970 00:00:01 GMT
< server: cloudflare
< cf-ray: 8d944cc0ae1bb95c-AMS
< alt-svc: h3=":443"; ma=86400
< server-timing: cfL4;desc="?proto=TCP&rtt=2286&sent=8&recv=9&lost=0&retrans=0&sent_bytes=3445&recv_bytes=924&delivery_rate=1772129&cwnd=35&unsent_bytes=0&cid=00a0ca3dc965352f&ts=85&x=0"
<
* Connection #0 to host api.opensubtitles.com left intact
error code: 502

So its not just me. I had this all day : opensubtitlescom APIThrottled

The API was down for a while on sunday.

When it comes to bazarr, we will always start every email question by directing users to the troubleshooting guide

in this case the log wasn’t needed, but for future references…

1 Like