The Movie Database-ondersteuning

I tried to use this link as an image source in Flutter using the Image widget, however, it always says Connection reset by peer (OS Error: Connection reset by peer, errno = 54), address = image.tmdb.org, port = 49997

Image(  
          image: NetworkImage('https://image.tmdb.org/t/p/w500/y4MBh0EjBlMuOzv9axM4qJlmhzz.jpg'),  
        );  

The complete error message is here:

The following SocketException was thrown resolving an image codec:
Connection reset by peer (OS Error: Connection reset by peer, errno = 54), address = image.tmdb.org, port = 51046

When the exception was thrown, this was the stack:
Image provider: NetworkImage("https://image.tmdb.org/t/p/w500/y4MBh0EjBlMuOzv9axM4qJlmhzz.jpg", scale: 1.0)
Image key: NetworkImage("https://image.tmdb.org/t/p/w500/y4MBh0EjBlMuOzv9axM4qJlmhzz.jpg", scale: 1.0)

I HAVE Tried:

  • Replace the link with some other public source, and then it works without error.
  • Using CachedNetworkImage instead, not working...
  • Open the link directly in the browser or in the HTML img tag, works
  • Using the terminal command to visit the server, not working
    % curl -I https://image.tmdb.org/t/p/w500/y4MBh0EjBlMuOzv9axM4qJlmhzz.jpg curl: (35) Recv failure: Connection reset by peer

How to figure this out? Does anybody know?

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op tv-seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met tv-series

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c schakelen sluiten/openen
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen