Lambda Call API Timeout

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

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.