• New AuthenticationException

    By Benjamin Plummer 1 decade ago

    Please help with the following error:



    C:\GooCalSync2>cd c:\goocalsync2



    C:\GooCalSync2>java goocalsync.GooCalSync



    2009/08/20 09:33:24 INFO GooCalSync v0.919 has started.

    2009/08/20 09:33:24 INFO Start Notes to Google synchronization.

    2009/08/20 09:33:24 DEBUG — Retrieved Notes calendar entry —

    2009/08/20 09:33:24 DEBUG ID : 19A0E761DD9887634A257617002724F

    B

    2009/08/20 09:33:24 DEBUG Title : SWC Planning

    2009/08/20 09:33:24 DEBUG Content :

    2009/08/20 09:33:24 DEBUG startDateTime : 2009-08-20T09:30:00+10:00

    2009/08/20 09:33:24 DEBUG endDateTime : 2009-08-20T11:00:00+10:00

    2009/08/20 09:33:24 DEBUG location :

    2009/08/20 09:33:24 DEBUG lastupdated : 2009-08-19T18:02:06+10:00

    2009/08/20 09:33:24 DEBUG apptype : 3

    2009/08/20 09:33:24 DEBUG frequency : 0

    2009/08/20 09:33:24 DEBUG interval : 0

    2009/08/20 09:33:24 DEBUG until :

    2009/08/20 09:33:24 DEBUG ————————————–

    2009/08/20 09:33:24 DEBUG executing insert

    2009/08/20 09:33:28 ERROR Cannot connect to Google

    2009/08/20 09:33:28 ERROR Account name : xxxxxxxxxx

    2009/08/20 09:33:28 ERROR Account password : xxxxxxxxxx

    2009/08/20 09:33:28 ERROR Message from Google: Error connecting with l

    ogin URI

    com.google.gdata.util.AuthenticationException: Error connecting with login URI

        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAut<br/>
    

    hTokenFactory.java:419)

        at com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(Goo<br/>
    

    gleAuthTokenFactory.java:301)

        at com.google.gdata.client.GoogleService.setUserCredentials(GoogleServic<br/>
    

    e.java:324)

        at com.google.gdata.client.GoogleService.setUserCredentials(GoogleServic<br/>
    

    e.java:301)

        at goocalsync.Factory.getCalendarService(Factory.java:195)<br/>
        at goocalsync.GoogleCalendarDAO.insert(GoogleCalendarDAO.java:76)<br/>
        at goocalsync.SyncService.executeNotesToGoogle(SyncService.java:42)<br/>
        at goocalsync.GooCalSync.main(GooCalSync.java:14)<br/>
    

    Caused by: java.net.UnknownHostException: www.google.com

        at java.net.PlainSocketImpl.connect(Unknown Source)<br/>
        at java.net.SocksSocketImpl.connect(Unknown Source)<br/>
        at java.net.Socket.connect(Unknown Source)<br/>
        at java.net.Socket.connect(Unknown Source)<br/>
        at sun.net.NetworkClient.doConnect(Unknown Source)<br/>
        at sun.net.www.http.HttpClient.openServer(Unknown Source)<br/>
        at sun.net.www.http.HttpClient.openServer(Unknown Source)<br/>
        at sun.net.www.protocol.https.HttpsClient.&lt;init&gt;(Unknown Source)<br/>
        at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)<br/>
        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewH<br/>
    

    ttpClient(Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Sour<br/>
    

    ce)

        at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect<br/>
    

    (Unknown Source)

        at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown S<br/>
    

    ource)

        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(Unk<br/>
    

    nown Source)

        at com.google.gdata.client.GoogleAuthTokenFactory.makePostRequest(Google<br/>
    

    AuthTokenFactory.java:476)

        at com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAut<br/>
    

    hTokenFactory.java:417)

        ... 7 more<br/>
    

    2009/08/20 09:33:28 ERROR com.google.gdata.util.AuthenticationException: E

    rror connecting with login URI

    2009/08/20 09:33:28 ERROR at com.google.gdata.client.GoogleAuthTok

    enFactory.getAuthToken(GoogleAuthTokenFactory.java:419)

    2009/08/20 09:33:28 ERROR at com.google.gdata.client.GoogleAuthTok

    enFactory.setUserCredentials(GoogleAuthTokenFactory.java:301)

    2009/08/20 09:33:28 ERROR at com.google.gdata.client.GoogleService

    .setUserCredentials(GoogleService.java:324)

    2009/08/20 09:33:28 ERROR at com.google.gdata.client.GoogleService

    .setUserCredentials(GoogleService.java:301)

    2009/08/20 09:33:28 ERROR at goocalsync.Factory.getCalendarService

    (Factory.java:195)

    2009/08/20 09:33:28 ERROR at goocalsync.GoogleCalendarDAO.insert(G

    oogleCalendarDAO.java:76)

    2009/08/20 09:33:28 ERROR at goocalsync.SyncService.executeNotesTo

    Google(SyncService.java:42)

    2009/08/20 09:33:28 ERROR at goocalsync.GooCalSync.main(GooCalSync

    .java:14)



    C:\GooCalSync2>pause

    Press any key to continue . . .

    • By Benjamin Plummer 1 decade ago

      Any help with this please?