Error while mounting Google Drive

So I’m trying to mount Google Drive as my external storage, but I keep running to an error.

Expected behaviour

As I log in to my google account through ownCloud, it should normaly mount and let me use the drive.

Actual behaviour

The moment I press the “Grant Access” button, I get this yellow notification:
An error occurred while adding the external storage, please check the logs or contact the administrator
and after I log in to my google account, I get another yellow notification:
An error occurred while loading external mount point: GoogleDrive
and a popup screen shows up, showing this:
" Error verifying OAuth2 Code for googledrive

Step 2 failed. Exception: cURL error 35: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to oauth2[dot]googleapis[dot]com:443 (see curl[dot]haxx[dot]se/libcurl/c/libcurl-errors.html) for oauth2[dot]googleapis[dot]com/token"

Help me please. I have no idea what should I do to fix this.


Server configuration

Operating system:

PHP version:
7.4 (as ownCloud does not support 8.0 or above)

ownCloud version:
ownCloud (owncloud[dot]com/)10.11.0 (stable)

Updated from an older ownCloud or fresh install:
fresh install

Where did you install ownCloud from:

Login as admin user into your ownCloud and access 
paste the results into and puth the link here.


It might not be related to ownCloud but curl or openSSL. It could be related to the available ciphers for curl, which might be not accepted by the server.

As far as I know, it works with

curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
Release-Date: 2020-01-08
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets

If you’re using an old version, try to update it.

Thanks for your reply❤️

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.