cancel
Showing results for 
Search instead for 
Did you mean: 

Desktop Sync not working

jpfi
Champ in-the-making
Champ in-the-making
Hi,
Following twitter, my problem seems to be a common problem:
I'm unable to connect with Alfresco Cloud or on-Premise Alfresco. I've tried a few different Accounts & Systems but I've to kill the windows process everytime.
When pressing the Login-button the Client hangs.
Win7 64 Bit & AlfrescoSync-0.8.0.4

Is there somewhere a log?
Cheers, jan
25 REPLIES 25

billerby
Champ on-the-rise
Champ on-the-rise
java -version on command prompt gives:

java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

jpfi
Champ in-the-making
Champ in-the-making
Hi,
nearly the same here - oracle JRE 1.6.0_26 64Bit
Cheers, jan

jpfi
Champ in-the-making
Champ in-the-making
Hi,
I've upgraded by Test environment to JRE 1.6.0_35 –> UI is working much more stable!
@billerby: pls try it & let's see if you can confirm that.
cheers, jan

billerby
Champ on-the-rise
Champ on-the-rise
I can confirm an increase in stability with 1.6.0_35 of the JRE Smiley Happy

Thanks!
/Erik

gabrieles
Champ in-the-making
Champ in-the-making
I cannot make it work in Windows 7 nor Ubuntu 12.04 Smiley Sad

