The Movie Database Support

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?

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login