Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set socket timeout for (asynchronous) proxy calls in eve.yaml or throw nice error? #7

Closed
krevelen opened this issue Mar 5, 2013 · 1 comment
Labels

Comments

@krevelen
Copy link

krevelen commented Mar 5, 2013

Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:150)
at java.net.SocketInputStream.read(SocketInputStream.java:121)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:275)
at java.io.BufferedInputStream.read(BufferedInputStream.java:334)
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:633)
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:579)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1322)
at com.almende.util.HttpUtil.fetch(HttpUtil.java:432)
at com.almende.util.HttpUtil.post(HttpUtil.java:98)
at com.almende.util.HttpUtil.post(HttpUtil.java:109)
at com.almende.eve.transport.http.HttpService.send(HttpService.java:116)
at com.almende.eve.agent.AgentFactory.send(AgentFactory.java:518)
at com.almende.eve.agent.AgentFactory$1.invoke(AgentFactory.java:322)
... 4 more

@ludost
Copy link
Member

ludost commented Mar 5, 2013

Enlarged the timeout from 10s to 60s. Still todo is a mechanism to inform proxy clients of the potential exceptions that the proxy can throw.

@ludost ludost closed this as completed Mar 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants