IN other I getting   java.net.SocketTimeoutException: Timeout while
fetching:

here my code to read the binary file


 java.io.InputStream input = new java.net.URL(url).openStream();


please advice me am I missing anything here ? is there any specific
setting for gae to read  big files using java.net.URL ?



On Sep 14, 1:24 pm, fachhoch <fachh...@gmail.com> wrote:
> I am getting
>  java.net.SocketTimeoutException: Timeout while
> fetching:  .........myurl
>         at
> com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchService 
> Impl.java:
> 51)
>         at
> com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
> $Connection.fetchResponse(URLFetchServiceStreamHandler.java:418)
>         at
> com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
> $Connection.getInputStream(URLFetchServiceStreamHandler.java:297)
>         at java.net.URL.openStream(URL.java:1009)
>
> I am trying to read a binary file
>
> InputStream input = new URL(link).openStream();
>
> please advice me how to  resolve this.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to