Can't connect to Sharepoint in linux

No more questions - please go to www.syncovery.com/forum instead

Moderator: SuperFlexible Administrators

Can't connect to Sharepoint in linux

Postby gkr on Sat Jun 09, 2018 8:23 am

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!
gkr
 
Posts: 5
Joined: Wed Apr 18, 2012 7:43 pm

Re: Can't connect to Sharepoint in linux

Postby superflexible on Tue Jun 12, 2018 3:25 am

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?
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm

Re: Can't connect to Sharepoint in linux

Postby gkr on Mon Jun 18, 2018 10:47 am

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
************************************************************************
gkr
 
Posts: 5
Joined: Wed Apr 18, 2012 7:43 pm

Re: Can't connect to Sharepoint in linux

Postby superflexible on Tue Feb 12, 2019 4:13 am

I believe the latest Syncovery for Linux is now more compatible with this Linux distribution.
User avatar
superflexible
Site Admin
 
Posts: 2478
Joined: Thu Dec 31, 2009 3:08 pm


Return to Linux Support

cron