Announcement

Collapse
No announcement yet.

MyQ Errors

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • MyQ Errors

    My question isn't related to plug-ins here, but rather some custom code I am doing to access the MyQ API.

    These are the repeated errors I get and have been since the 3rd week in June.

    The request was aborted: Could not create SSL/TLS secure channel.
    Has anyone found a solution for this?

  • #2
    What platform are you running this code on? Starting in June, the MyQ servers apparently were changed to enforce TLS 1.2 or greater connectivity. Many older platforms do not support TLS 1.2 yet. The users of the plugin on Linux with older versions of Mono are having the same issue until they update their Mono software.

    Comment


    • #3
      On Windows 7-64, so no problem there. I was doing this in .NET with custom scripts.
      I had to change the UserAgent and MyQApplicationID, but most importantly, I had to add these two lines which I previously didn't have.
      Code:
              System.Net.ServicePointManager.Expect100Continue = True
              System.Net.ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12

      Comment

      Working...
      X