Page 1 of 1

Can't connect to Sharepoint in linux

PostPosted: Sat Jun 09, 2018 8:23 am
by gkr
Hi, having happily used Syncovery for many years on Windows, I'm trying out the Linux version, but having trouble with Sharepoint (have also tried with both of the OneDrive protocols, with similar errors).

Code: Select all
Syncovery 7.98 on Debian
localhost:8999
Protocol: Sharepoint
Domain: herukabuddhistcenter.sharepoint.com


When I try to set up a profile to a SharePoint share, it never opens a browser window (the OAuth stuff) for me to give it permission. When I click on ... by the Domain, it says "Listing is being prepared" and then gives this error:

Code: Select all
ERROR: Connection problem: ext://herukabuddhistcenter.sharepoint.com: SOCKET ERROR -2 (GET https://www.syncovery.com/qryoauthdb.php?id=3839239330225105545)


Any thoughts what I'm doing wrong? There are a number of, I guess folders, or divisions beneath this, so for example, I think I want to set up multiple profiles such as herukabuddhistcenter.sharepoint.com[Administration], etc. Some things I try give ERROR: No profile for browsing, so I assume that those are typed wrong. But I think the main error here is the OAuth stuff. Thank you!

Re: Can't connect to Sharepoint in linux

PostPosted: Tue Jun 12, 2018 3:25 am
by superflexible
Hello,

Socket Error -2 means that Syncovery cannot connect to the Internet at all. Maybe a Firewall blocks it?

Or there could be an incompatible OpenSSL library. Are there any other errors in the log file?

Re: Can't connect to Sharepoint in linux

PostPosted: Mon Jun 18, 2018 10:47 am
by gkr
Yes, I see. It's having trouble opening libcrypto.so. I'm on Debian 9/Stretch with libssl1.0.2 and libssl1.1 installed. Any suggestions what needs to happen? I don't know much about openSSL. Thank you for your help!

Code: Select all
18-06-18 09:31:34 Sharepoint: Verifying Access Tokens
18-06-18 09:31:34 Sharepoint: Refreshing Access Tokens
18-06-18 09:31:34 Sharepoint: Verifying Access Tokens
18-06-18 09:31:34 Sharepoint: Starting Authentication (may require manual user confirmation)
18-06-18 09:31:35 Sharepoint: Starting Authentication via URL https://login.microsoftonline.com/common/oauth2/authorize?response_type=code&client_id=f385c191-6155-402d-96cc-a2d05bb0d605&prompt=login&state=6693627650012298645&redirect_uri=https%3A%2F%2Fwww.syncovery.com%2Foauthresult.php
OpenSSL Loading Failed, SSLLib Name=libcrypto.so, Handle=0, SSLUtil Name=libssl.so, Handle=0
OpenSSL Loading Failed, SSLLib Name=libcrypto.so, Handle=0, SSLUtil Name=libssl.so, Handle=0
SSL Connection error -1 in SSLDoConnect, returning WSASYSNOTREADY. OpenSSL Loading Failed, SSLLib Name=libcrypto.so, Handle=0, SSLUtil Name=libssl.so, Handle=0
Last Error: 115, Msg:
CertCAFile: /usr/lib/Syncovery/cacert.pem
18-06-18 09:31:35 HttpsGet: SOCKET ERROR -2 (GET https://www.syncovery.com/qryoauthdb.php?id=6693627650012298645) (attempt 1)
Total Number of HTTP Requests:1
URL failed: https://www.syncovery.com/qryoauthdb.php?id=6693627650012298645
URL error : SOCKET ERROR -2 (GET https://www.syncovery.com/qryoauthdb.php?id=6693627650012298645)
18-06-18 09:31:35 IP Exception (3): ETGFTPErrorDoNotRetry SOCKET ERROR -2 (GET https://www.syncovery.com/qryoauthdb.php?id=6693627650012298645) @ 0000000000FE219B, CP:CloudConnectEX:SOCKET ERROR -2 (GET https://www.syncovery.com/qryoauthdb.php?id=6693627650012298645)

ERROR
ext://herukabuddhistcenter.sharepoint.com/Admin: SOCKET ERROR -2 (GET https://www.syncovery.com/qryoauthdb.php?id=6693627650012298645)


************************************************************************
18-06-18 09:31:35 ERROR (ETGFTPErrorDoNotRetry): SOCKET ERROR -2 (GET https://www.syncovery.com/qryoauthdb.php?id=6693627650012298645) @ 0000000000FE219B
************************************************************************

Re: Can't connect to Sharepoint in linux

PostPosted: Tue Feb 12, 2019 4:13 am
by superflexible
I believe the latest Syncovery for Linux is now more compatible with this Linux distribution.