Skip to content
This repository has been archived by the owner on Aug 4, 2020. It is now read-only.

Read Timed out #155

Closed
rrepaka opened this issue Feb 23, 2016 · 6 comments
Closed

Read Timed out #155

rrepaka opened this issue Feb 23, 2016 · 6 comments

Comments

@rrepaka
Copy link

rrepaka commented Feb 23, 2016

java.net.SocketTimeoutException: Read timed out
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1675)
        at sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1673)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)
        at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:468)
        at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:338)
        at com.paypal.base.HttpConnection.executeWithStream(HttpConnection.java:160)
        at com.paypal.base.HttpConnection.execute(HttpConnection.java:67)
        at com.paypal.base.rest.PayPalResource.execute(PayPalResource.java:425)
        at com.paypal.base.rest.PayPalResource.configureAndExecute(PayPalResource.java:267)
        at com.paypal.api.payments.Payment.create(Payment.java:484)
@braebot
Copy link
Contributor

braebot commented Feb 23, 2016

Hi @rrepaka! Is this an issue affecting sandbox and/or production? The more details you provide, the better we can help.

@rrepaka
Copy link
Author

rrepaka commented Feb 23, 2016

I am testing in sandbox , i am seeing socket exception very often...it works for couple of days all of sudden we see Socket timed out error during load testing...

@bluk
Copy link
Contributor

bluk commented Feb 23, 2016

@rrepaka Load testing on sandbox is not recommended. It is merely a test environment to make sure that you are making the right API calls with the expected parameters. The live production environment has more capacity than sandbox, so any load testing wouldn't really have accurate results.

If you want to load test your system without hitting PayPal's, a buddy recommended something like WireMock.

@praveenpawar16
Copy link

We are getting this from one week for normal functional test, due to this issue we are unable proceed with clean build. No load tests are carried out but the PayPal sandbox is failing to respond for each request.

@juwlee
Copy link
Contributor

juwlee commented Mar 22, 2016

@rrepaka @praveenpawar16 do you still see this issue? It is likely related to PayPal service downtime which you can check out from here

@juwlee juwlee added the api-bug label Mar 23, 2016
@juwlee
Copy link
Contributor

juwlee commented Mar 25, 2016

Closing due to inactivity. It seems sandbox was not stable when you saw the error which should have gone away. Please reopen if the problem does not disappear.

@juwlee juwlee closed this as completed Mar 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants