Frustrating SocketTmeOutEception on GAE

18 views
Skip to first unread message

Deepak Singh

unread,
Aug 31, 2011, 2:36:39 PM8/31/11
to google-a...@googlegroups.com
Hi,

I am connecting to a 3rd party server on the following wsdlhttp://webservices.ticketvala.com/axis2/services/WSTicketvala?wsdl

I am using JAX-WS to generate client code and call relevent method on 3rd party server. 3rd party server may take time between 15-25 seconds to send response. It works fine on tomcat.

Now when i deploy this to GAE 1.5.3, often i get ScocketTimeoutException in less than 10 seconds. Sometimes it is succesfull taking even 20 seconds. I want to know why it fails many times. And any workaround to increase this response deadline time / to avoid this ScoketTimeOutException forever.

Similarly,

I have another RESTfull service at

http://ticketgoose.com/bookbustickets/TGWSStationNameResponseAction.do?event=getStationDetails&password=123456&userId=ctshubws

I am connecting it through java.net.URL and many times i get TimeoutException. How can i raise this timeout limit to more than 30 seconds?

Work around is needed otherwise will not be able to continue with GAE.


Thanks

 Deepak

nischalshetty

unread,
Aug 31, 2011, 5:17:43 PM8/31/11
to google-a...@googlegroups.com
The maximum deadline is 10s there is no work around for that. However, you can make use of Backends to have a limit that you set I guess.

Deepak Singh

unread,
Aug 31, 2011, 5:30:47 PM8/31/11
to google-a...@googlegroups.com
I think it is 30 seconds that is why sometimes i get successful response in 20 seconds.


On Thu, Sep 1, 2011 at 2:47 AM, nischalshetty <nischal...@gmail.com> wrote:
The maximum deadline is 10s there is no work around for that. However, you can make use of Backends to have a limit that you set I guess.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-appengine/-/EzdqVMBc3EYJ.
To post to this group, send email to google-a...@googlegroups.com.
To unsubscribe from this group, send email to google-appengi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.

Reply all
Reply to author
Forward
0 new messages