Thanks for sharing your issue here. Based on the expired context error you are receiving, I suspect Evan is most likely correct here. Nevertheless, more information would definitely help with narrowing down the range of possible issues here:
- You mention sending 30 to 40 consecutive urlfetch requests. Are these requests all invoked within the handling of a single request? - Are these urlfetch requests to different domains or all the same domain? - If you enable Stackdriver Trace, you'll be able to see how long urlfetch requests are taking during the request lifespan. Could you provide a screenshot showing how long these take? It is quite possible that your application is hitting one of the time limits Evan referred to in the documentation. With the information above, I should be in a better position to confirm if this is in fact a timeout issue or know how to investigate further. On Tuesday, August 9, 2016 at 10:29:30 AM UTC-4, kyeongwook Ma wrote: > > Hi GAE support, > > I am a developer using the GAE with Golang and gin. > > I included urlfetch in the service to use a third party service (for > example, AWS SNS push service). > > The urlfetch is successful for the first few times, but when we send 30-40 > consecutive urlfetch, it keeps on giving an error. > > The specific error message is: > > *WARNING 2016-08-09 13:29:56,592 urlfetch_stub.py:540] Stripped > prohibited headers from URLFetch request: ['Content-Length']* > *ERROR: context expired before API call urlfetch/Fetch completed* > > *RequestError: send request failed* > *caused by: Post https://sns.us-west-1.amazonaws.com/ > <https://sns.us-west-1.amazonaws.com/>: Call error 3: invalid security > ticket (context expired)* > > We also tested urlfetch with other third party services, and we still get > the same error messages as above. > > Is there anybody that can help us with this situation? > > Thank you very much for your help. > > Best, > Rio > -- 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 https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/ff628fb1-fa2a-4dd4-b170-ababf7b89879%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
