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?

Kan ’n rolprent of TV-program nie vind nie? Teken aan om dit te skep.

Globaal

s fokus op soekbalk
p open profielkieslys
esc sluit ’n oop venster
? open sneltoetsvenster

Op mediablaaie

b gaan terug (na ouer waar van toepassing)
e gaan na wysigblad

Op TV-seisoenblaaie

(regterpyl) gaan na volgende seisoen
(linkerpyl) gaan na vorige seisoen

Op TV-episodeblaaie

(regterpyl) gaan na volgende episode
(linkerpyl) gaan na vorige episode

Op alle beeldblaaie

a open beeldtoevoegvenster

Op alle wysigingsblaaie

t open vertaalkieser
ctrl+ s dien form in

Op besprekingsblaaie

n skep nuwe bespreking
w tokkel kykstatus
p tokkel openbaar/privaat
c tokkel maak oop/toe
a open aktiwiteit
r reageer op bespreking
l gaan na laaste reaksie
ctrl+ enter dien u boodskap in
(regterpyl) volgende blad
(linkerpyl) vorige blad

Instellings

Wil u hierdie item gradeer of tot ’n lys toevoeg?

Teken aan