muhammadnaveed / syncnotes2google

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

Error connecting with login URI #88

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. running the bat file
2.
3.

What is the expected output? What do you see instead?

SyncNotes2Google has started.
Start notes-to-google to google-to-notes synchronization.
executing insert: Arbitration Award Process
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.ConnectException: Connection timed out: 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

C:\DATA\RICE05\SYNC>

What version of the product are you using? On what operating system?
0.0.5
on Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by Teric...@gmail.com on 30 Sep 2011 at 1:46

GoogleCodeExporter commented 9 years ago
Hi,

 I use the program behind a firewall, I had this same problem until I set the proxy settings in the syncnotes2google.bat.

At the end of the file:
java -classpath %cPath% -Dhttp.proxyHost=xxxx -Dhttp.proxyPort=#### 
-Dhttps.proxyHost=xxxx -Dhttps.proxyPort=#### 
com.googlecode.syncnotes2google.SyncNotes2Google

Original comment by jalia...@gmail.com on 18 Oct 2011 at 3:55