The Movie Database Support

Appears a recent change to TLS level broke my site, I was running .net 4.5. Tried rebuilding with 4.6.1 to no avail. Little google digging, adding the following fixed my issue.

Just in case anyone else is running into the same problem.

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

6 replies (on page 1 of 1)

Jump to last post

I'm having the same issue. Rebuilt with 4.6.1 and no luck. Where did you put the statement?

System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12

I have it inside the sub that makes the WebRequest. Thanks...

See this article for more information:

According to the article, upgrading to 4.6 or above should work. Upgrading to framework 4.6.2 worked for me. Note that they suggest not specifying the TLS version but to instead configure your code to let the OS decide on the TLS version. Configuring it that way will allow your code to automatically take advantage of new protocols added in the future.

Thank you Elizabeth. The article was very helpful. Upgrading to 4.7.2 worked like a charm!

@WardenclyffeTower Hi Elizabeth, Is there any working solution for resolving this min TLS 1.1 issue for Retrofit 2 Library in android. The solutions available in are not working. Any help is Appreciated.

Sorry, I can't help with Retrofit 2.

OK. Thanks...


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