WebPagetest Forums
Lambda Call API Timeout - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Lambda Call API Timeout (/showthread.php?tid=15591)



Lambda Call API Timeout - stefano.silva - 12-19-2018 12:56 AM

Hello, i'm new on Webpagetest and i'm using a application in Lambda on AWS, developed in Python to test my website. Until 12/09 it's working perfectly but in this date i'm started to receive this message:

ConnectionError: HTTPConnectionPool(host='www.webpagetest.org', port=80): Max retries exceeded with url: /jsonResult.php?test=181218_PB_5183f83d9dce296f768a35a12197c5b6 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fad65b5bdd0>: Failed to establish a new connection: [Errno 110] Connection timed out',))

So, I try to test the same code in my local machine, and it's worked perfectly again. Now, I'm confused about this.
Could you help me?

Obs: This error appears on request and jsonResult methods


RE: Lambda Call API Timeout - pmeenan - 12-20-2018 12:48 AM

You can try going to api.webpagetest.org instead of www. That will go to the origin and skip the CDN in case there is a connectivity problem between AWS and Fastly.