The Movie Database -tuki

Hi, I am using the API for loading some backdrop images using the configuration API. However, during development, I get a series of GET request errors shown in the link below.

Image of errors

The thing is, it doesnt happen all the time, but at random times making it hard to debug. Can anyone explain what is happening here? At the moment, the image url is being used to dynamically load backdrop images into an element in React.

5 vastausta (sivulla 1, sivuja yhteensä 1)

Jump to last post

Hi @mikey123555,

My understanding based on this article I found it that it's more to do with how you're accessing your development app and Chrome not liking mixed content. Are you accessing it locally over SSL, or over just over plain HTTP? I assume HTTP?

If that's the case, for dev, you should switch your image calls to be just HTTP. If you end up deploying this in production on an SSL end point, you should then switch your image calls to HTTPS.

Ah, so Im actually using localhost on port 3000. So would this be plain HTTP then? Should I then modify the image call url to be HTTP instead?

Correct, HTTP in dev.

Okay so I took your advice and tried two things:

1) I changed my dev server to HTTPS, but still got the same error. 2) I changed the image url to HTTP and left the dev server alone, and still got the error.

Here is the console log, showing the new image src urls and the continuing error:

Errors

Any thoughts?

I'm afraid I don't. You'll have to dig into what's actually causing the error in Chrome. I've never seen it so I am not sure.

Etkö löydä elokuvaa tai TV-ohjelmaa? Kirjaudu sisään lisätäksesi se.

Koko sivustolla

s keskitä hakukenttään
p avaa profiilivalikko
esc sulje avoin ikkuna
? avaa pikanäppäinikkuna

Mediasivuilla

b palaa takaisin (tai hakemistoon mikäli mahdollista)
e siirry editoimaan sivua

TV-sarjan kausien sivuilla

(oikea nuolinäppäin) siirry seuraavaan kauteen
(vasen nuolinäppäin) siirry edelliseen kauteen

TV-sarjan jaksojen sivuilla

(oikea nuolinäppäin) siirry seuraavaan jaksoon
(vasen nuolinäppäin) siirry edelliseen jaksoon

Kaikilla kuvasivustoilla

a avaa "lisää kuva" ikkuna

Kaikilla muokkaus-sivuilla

t avaa kielivalinta
ctrl+ s Lähetä lomake

Keskustelu sivuilla

n luo uusi keskustelu
w vaihda seurannan asetus
p vaihda julkinen/yksityinen asetus
c vaihda avaa/sulje asetus
a avaa viimeaikainen toiminta
r vastaa keskusteluun
l siirry viimeisimpään vastaukseen
ctrl+ enter Lähetä viesti
(oikea nuolinäppäin) seuraava sivu
(vasen nuolinäppäin) edellinen sivu

Asetukset

Haluatko pisteyttää vai lisätä tämän nimikkeen listaan?

Kirjaudu

Ei rekisteröitynyt jäsen?

Rekisteröidy ja liity mukaan yhteisöön