When I tried connecting via Windows 7 it failed, and I found this in my log file
10:41:49.491 INFO  AlfrescoSyncClient - ———-Alfresco Sync Started———- 
10:41:49.761 DEBUG SyncManager - exceptions loaded: {^~.*=IGNORE, ^\..*=IGNORE, Microsoft User Data=IGNORE, ^.*\.(iso|exe|app|tmp|TMP)$=IGNORE, Thumbs.db=IGNORE, About Stacks.lpdf=IGNORE}
10:41:49.762 DEBUG AccountManager - Creating AccountManager Instance
10:41:49.806 DEBUG AccountManager - Loading accounts from preferences…
10:42:27.225 DEBUG RemoteFileStore - Cloud: Test Connection
10:42:31.646 ERROR RemoteFileStore - Cannot connect to webdav [https://webdav.alfresco.com/]
10:42:31.647 ERROR RemoteFileStore - com.googlecode.sardine.impl.SardineException: Unexpected response (403 Forbidden)
10:42:31.647 ERROR RemoteFileStore - Cloud: Invalid credentials
The client was instelled before upgrading Java to 1.6 - may that have had any impact?

I created an Ubuntu virtualBox and tried to follow the tutorial (not sure i got the jNotify right) and this is what my terminal showed me:
ubuntu@ubuntu-VirtualBox:/home/AlfrescoSync/dmg/AlfrescoSync.app/Contents/Resources/Java$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK Client VM (build 20.0-b12, mixed mode, sharing)
ubuntu@ubuntu-VirtualBox:/home/AlfrescoSync/dmg/AlfrescoSync.app/Contents/Resources/Java$ java -jar alfresco-sync-0.8.0.6-jar-with-dependencies.jar
12:35:30.363 INFO  AlfrescoSyncClient - ———-Alfresco Sync Started———-
12:35:34.450 ERROR SystemTrayIcon - TrayIcon could not be added.
12:35:34.486 DEBUG SyncManager - exceptions loaded: {^~.*=IGNORE, ^\..*=IGNORE, Microsoft User Data=IGNORE, ^.*\.(iso|exe|app|tmp|TMP)$=IGNORE, Thumbs.db=IGNORE, About Stacks.lpdf=IGNORE}
12:35:34.490 DEBUG AccountManager - Creating AccountManager Instance
12:35:34.561 DEBUG AccountManager - Loading accounts from preferences…
Oct 2, 2012 12:35:34 PM java.util.prefs.FileSystemPreferences$2 run
INFO: Created user preferences directory.
12:35:59.571 DEBUG RemoteFileStore - Cloud: Test Connection
Oct 2, 2012 12:36:00 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 339E188E81321069EA9DB3E0A800995F.share2][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 12:36:01 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: EB68A40C8EBA1E2ACD9ED68B636598E9.share1][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 12:36:02 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 7C9C013DD624E70AF8FE8C37F2E705B7.share1][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 12:36:02 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: F998191A404A0FAB6F7A31C886CF58E6.share2][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 12:36:03 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 16BA6A2C90B2B7BD808C61B131312D42.share2][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 12:36:04 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: E8B2DE917545B0ABFAFEE22A0C7F14A6.share2][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
12:36:04.363 ERROR RemoteFileStore - Cannot connect to webdav [https://webdav.alfresco.com/]
12:36:04.363 ERROR RemoteFileStore - com.googlecode.sardine.impl.SardineException: Unexpected response (403 Forbidden)
12:36:04.363 ERROR RemoteFileStore - Cloud: Invalid credentials
12:36:28.316 DEBUG RemoteFileStore - Cloud: Test Connection
Oct 2, 2012 12:36:28 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: BE355BA00BA603AB778292AE3220BE5F.share1][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 12:36:29 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 043B39C48A4F8AAD833EFD1F78D0D9AF.share2][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 12:36:30 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: EF7461EABF490D8E1E0D541EAD610356.share1][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 12:36:31 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 3A36A396AC610CBE910C82C8B9F36CF0.share2][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 12:36:31 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 7317E5FB876C964A2C192C1B112118FB.share1][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 12:36:32 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: E618C263BD99635413694E50E65E14CE.share2][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
12:36:32.708 ERROR RemoteFileStore - Cannot connect to webdav [https://webdav.alfresco.com/]
12:36:32.708 ERROR RemoteFileStore - com.googlecode.sardine.impl.SardineException: Unexpected response (403 Forbidden)
12:36:32.708 ERROR RemoteFileStore - Cloud: Invalid credentials


ubuntu@ubuntu-VirtualBox:/home/AlfrescoSync/dmg/AlfrescoSync.app/Contents/Resources/Java$ java -Djava.library.path=/home/AlfrescoSync/jNotify/jnotify-lib-0.94/64-bit\ Linux/ -jar alfresco-sync-0.8.0.6-jar-with-dependencies.jar
15:44:37.063 INFO  AlfrescoSyncClient - ———-Alfresco Sync Started———-
15:44:39.124 ERROR SystemTrayIcon - TrayIcon could not be added.
15:44:39.131 DEBUG SyncManager - exceptions loaded: {^~.*=IGNORE, ^\..*=IGNORE, Microsoft User Data=IGNORE, ^.*\.(iso|exe|app|tmp|TMP)$=IGNORE, Thumbs.db=IGNORE, About Stacks.lpdf=IGNORE}
15:44:39.134 DEBUG AccountManager - Creating AccountManager Instance
15:44:39.203 DEBUG AccountManager - Loading accounts from preferences…
15:44:56.800 DEBUG RemoteFileStore - Cloud: Test Connection
Oct 2, 2012 3:44:57 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 0D36C6B63076733A0673568A5A06FF8F.share2][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 3:44:58 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 7DD552FBF4CE00BE618CBB2CB42A6454.share1][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 3:44:59 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 185B0B788E220A782377F9D091E7F37F.share2][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 3:44:59 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: BB77A48D464D5FFB684F871B5FBA74EF.share1][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 3:45:00 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 1282D0807D187CF465F92411E7FEB5D5.share2][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
Oct 2, 2012 3:45:00 PM org.apache.http.client.protocol.ResponseProcessCookies processCookies
WARNING: Cookie rejected: "[version: 0][name: JSESSIONID][value: 5645EAB95452F5FCD23A667D3D73BCA4.share1][domain: webdav.alfresco.com][path: /alfresco][expiry: null]". Illegal path attribute "/alfresco". Path of origin: "/"
15:45:00.972 ERROR RemoteFileStore - Cannot connect to webdav [https://webdav.alfresco.com/]
15:45:00.973 ERROR RemoteFileStore - com.googlecode.sardine.impl.SardineException: Unexpected response (403 Forbidden)
15:45:00.974 ERROR RemoteFileStore - Cloud: Invalid credentials

The username and password are correct - i can log into the Alfresco cloud. However, when I try to connect to https://webdav.alfresco.com/ using a browser or a webdav client I still get a 403 error.

Any suggestions?

ahunt
Champ in-the-making
Champ in-the-making
Are you trying to connect to a Premium Cloud account, or a free one?

From Zaizi's blog:
"The Desktop Sync Client works with Alfresco in the Cloud (Premium accounts only)"

http://www.zaizi.com/blog/alfresco-desktop-sync

gabrieles
Champ in-the-making
Champ in-the-making
DOH - good point: I was testing it with the free account. The test failed on our server with Alfresco Enterprise, though - this from my log:

16:22:54.208 INFO  AlfrescoSyncClient - ———-Alfresco Sync Started———- 
16:22:54.270 DEBUG SyncManager - exceptions loaded: {^~.*=IGNORE, ^\..*=IGNORE, Microsoft User Data=IGNORE, ^.*\.(iso|exe|app|tmp|TMP)$=IGNORE, Thumbs.db=IGNORE, About Stacks.lpdf=IGNORE}
16:22:54.271 DEBUG AccountManager - Creating AccountManager Instance
16:22:54.317 DEBUG AccountManager - Loading accounts from preferences…
16:23:56.880 DEBUG RemoteFileStore - Cloud: Test Connection
16:23:57.600 ERROR RemoteFileStore - Cannot connect to webdav [https://XXXXX.compute.amazonaws.com:8443/alfresco/webdav/]
16:23:57.600 ERROR RemoteFileStore - javax.net.ssl.SSLException: hostname in certificate didn't match: <XXXXX.compute.amazonaws.com> != <alfresco repository>
16:23:57.600 ERROR RemoteFileStore - Cloud: Invalid credentials
16:24:03.182 DEBUG RemoteFileStore - Cloud: Test Connection
16:24:03.668 ERROR RemoteFileStore - Cannot connect to webdav [https://XXXXX.compute.amazonaws.com:8443/alfresco/]
16:24:03.668 ERROR RemoteFileStore - javax.net.ssl.SSLException: hostname in certificate didn't match: <XXXXX.compute.amazonaws.com> != <alfresco repository>
16:24:03.668 ERROR RemoteFileStore - Cloud: Invalid credentials
16:24:15.070 DEBUG RemoteFileStore - Cloud: Test Connection
16:24:40.080 ERROR RemoteFileStore - Cannot connect to webdav [https://XXXXX.compute.amazonaws.com/alfresco/]
16:24:40.081 ERROR RemoteFileStore - org.apache.http.conn.ConnectTimeoutException: Connect to XXXXX.compute.amazonaws.com:443 timed out
16:24:40.081 ERROR RemoteFileStore - Cloud: Invalid credentials
16:24:44.246 DEBUG RemoteFileStore - Cloud: Test Connection
16:25:09.255 ERROR RemoteFileStore - Cannot connect to webdav [https://XXXXX.compute.amazonaws.com/alfresco/webdav/]
16:25:09.255 ERROR RemoteFileStore - org.apache.http.conn.ConnectTimeoutException: Connect to XXXXX.compute.amazonaws.com:443 timed out
16:25:09.255 ERROR RemoteFileStore - Cloud: Invalid credentials

this is from Linux

ubuntu@ubuntu-VirtualBox:/home/AlfrescoSync/dmg/AlfrescoSync.app/Contents/Resources/Java$ java -Djava.library.path=/home/AlfrescoSync/jNotify/jnotify-lib-0.94/64-bit\ Linux/ -jar alfresco-sync-0.8.0.6-jar-with-dependencies.jar 
17:27:11.446 INFO  AlfrescoSyncClient - ———-Alfresco Sync Started———-
17:27:13.694 ERROR SystemTrayIcon - TrayIcon could not be added.
17:27:13.718 DEBUG SyncManager - exceptions loaded: {^~.*=IGNORE, ^\..*=IGNORE, Microsoft User Data=IGNORE, ^.*\.(iso|exe|app|tmp|TMP)$=IGNORE, Thumbs.db=IGNORE, About Stacks.lpdf=IGNORE}
17:27:13.720 DEBUG AccountManager - Creating AccountManager Instance
17:27:13.866 DEBUG AccountManager - Loading accounts from preferences…
17:28:08.644 DEBUG RemoteFileStore - Cloud: Test Connection
17:28:09.651 ERROR RemoteFileStore - Cannot connect to webdav [https://XXXXX.compute.amazonaws.com:8443/alfresco/]
17:28:09.653 ERROR RemoteFileStore - javax.net.ssl.SSLException: hostname in certificate didn't match: <XXXXX.compute.amazonaws.com> != <alfresco repository>
17:28:09.654 ERROR RemoteFileStore - Cloud: Invalid credentials
17:28:17.341 DEBUG RemoteFileStore - Cloud: Test Connection
17:28:17.686 ERROR RemoteFileStore - Cannot connect to webdav [https://XXXXX.compute.amazonaws.com:8443/alfresco/webdav/]
17:28:17.686 ERROR RemoteFileStore - javax.net.ssl.SSLException: hostname in certificate didn't match: <XXXXX.compute.amazonaws.com> != <alfresco repository>
17:28:17.686 ERROR RemoteFileStore - Cloud: Invalid credentials

ahunt
Champ in-the-making
Champ in-the-making
Are you selecting an "Account Type" of Cloud, when it should be Private  (even if your private instance is *in* the cloud somewhere).

gabrieles
Champ in-the-making
Champ in-the-making
Thank you for all the help!!!

To point it to our servers I use "Private" - I cannot edit the URL when using "Cloud"

gabrieles
Champ in-the-making
Champ in-the-making
I think that the issue is with the security certificate on our dev environment, since I can connect without any glitches to the server at https://cmis.alfresco.com/ … but since it has no favourite sites I cannot test the Alfresco Desktop Sync with anything  Smiley Sad