Hi,

Can you pls provide some work around to avoid this timeout / SocketTimeOut
exception as connecting to 3rd party server through JAX-WS or any other way
may take some time depending on their infrastructure ?

Thanks

On Tue, Aug 30, 2011 at 3:14 AM, Kaan Soral <[email protected]> wrote:

> I am getting a lot of Application error 2's and 5's from python side,
> starting to think urlfetch is not working properly
>
> On Aug 29, 10:40 pm, Christopher <[email protected]> wrote:
> > Not sure why a space was put into the first part, but I just triple-
> > checked that there is no space in the url used. It is just formatting
> > bug in the post.
> >
> > On Aug 29, 3:37 pm, Christopher <[email protected]> wrote:
> >
> >
> >
> >
> >
> >
> >
> > > I just noticed the url is truncated from Google Groups. Here it is
> > > split up by path separator:
> >
> > >http://mimcloudusers.s3.amazonaws.com
> > > /
> > >
> 646562306635393366343334613431636664343034313236383064656536643335343030653
> 86263643434323530316561666138613431313034613036663835
> > > /dicom
> > > /1e3edb948e2b8db02d761a6be3dc7d1ef47f4625
> > > /49daf3496ec51fdc31951fe3148a73ce4f9748b6
> > > /eff0b43df7ab67d66a9e41df237824df3b0c4caf
> >
> > > On Aug 29, 3:29 pm, Christopher <[email protected]> wrote:
> >
> > > > Nischal,
> >
> > > > Here is an example from the logs (it is a fairly long URL):
> >
> > > > Caused by: java.util.concurrent.ExecutionException:
> > > > java.net.SocketTimeoutException: Timeout while fetching:
> http://mimcloudusers.s3.amazonaws.com/6465623066353933663433346134316...
> >
> > > > On Aug 29, 3:26 pm, Christopher <[email protected]> wrote:
> >
> > > > > Deepak,
> >
> > > > > Google might be planning to lengthen the time limit, but that is
> not
> > > > > what my original post is asking about. I'm specifically asking
> about
> > > > > what might be causing requests to timeout when they seemingly would
> > > > > not be taking the allowed 10 seconds, or if there are issues Google
> is
> > > > > currently aware of about this. I would also like to know the
> behavior
> > > > > when setting the request deadline higher than 10 (in case this
> might
> > > > > be the cause).
> >
> > > > > On Aug 29, 11:52 am, Deepak Singh <[email protected]>
> wrote:
> >
> > > > > > Can anyone suggest some workaround to resolve this / increase the
> time limit
> > > > > > for all requests arising from JAX-WS client code.
> >
> > > > > > Thanks
> > > > > > Deepak
> >
> > > > > > On Mon, Aug 29, 2011 at 1:38 AM, Deepak Singh <
> [email protected]>wrote:
> >
> > > > > > > I too stuck with the same java.net.SocketTimeoutException:
> Timeout while
> > > > > > > fetching: exception.
> >
> > > > > > > I am using JAX-WS client to connect to third party service at
> > > > > > >
> http://webservices.ticketvala.com/axis2/services/WSTicketvala?wsdl
> >
> > > > > > > But i always get the exception even in less than 10 seconds.
> >
> > > > > > > I need one solution to increase this timeout because in my
> application,
> > > > > > > some 3rd party servers may take too long time to respond.
> Otherwise if i am
> > > > > > > not able to increase this time, it will become a showstopper
> for me.
> >
> > > > > > > I tried with TaskQueue but no luck.
> >
> > > > > > > Thanks in advance
> >
> > > > > > > On Fri, Aug 26, 2011 at 12:25 AM, Christopher <
> [email protected]>wrote:
> >
> > > > > > >> Part of our application on appengine communicates with Amazon
> S3,
> > > > > > >> mostly for checking the status of files, etc. (so mostly HEAD
> and GET
> > > > > > >> requests, always small payload sizes). Lately (past few weeks)
> we've
> > > > > > >> been getting a lot more SocketTimeout exceptions when we do
> fetches
> > > > > > >> (async). We had the deadline set on the requests for 10
> seconds,
> > > > > > >> recently tried upping that to 30 until we noticed the
> documentation
> > > > > > >> states 10 is the highest.
> >
> > > > > > >> What happens if you supply a number > 10 for the deadline?
> Does it set
> > > > > > >> to default (5), the actual max (10) or something else?
> >
> > > > > > >> Also, I find it difficult to believe that these basic requests
> could
> > > > > > >> be taking as long as they are -- both Google and Amazon have
> blazing
> > > > > > >> fast connections so why are HEAD/GET requests with extremely
> small
> > > > > > >> (_maybe_ 1kb max) payloads causing timeouts? Some of the
> requests we
> > > > > > >> send are delete or copy commands, which I could understand
> Amazon
> > > > > > >> taking some time to execute before responding, but we're
> getting
> > > > > > >> timeouts when asking Amazon to check existence of a file.
> >
> > > > > > >> Does anybody have any insights as to what we might be doing
> > > > > > >> incorrectly to cause this to happen?
> >
> > > > > > >> Also, here's a sample from our logs, which the timing doesn't
> seem to
> > > > > > >> indicate that this isn't even waiting a second before throwing
> an
> > > > > > >> exception.
> >
> > > > > > >> - [25/Aug/2011:10:53:50 -0700] "POST /mim/postUpload HTTP/1.1"
> 500
> > > > > > >> 0.....
> > > > > > >>  2011-08-25 13:53:50.338 /mim/postUpload
> > > > > > >> java.util.concurrent.ExecutionException:
> > > > > > >> java.net.SocketTimeoutException: Timeout while fetching:
> >
> > > > > > >> --
> > > > > > >> You received this message because you are subscribed to the
> Google Groups
> > > > > > >> "Google App Engine" 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/google-appengine?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" 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/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" 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/google-appengine?hl=en.

Reply via email to