We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.

Forum Discussion

Lukag's avatar
Lukag
Collaborator | Level 8
31 days ago

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

The first time that i enter in my page i have this error "The request was aborted: Could not create SSL/TLS secure channel."

If i reload the page this don't appare and it works.

This is the code : 

Dim _command As String
_command = "https://www.dropbox.com/oauth2/authorize?client_id=" & _App_key 
_command += "&response_type=code"
_command += "&redirect_uri=https://xxxxxx.xxxxx.xx/Test.aspx"

 

Dim Request As HttpWebRequest
Request = HttpWebRequest.Create(_command)
Request.Method = "GET"
Request.KeepAlive = True
ServicePointManager.Expect100Continue = True
ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 Or SecurityProtocolType.Tls11 Or SecurityProtocolType.Tls Or SecurityProtocolType.Ssl3

Request.ContentType = "application/x-www-form-urlencoded" '"application/json" ' application/x-www-form-urlencoded"
Request.AllowAutoRedirect = True
Dim Response As HttpWebResponse = Request.GetResponse()

 

Is anything about timeout ? 

Why if i reload the page this works ?  

Thank you

Luca

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Based on the error message, your machine is having trouble establishing a secure connection to Dropbox. The Dropbox servers are being served with valid SSL/TLS configurations though, and I'm not aware of any current service disruptions that should be causing this. You may want to check if you have any firewall, proxy, VPN, anti-virus, or other security software, etc. that may be interfering with your connections.

     

    Regardless, I see you're attempting to load the contents of the www.dropbox.com/oauth2/authorize page programmatically though. That is a web page that should be loaded directly in the user's system web browser. You should not retrieve it via code. Please refer to the OAuth Guide for more information.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,877 PostsLatest Activity: 12 months ago
325 Following

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!