Hi There,
I am working on an assignment and am using the get_movie_credits and get_person_movie_credits apis. Due to the nature of the project, I have to make a number of calls within a small number of time. I even used to sleep to delay the calls by 30 secs but still no luck. I checked in the forums that mostly it can only be looked at the server side and very little can be done at client side. Pls Help!
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on September 14, 2021 at 12:55 PM
This is not usually a server side issue, it's normally about how you are handling creating and re-using connections.
Are you attempting to use keep alive connections in your app, or are you creating new connections for every request?
Reply by madhurahuja19
on May 26, 2022 at 1:00 AM
I am also facing the same issue, I have to call API multiple times in a short time span, but it shows error frequently. Unhandled Exception: SocketException: Connection reset by peer (OS Error: Connection reset by peer, errno = 104), address = api.themoviedb.org, port = 57162 How do I handle it? Please help asap.