Tests do not run when using the webpagetest-server AMI
|
07-02-2015, 01:16 AM
(This post was last modified: 07-02-2015 01:52 AM by nfo.)
Post: #1
|
|||
|
|||
![]()
Hi,
I launched an instance with the AMI webpagetest-server-2014-11-25 - ami-9978f6ee. User data: Code: ec2_key=AKIA The AWS key can manage EC2 and S3. One launched, I open the webpagetest webui, and run a test with Chrome in the default region (Ireland), and get the "Waiting at the front of the queue" message indefinitely. I see that a Windows instance was started automatically. I can login with RDP, wptdriver.exe is running and it checks for tests. In wptdriver.ini, the [WebPagetest] section contains no url nor location key, but ec2=1. Does wptdriver.exe writes logs somewhere, so I can at least check where it is polling for jobs ? I also tried running tests us-east-1 and eu-central-1, and also start a server in these regions. Edit So I checked the code of wptdriver, especially wpt_settings.cc. It calls http://169.254.169.254/latest/user-data to get the server ip. So I dit that on the Agent instance and noticed that wpt_server contains the public IP of the server. I expected the private IP. So I added a rule in the Security Group to accept connections from the public IP of the agent, and it works fine now. It's more an EC2 question than a WPT question, but how would I configure my security group to only allow connections from public IPs of each new agent ? Thanks, Nicolas |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Tests do not run when using the webpagetest-server AMI - nfo - 07-02-2015 01:16 AM
|
User(s) browsing this thread: 1 Guest(s)