Hi, I am getting SocketTimeOutException while trying out with the picasa sample application provided in
http://code.google.com/p/gdata-java-client/source/browse/branches/2/sample/picasa/picasa-atom-sample/src/com/google/api/data/sample/picasa/PicasaAtomSample.java?r=368 The error is as pasted below, 07-02 14:11:11.530: WARN/System.err(240): java.net.SocketTimeoutException: Socket is not connected 07-02 14:11:11.540: WARN/System.err(240): at org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocketImpl(Native Method) 07-02 14:11:11.540: WARN/System.err(240): at org.apache.harmony.luni.platform.OSNetworkSystem.connectStreamWithTimeoutSocket(OSNetworkSystem.java: 131) 07-02 14:11:11.540: WARN/System.err(240): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java: 247) 07-02 14:11:11.550: WARN/System.err(240): at org.apache.harmony.luni.net.PlainSocketImpl.connect(PlainSocketImpl.java: 535) 07-02 14:11:11.550: WARN/System.err(240): at java.net.Socket.connect(Socket.java:1054) 07-02 14:11:11.550: WARN/System.err(240): at org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java: 317) 07-02 14:11:11.550: WARN/System.err(240): at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java: 129) 07-02 14:11:11.550: WARN/System.err(240): at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java: 164) 07-02 14:11:11.550: WARN/System.err(240): at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java: 119) 07-02 14:11:11.550: WARN/System.err(240): at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java: 348) 07-02 14:11:11.550: WARN/System.err(240): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 555) 07-02 14:11:11.559: WARN/System.err(240): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 487) 07-02 14:11:11.559: WARN/System.err(240): at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java: 465) 07-02 14:11:11.559: WARN/System.err(240): at com.google.api.client.apache.ApacheHttpRequest.execute(ApacheHttpRequest.java: 51) 07-02 14:11:11.559: WARN/System.err(240): at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:188) 07-02 14:11:11.559: WARN/System.err(240): at com.google.api.client.auth.oauth.AbstractOAuthGetToken.execute(AbstractOAuthGetToken.java: 70) 07-02 14:11:11.559: WARN/System.err(240): at com.sample.launch.authorizeUsingOAuth(launch.java:158) 07-02 14:11:11.559: WARN/System.err(240): at com.sample.launch.setUpGoogleTransport(launch.java:123) The same steps as mentioned in the sample app is followed and I was getting illegalstateException. To resolve this,HttpTransport.setLowLevelHttpTransport(ApacheHttpTransport.INSTANCE); is used as a workaround as suggested in http://code.google.com/p/gdata-issues/issues/detail?id=2098. After this I am getting the above pasted error after OAuthCredentialsResponse.execute(). Please suggest what can be done to fix this. Thanks, Preetha -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

