On Fri, Mar 7, 2014 at 1:20 AM, <[email protected]> wrote: > > Couple of issues I am facing : > > - Timeout Issue ('had to tweak the query temporarily) - Any > alternative to increase the REST call timeout issue in URL FETCH > - The REST call from the Google App Engine works fine Locally -in > localhost (but it fails when I push or update the code to the Google cloud > instance) > - The UI is in GAE while the REST Services are hosted on premise > which interact with the on-premise datastores. > > It would be helpful if someone can point me to any prev discussion or hany > info in this regard. > >
For the timeout issue, you can call setConnectTimeout and setReadTimeout on URLConnection objects to increase the urlfetch timeout. For the second issue, that's more of a difficult problem; there may be on-premise firewalls (on your side) blocking the connection. Can you try opening up a Compute Engine machine and see if you can SSH from there into your on-premises machines? If not, check the routes and see if the connection is being dropped anywhere. ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
