muhammadnaveed / syncnotes2google

Automatically exported from code.google.com/p/syncnotes2google
0 stars 0 forks source link

Sync error #54

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run batch file after making required changes
2.
3.

What is the expected output? What do you see instead?
I expect to see the calendars synced, does not happen.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Notes from error:

%USER_HOME%/.syncSyncNotes2Google has started.
Start notes-to-google to google-to-notes synchronization.
executing insert: Other Services Manager's meeting
com.google.gdata.util.AuthenticationException: Error connecting with login 
URI
        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken
(GoogleAut
hTokenFactory.java:479)
        at 
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(Goo
gleAuthTokenFactory.java:336)
        at com.google.gdata.client.GoogleService.setUserCredentials
(GoogleServic
e.java:362)
        at com.google.gdata.client.GoogleService.setUserCredentials
(GoogleServic
e.java:317)
        at com.google.gdata.client.GoogleService.setUserCredentials
(GoogleServic
e.java:301)
        at com.googlecode.syncnotes2google.Factory.getCalendarService
(Factory.ja
va:85)
        at com.googlecode.syncnotes2google.dao.GoogleCalendarDAO.insert
(GoogleCa
lendarDAO.java:130)
        at com.googlecode.syncnotes2google.SyncService.insert
(SyncService.java:1
03)
        at com.googlecode.syncnotes2google.SyncService.executeSync
(SyncService.j
ava:42)
        at com.googlecode.syncnotes2google.SyncNotes2Google.main
(SyncNotes2Googl
e.java:23)
Caused by: java.net.NoRouteToHostException: No route to host: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown 
Source)
        at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.connect(Unknown 
Source
)
        at sun.net.NetworkClient.doConnect(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.http.HttpClient.openServer(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.<init>(Unknown Source)
        at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
        at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH
ttpClient(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect
(Unknown Sour
ce)
        at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream
(Unknown S
ource)
        at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unk
nown Source)
        at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest
(Google
AuthTokenFactory.java:537)
        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken
(GoogleAut
hTokenFactory.java:477)
        ... 9 more
Press any key to continue . . .notes2google/ 

Original issue reported on code.google.com by khandelw...@gmail.com on 17 May 2010 at 10:57

GoogleCodeExporter commented 9 years ago
Had the same problem.
Was because of proxy settings.
My last line 
java -classpath %cPath% -Dhttp.proxyHost=proxy -Dhttp.proxyPort=port 
-Dhttps.proxyHost=proxy -Dhttps.proxyPort=port -Dhttp.proxyUserName=name 
-Dhttp.proxyPassword=password0 -Dhttps.proxyUserName=name 
-Dhttps.proxyPassword=password com.googlecode.syncnotes2google.SyncNotes2Google

Original comment by Tig...@gmail.com on 19 May 2011 at 1:04