• Proxy problem

    By Thierry D 1 decade ago

    Hello

    I get following error:

    D:\Tools\goocalsync>java goocalsync.GooCalSync



    2010/08/12 16:39:27 INFO GooCalSync v0.920 has started.

    2010/08/12 16:39:27 INFO Start Notes to Google synchronization.

    2010/08/12 16:40:13 ERROR Cannot connect to Google

    2010/08/12 16:40:13 ERROR Account name : tdalon.work@googlemail.

    com

    2010/08/12 16:40:13 ERROR Account password : xxxx

    2010/08/12 16:40:13 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:81)<br/>
        at goocalsync.SyncService.executeNotesToGoogle(SyncService.java:43)<br/>
        at goocalsync.GooCalSync.main(GooCalSync.java:14)<br/>
    

    Caused by: java.io.IOException: Unable to tunnel through proxy. Proxy returns "HTTP/1.1 407 Proxy Authentication Required"

        at sun.net.www.protocol.http.HttpURLConnection.doTunneling(Unknown Source)<br/>
        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/>
    

    2010/08/12 16:40:13 ERROR com.google.gdata.util.AuthenticationException: E

    rror connecting with login URI

    2010/08/12 16:40:13 ERROR at com.google.gdata.client.GoogleAuthTok

    enFactory.getAuthToken(GoogleAuthTokenFactory.java:419)

    2010/08/12 16:40:13 ERROR at com.google.gdata.client.GoogleAuthTok

    enFactory.setUserCredentials(GoogleAuthTokenFactory.java:301)

    2010/08/12 16:40:13 ERROR at com.google.gdata.client.GoogleService

    .setUserCredentials(GoogleService.java:324)

    2010/08/12 16:40:13 ERROR at com.google.gdata.client.GoogleService

    .setUserCredentials(GoogleService.java:301)

    2010/08/12 16:40:13 ERROR at goocalsync.Factory.getCalendarService

    (Factory.java:195)

    2010/08/12 16:40:13 ERROR at goocalsync.GoogleCalendarDAO.insert(G

    oogleCalendarDAO.java:81)

    2010/08/12 16:40:13 ERROR at goocalsync.SyncService.executeNotesTo

    Google(SyncService.java:43)

    2010/08/12 16:40:13 ERROR at goocalsync.GooCalSync.main(GooCalSync

    .java:14)



    But I have filled the fields for proxy user name and password.

    Any idea?



    (I can access GCal with the same proxy from Browser without needing to enter login info.)