Current time: 05-23-2013, 10:05 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Invalid Location, please try submitting your test request again
06-01-2012, 03:08 AM
Post: #1
Wink Invalid Location, please try submitting your test request again
Hello, I am trying to setup a private instance of webtestpage and wptmonitor. I have the 2 products running on the same server, and I am trying to use IE8 client based on EC2 AMI ami-406f9429.

I have the new AMi running as EC2 instance , my locations.ini file:


[EC2_Viginia]
1=ec2-us-east-IE7
2=ec2-us-east-IE8
label="Amazon EC2 East ( Viriginia )"

[US_East_IE8]
;AMI: ami-406f9429
user-data: wpt_server=webpagetest.ziffdavisinet.com wpt_location=ec2-us-east-IE8 wpt_key=secretKey
browser=IE 8
latency=0
label="US East (Virginia) - IE8"
key=secretKey

I launched my ec2 instance using this user data:

wpt_server=webpagetest.ziffdavisinet.com wpt_location=ec2-us-east-IE8 wpt_key=secretKey

When I execute my job, I get :
[ERROR] [submitWPTRequest] Job Submission failed with message: Invalid Location, please try submitting your test request again.

Where can I start looking for clues ?

ec2 instance is open on port 80 to teh world
Find all posts by this user
Quote this message in a reply
06-01-2012, 09:46 AM
Post: #2
RE: Invalid Location, please try submitting your test request again
Looks like you really want a locations.ini that looks more like this (may be a few typos since it's off the top of my head):

[locations]
1=us-east
default=us-east

[us-east]
1=ec2-us-east-IE7
2=ec2-us-east-IE8
label="Amazon EC2 East (Virginia)"

[ec2-us-east-IE7]
browser=IE 7
label="US East - IE 7"
key=secretKey


[ec2-us-east-IE8]
browser=IE 8
label="US East - IE 8"
key=secretKey


The user-data in locations.ini is just there to show you what the user data string should look like but you don't want to uncomment it.

If you have't seen it yet, I have an illustrated example here: https://sites.google.com/a/webpagetest.o.../locations

The EC2 instance doesn't need any ports open, it polls the server for work (which means the server needs to be reachable from it though). You should be able to submit jobs without any agents running - that error points to a server config issue (locations.ini or filesystem permissions).

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
06-01-2012, 11:55 AM
Post: #3
RE: Invalid Location, please try submitting your test request again
Thanks for the responce, how can I get a public API key to try with my 5 websites ?

(06-01-2012 09:46 AM)pmeenan Wrote:  Looks like you really want a locations.ini that looks more like this (may be a few typos since it's off the top of my head):

[locations]
1=us-east
default=us-east

[us-east]
1=ec2-us-east-IE7
2=ec2-us-east-IE8
label="Amazon EC2 East (Virginia)"

[ec2-us-east-IE7]
browser=IE 7
label="US East - IE 7"
key=secretKey


[ec2-us-east-IE8]
browser=IE 8
label="US East - IE 8"
key=secretKey


The user-data in locations.ini is just there to show you what the user data string should look like but you don't want to uncomment it.

If you have't seen it yet, I have an illustrated example here: https://sites.google.com/a/webpagetest.o.../locations

The EC2 instance doesn't need any ports open, it polls the server for work (which means the server needs to be reachable from it though). You should be able to submit jobs without any agents running - that error points to a server config issue (locations.ini or filesystem permissions).

Thanks,

-Pat
Find all posts by this user
Quote this message in a reply
06-07-2012, 03:42 AM
Post: #4
RE: Invalid Location, please try submitting your test request again
email me at pmeenan@webpagetest.org :-)

Thanks,

-Pat
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)