[google-appengine] Re: Google app engine: 502 Bad Gateway only on POST requests

2016-05-31 Thread Harris Robin Kalash
tatus > }); > }); > } > > > This seems to be the way their documentation suggests getting screen > captures. Let me know if this works for you. If you still encounter errors, > I would suggest adding listeners to onResourceError > <http://phantomjs.org/api/w

[google-appengine] Google app engine: 502 Bad Gateway only on POST requests

2016-05-30 Thread Harris Robin Kalash
So I deployed a nodeJS script on GAE and whenever I hit a POST endpoint I get a 502 Bad Gateway error. The endpoint is a simple service that grabs a screenshot of a page using phantomJS and returns a JSON that contains the base64 representation of the image in it. Doing a GET to this endpoint

[google-appengine] Re: 502 bad gateway - flexible environment n1-standard-1

2016-05-30 Thread Harris Robin Kalash
Hi, I am getting the same issue. However I did notice that it is specifically with a POST endpoint that returns JSON. I don't have this problem with GET. Thanks, Harris On Tuesday, April 12, 2016 at 12:25:54 AM UTC-4, Deepak Singh wrote: > > Dear Team, > > We just upgraded to flexible environm