תמיכת The Movie Database

When I call the API in my React application using Axios, it works fine and consistently returns a response. However, when I call the same API using Postman or in my .NET application with RestSharp, I sometimes receive a response and other times encounter an SSL issue. I have already attempted to fix the problem, but it still persists, showing the following inner exception:

"Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."

What should I do next?

3 תגובות (בדף 1 מתוך 1)

Jump to last post

@aman_sharma.17 said:
TMDB API Failed
When I call the API in my React application using Axios, it works fine and consistently returns a response.
However, when I call the same API using Postman or in my .NET application with RestSharp, I sometimes receive a response and other times encounter an SSL issue.
I have already attempted to fix the problem, but it still persists, showing the following inner exception:

"Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host."

What should I do next?

Maybe these links will help:
SSL / TLS ERROR
2023-10-19 https://www.themoviedb.org/talk/6531b98e9ac535087755c46a
2021-05-11 https://www.themoviedb.org/talk/609b316c8dbc33005858d98e
2020-12-07 https://www.themoviedb.org/talk/5fce79b8c0348b0040124570
2020-10-02 https://www.themoviedb.org/talk/5f769ee4021cee00372ae511
2020-06-21 https://www.themoviedb.org/talk/5eef5fc22e2b2c00376cc835
2020-04-16 https://www.themoviedb.org/talk/5e987f2fb339030015a2743c
2019-12-17 https://www.themoviedb.org/talk/5df8e40d26dac10012566e2c
https://www.themoviedb.org/talk/search?advanced_search=&query=SSL&with_category=&with_status%5B%5D=closed&with_status%5B%5D=open

Additionally, see what admin Travis Bell informed a user. (2023-11-20)

It looks like you're trying to connect via SSL3 (which is TLS 1.0) which has been deprecated for multiple years.
You need to make sure you are trying to connect with TLS 1.1 or higher.
TLS 1.1 is going to be deprecated soon, so you should really make sure you're using TLS 1.2 or 1.3.

https://www.themoviedb.org/talk/6559e1fe7f054018d24895fd?page=1#655b8728ea84c710910e9dd2

Thanks for the update. Just to clarify, I’ve already explicitly set the security protocol in my code to use TLS 1.2 (and 1.3 where applicable): System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; Despite this, I'm still encountering the same issue. Note: I am using .NET 8. Happy to provide additional details if needed.

@aman_sharma.17 said:

Thanks for the update.
Just to clarify, I’ve already explicitly set the security protocol in my code to use TLS 1.2 (and 1.3 where applicable):
System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
Despite this, I'm still encountering the same issue.
Note: I am using .NET 8.
Happy to provide additional details if needed.

Personally, I can't help. I don't understand any of this.
I think it would be better to add something in the title of this conversation to draw the attention of other users who know about these tools.
For example:
TMDB API Failed - using .NET 8
Or something else that draws attention

.לא מצאת סרט או סדרה? היכנס כדי ליצור אותם

עולמי

s התמקד בשורת החיפוש
p פתח תפריט פרופיל
esc סגור חלון פתוח
? פתח חלון קיצורי דרך של מקלדת

בדפי מדיה

b לך חזרה (או אל הורה אם ישים)
e לך אל דף עריכה

בדפי עונות

(חץ ימני) לך אל העונה הבאה
(חץ שמאלי) לך אל העונה הקודמת

בדפי סדרות

(חץ ימני) לך אל הפרק הבא
(חץ שמאלי) לך אל הפרק הקודם

בכל דפי תמונה

a פתח חלון הוספת תמונה

בכל דפי עריכה

t פתח בוחר תרגום
ctrl+ s הגש טופס

בדפי דיון

n צור דיון חדש
w עורר מעמד צפייה
p עורר ציבורי/פרטי
c עורר סגירה/פתיחה
a פתח פעילות
r השב אל דיון
l לך אל תשובה אחרונה
ctrl+ enter הגש את הודעתך
(חץ ימני) הדף הבא
(חץ שמאלי) הדף הקודם

הגדרות

?רוצה לדרג או להוסיף פריט אל רשימה

היכנס