Title: SugarSync API: cUrl Error: Unknown SSL protocol error
Last modified: August 22, 2016

---

# SugarSync API: cUrl Error: Unknown SSL protocol error

 *  Resolved [kuck1u](https://wordpress.org/support/users/kuck1u/)
 * (@kuck1u)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/)
 * Hi.
 * My WordPress environment has enabled SSL.
    An error occurs if try to backup to
   SugarSync.
 * > SugarSync API: cUrl Error: Unknown SSL protocol error in connection to api.
   > sugarsync.com:443
 * ・Server
    Nginx 1.7 PHP 5.6.3 cURL 7.39 The curl of PHP is running on OpenSSL.
 * [https://wordpress.org/plugins/backwpup/](https://wordpress.org/plugins/backwpup/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Plugin Contributor [Daniel Hüsken](https://wordpress.org/support/users/danielhuesken/)
 * (@danielhuesken)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517810)
 * I can reproduce it. I will look what i kan do. Taht will take some time.
 *  Plugin Contributor [Daniel Hüsken](https://wordpress.org/support/users/danielhuesken/)
 * (@danielhuesken)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517814)
 * Quick solution:
    open the file inc\class-destination-sugarsync.php and replace
   all `curl_setopt( $curl, CURLOPT_SSLVERSION, 3 );` with `curl_setopt( $curl, 
   CURLOPT_SSLVERSION, 1 );`
 *  Thread Starter [kuck1u](https://wordpress.org/support/users/kuck1u/)
 * (@kuck1u)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517816)
 * Thank you.
    An error has been resolved.
 *  [kimmarla](https://wordpress.org/support/users/kimmarla/)
 * (@kimmarla)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517946)
 * I’m having the same problem, so I want to try this fix. How do I access this 
   file?
    inc\class-destination-sugarsync.php
 *  [Peninah](https://wordpress.org/support/users/highlight_creative/)
 * (@highlight_creative)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517956)
 * Via ftp, go to wp-content > plugins > Backwpup > inc > class-destination-sugarsync.
   php
 *  [Peninah](https://wordpress.org/support/users/highlight_creative/)
 * (@highlight_creative)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517957)
 * I did this, the job ran successfully but returned the following warning:
 * WARNING: curl_setopt() expects parameter 1 to be resource, null given
 * Is this an issue? Does it mean I missed something?
 *  [LaFranglaise](https://wordpress.org/support/users/lafranglaise/)
 * (@lafranglaise)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517965)
 * Thank you Daniel Hüsken – is this a temporary fix or will it be incorporated 
   in the next version of the plugin ?
 *  Plugin Contributor [Daniel Hüsken](https://wordpress.org/support/users/danielhuesken/)
 * (@danielhuesken)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517974)
 * That will be fixed with the next version but in moment i can’t say when.
 *  [kimmarla](https://wordpress.org/support/users/kimmarla/)
 * (@kimmarla)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517989)
 * Is it just me? I hate to be negative, but it seems like it will be much easier
   to get a different plugin instead of rewriting code on 16 sites.
 *  [kimmarla](https://wordpress.org/support/users/kimmarla/)
 * (@kimmarla)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517990)
 * Is this problem only with SugarSync? Would it work without modifying the code
   if I was backing up to Google Drive?
 *  [Peninah](https://wordpress.org/support/users/highlight_creative/)
 * (@highlight_creative)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517994)
 * Thanks, Daniel!
 *  Plugin Contributor [Daniel Hüsken](https://wordpress.org/support/users/danielhuesken/)
 * (@danielhuesken)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517996)
 * [@kimmarla](https://wordpress.org/support/users/kimmarla/): Backup to Google 
   drive is a PRO version feature.

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘SugarSync API: cUrl Error: Unknown SSL protocol error’ is closed to new
replies.

 * ![](https://ps.w.org/backwpup/assets/icon-256x256.png?rev=3236141)
 * [BackWPup – WordPress Backup & Restore Plugin](https://wordpress.org/plugins/backwpup/)
 * [Support Threads](https://wordpress.org/support/plugin/backwpup/)
 * [Active Topics](https://wordpress.org/support/plugin/backwpup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/backwpup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/backwpup/reviews/)

 * 12 replies
 * 5 participants
 * Last reply from: [Daniel Hüsken](https://wordpress.org/support/users/danielhuesken/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/sugarsync-api-curl-error-unknown-ssl-protocol-error/#post-5517996)
 * Status: resolved