Supporto The Movie Database

Starting today, I began getting API errors when trying to use the TMDB API.

If I try a curl command to access the API using the example API command curl --request GET --url 'https://api.themoviedb.org/3/movie/11?api_key=xxxxxxxxxxxxxxxxxxxxxxxxx'

I get the following error:

curl: (60) SSL: no alternative certificate subject name matches target host name 'api.themoviedb.org'
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

I looked at the URL in the error message, but couldn't find any clues. It seems like maybe there is something amiss with the SSL cert on the server? I know some API maintenance happened yesterday, so I wonder if this is a holdover from that. Does anyone have any ideas?

3 risposte (nella pagina 1 di 1)

Jump to last post

Hi @binkatl, I tried that curl command and it works ok for me.

Just looking around I found this recent curl bug, if you are running that version. Otherwise I have no idea, it might be due to maintenance, I would probably try again tomorrow.

Thanks, yeah I'm using curl 7.68.0 on Ubuntu 20.04, so that's not the issue.

Also, I tried the same command from my home machine and it's working fine. But my server (located in Finland) is throwing the error. Possibly reaching a different API server? I don't know ... but yeah I'm happy to wait and see if it works tomorrow.

So here's an update... turns out it was due to Cloudflare DNS. I switched my DNS to Google DNS and now it's working. Strange!

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi