Suport de The Movie Database

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?

No trobeu una pel·lícula o una sèrie? Inicieu la sessió per a crear-la.

Global

s centra la barra de cerca
p obre el menú del perfil
esc tanca una finestra oberta
? obre la finestra de dreceres de teclat

A les pàgines de materials

b torna enrere (o la superior quan sigui aplicable)
e ves a la pàgina d’edició

A les pàgines de temporades

(fletxa dreta) ves a la temporada següent
(fletxa esquerra) ves a la temporada anterior

A les pàgines d'episodis

(fletxa dreta) ves a l'episodi següent
(fletxa esquerra) ves a l'episodi anterior

A totes les pàgines d'imatges

a obre la finestra d'afegir imatges

A totes les pàgines d'edició

t obre el selector de traducció
ctrl+ s envia el formulari

A les pàgines de debat

n crea un debat nou
w canvia l'estat de visualització
p canvia públic/privat
c tanca o obre
a obre activitat
r resposta al debat
l ves a la darrera resposta
ctrl+ enter envieu el vostre missatge
(fletxa dreta) pàgina següent
(fletxa esquerra) pàgina anterior

Configuracions

Desitgeu valorar o afegir aquest element a una llista?

Inicieu la sessió