locked
not stable problem exception "Could not create SSL/TLS secure channel" RRS feed

  • Question

  • I have a function which creates a WCF client (with certificate) and next is the call to https SOAP service. A function runs on a timer. Periodically (not constantly) the function falls in an error  "WebException: The request was aborted: Could not create SSL/TLS secure channel". 

    My problem is similar to described in this blog post https://social.msdn.microsoft.com/Forums/ru-RU/ca6372be-3169-4fb5-870f-bfbea605faf6/azure-webapp-webjob-exception-could-not-create-ssltls-secure-channel?forum=windowsazurewebsitespreview

    After the restart the problem does not reproduced (some timer iteration) . But it appears after some time.

    I tryed to add in code SecurityProtocolType.Tls12, change .NET framework version (4.5.2-4.6.1) for functions dependecys.. But the problem is still reproduce.

    Because of the instability I got the impression that a function like run on different hosts. And this problem is reproduced only on a certain host.

    The appearance of this error is very critical issue for me.

    Thursday, September 1, 2016 7:13 AM