muhammadnaveed / syncnotes2google

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

Error connecting with login URI #47

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Made all changes to property file and bat file
2. Run bat file
3.

What is the expected output? What do you see instead?
Expect synch to happen
Received "Error connecting with login URI" - I have double checked gmail 
user and password - it is correct

What version of the product are you using? On what operating system?
Win XP SP2
Lotus 8
Syncnotestogoogle 0.0.5

Please provide any additional information below.

Below is the output in the command window from the point where things 
appear to be working correctly....

SyncNotes2Google has started.
Start notes-to-google to google-to-notes synchronization.
executing insert: Welcome - Randy / Robin
com.google.gdata.util.AuthenticationException: Error connecting with login 
URI
        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken
(GoogleAuthTokenFactory.java:479)
        at 
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials
(GoogleAuthTokenFactory.java:336)
        at com.google.gdata.client.GoogleService.setUserCredentials
(GoogleService.java:362)
        at com.google.gdata.client.GoogleService.setUserCredentials
(GoogleService.java:317)
        at com.google.gdata.client.GoogleService.setUserCredentials
(GoogleService.java:301)
        at com.googlecode.syncnotes2google.Factory.getCalendarService
(Factory.java:85)
        at com.googlecode.syncnotes2google.dao.GoogleCalendarDAO.insert
(GoogleCalendarDAO.java:130)
        at com.googlecode.syncnotes2google.SyncService.insert
(SyncService.java:103)
        at com.googlecode.syncnotes2google.SyncService.executeSync
(SyncService.java:42)
        at com.googlecode.syncnotes2google.SyncNotes2Google.main
(SyncNotes2Google.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.Socket.connect(Unknown Source)
        at java.net.Socket.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.getNewHttpCli
ent(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect
(Unknown Source)
        at 
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect
(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream
(Unknown Source)
        at 
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown 
Source)
        at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest
(GoogleAuthTokenFactory.java:537)
        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken
(GoogleAuthTokenFactory.java:477)
        ... 9 more

Original issue reported on code.google.com by robin.y...@gmail.com on 28 Apr 2010 at 8:54

GoogleCodeExporter commented 9 years ago
It looks like you have a connection time out. 
Are you allowed to access 
'http://www.google.com/calendar/feeds/default/owncalendars/full' ?

and check username and passwords for blanks.

Original comment by henols on 29 Apr 2010 at 7:29

GoogleCodeExporter commented 9 years ago
Yes - I am able to go to that url.  It led me to download a file called "full" 
that 
looks like an xml file.

I've double and triple checked that gmail address and password are correct with 
no 
spaces. 

Original comment by robin.y...@gmail.com on 29 Apr 2010 at 12:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I'm not able to go to that URL - I get the error "Unknown visibility
found:owncalendars". Any ideas anyone?

Original comment by pmma...@gmail.com on 5 May 2010 at 4:44

GoogleCodeExporter commented 9 years ago
I can go to that address now but still getting the URI error. Anyone managed to 
get
past this?

Original comment by pmma...@gmail.com on 28 May 2010 at 8:40

GoogleCodeExporter commented 9 years ago
Check that first url. When I copied and pasted it, it had a single quote at the 
end
and that showed the same error you mentioned in comment 4. Removing it, showed 
the
page I was looking for.

Original comment by bas.vd.m...@gmail.com on 7 Jun 2010 at 1:22

GoogleCodeExporter commented 9 years ago
Exception in thread "main" com.google.gdata.util.AuthenticationException: Error 
connecting with login URI
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:489)
    at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:346)
    at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:362)
    at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:317)
    at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:301)
    at com.test.PicasawebPartialDemo.main(PicasawebPartialDemo.java:137)
Caused by: java.net.UnknownHostException: www.google.com
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.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.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
    at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(GoogleAuthTokenFactory.java:551)
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:487)
    ... 5 more

Original comment by singhnir...@gmail.com on 1 Sep 2010 at 10:22

GoogleCodeExporter commented 9 years ago
hi download gdata.java-1.41.5 and run run its on myeclipse 6.0 but i receive an 
error:

Exception in thread "main" com.google.gdata.util.AuthenticationException: Error 
connecting with login URI
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:489)
    at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:346)
    at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:362)
    at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:317)
    at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:301)
    at com.test.PicasawebPartialDemo.main(PicasawebPartialDemo.java:137)
Caused by: java.net.UnknownHostException: www.google.com
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.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.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
    at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(GoogleAuthTokenFactory.java:551)
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:487)
    ... 5 more

plz help me out

Original comment by singhnir...@gmail.com on 1 Sep 2010 at 10:50

GoogleCodeExporter commented 9 years ago
Exception in thread "main" com.google.gdata.util.AuthenticationException: Error 
connecting with login URI
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:489)
    at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:346)
    at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:362)
    at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:317)
    at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:301)
    at sample.photos.PicasawebPartialDemo.main(PicasawebPartialDemo.java:138)
Caused by: java.net.UnknownHostException: www.google.com
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.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.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
    at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(GoogleAuthTokenFactory.java:551)
    at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:487)
    ... 5 more

Original comment by singhnir...@gmail.com on 21 Dec 2010 at 11:14

GoogleCodeExporter commented 9 years ago

Hi all,
I try to use "SyncNotes2Google", my data configuration are correct but i 
receive an error:

"executing insert: Dej' PRO
com.google.gdata.util.AuthenticationException: Error connecting with login URI
        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:479)
        at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:336)
        at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:362)
        at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:317)
        at com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:301)
        at com.googlecode.syncnotes2google.Factory.getCalendarService(Factory.java:85)
        at com.googlecode.syncnotes2google.dao.GoogleCalendarDAO.insert(GoogleCalendarDAO.java:123)
        at com.googlecode.syncnotes2google.SyncService.insert(SyncService.java:103)
        at com.googlecode.syncnotes2google.SyncService.executeSync(SyncService.java:42)
        at com.googlecode.syncnotes2google.SyncNotes2Google.main(SyncNotes2Google.java:23)
Caused by: java.net.UnknownHostException: www.google.com
        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.getNewHttpClient(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unknown Source)
        at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(GoogleAuthTokenFactory.java:537)
        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:477)
        ... 9 more"

I am not able to go to that url :
http://www.google.com/calendar/feeds/default/owncalendars/full => error 401
but I'm allowed with the url :
https://www.google.com/calendar/feeds/default/owncalendars/full

google politiques have they changed ?

Original comment by murielle...@gmail.com on 23 Sep 2011 at 9:17

GoogleCodeExporter commented 9 years ago
I agree with comment #10, something has changed, https is working fine. 
Any body has tried changing the code?

Regards

Original comment by nas...@gmail.com on 9 Nov 2011 at 2:41