The request was aborted: Could not create SSL/TLS secure channel.

Discussion in 'General troubleshooting' started by brucebro, Oct 14, 2020.

  1. I am suddenly getting the error above on my winhost app. It just started Monday night (10/12) or Tuesday morning (10/13). I am trying to grab data from another site. It was working previously for quite a long time. No changes were made by me. (Some were made just now to try to fix it).

    The relevant function works on my personal test machine, just not up on the winhost site.

    I'm just a retired hobbyist programmer, so I don't know much about network communications, but at some point I did add the following two lines to the appropriate code:
    ServicePointManager.Expect100Continue = true;
    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;

    The app throws the error on the next line of my code:
    bWebData = wc.DownloadData(sURL);

    If anyone has any ideas what happened and how I can attempt to fix it, I greatly appreciate it!
  2. Elshadriel

    Elshadriel Winhost Staff

  3. Thanks Winhost, for the very quick and efficient reply. The issue has been taken care of.

Share This Page