Current time: 12-12-2019, 11:18 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Private Instance: Relay: Invalid API Key
11-15-2014, 12:28 AM
Post: #1
Private Instance: Relay: Invalid API Key
Hello,

I set up a private instance of Webpagetest.
But I can't get a valid request. I only get the Relay: Invalid API Key.
I tried to delete the key.ini but that doesn't helped. Now I have tried the configuraten with the key from key.ini
My locations.ini looks like this:
Code:
[locations]
1=Test_loc
2=Public_Dulles
3=Appurify
default=Test_loc

;
; These are the top-level locations that are listed in the location dropdown
; Each one points to one or more browser configurations
;

[Test_loc]
1=IE
2=Test
label=Test Location
group=Desktop

[Public_Dulles]
1=WPT_Dulles_IE8
label="WebPagetest.org - Dulles, VA"
group=Public

;
; Tese are the browser-specific configurations that match the configurations
; defined in the top-level locations.  Each one of these MUST match the location
; name configured on the test agent (urlblast.ini or wptdriver.ini)
;

[IE]
browser=IE 8
latency=0
label="Test Location - IE 8"
browserExe=pagetest.exe
key=KeyToBeUsedByTheWebUI

;
; For a wptdriver configuration (chrome, firefox), the browser labels here
; MUST match the labels used in wptdriver.ini
;

[Test]
browser=Chrome,Firefox
label="Test Location"

;
; This is an exaple of a "remote" configuration where tests can be proxied to a remote
; webpagetest instance.  The test will be run by the remote server but the results
; will be downloaded to the local server and deleted from the remote agent
;
; Each location that you want to use from the remote server needs to be configured
; individually on the local configuration (location names do not need to match)
;
; To use the public webpagetest.org instance you will need an API key
;

[WPT_Dulles_IE8]
browser=IE 8
label="WebPagetest.org Dulles, VA - IE8"
relayServer="http://www.webpagetest.org/"
relayKey=KeyToBeUsedByTheWebUI
relayLocation=Dulles_IE8

;
; This is a special location for testing on Appurify mobile devices.
; Appurify offers mobile device testing as a service.
;
[Appurify]
1=Appurify_Mobile
label="Appurify Mobile Testing"
lat=35.682175
lng=139.752731
group=Mobile

[Appurify_Mobile]
type=Appurify
label="Appurify Mobile"
key=KeyToBeUsedByTheWebUI
secret=AnyRandomSecretKeyOrHash

Could you please write me, what I doing wrong?

best regards
Find all posts by this user
Quote this message in a reply
11-15-2014, 10:34 PM
Post: #2
RE: Private Instance: Relay: Invalid API Key
I'd remove the Public_Dulles and Appurify locations - unless you have a public API key you won't be able to use them.

Andy

Using WebPageTest - http://usingwpt.com/
Visit this user's website Find all posts by this user
Quote this message in a reply
11-20-2014, 07:20 PM
Post: #3
RE: Private Instance: Relay: Invalid API Key
(11-15-2014 10:34 PM)andydavies Wrote:  I'd remove the Public_Dulles and Appurify locations - unless you have a public API key you won't be able to use them.

Thank you for the advice. Big Grin
Now I don't get the error.
Here is my locations.ini file, what work.
Code:
[locations]
1=Local
default=Local

;
; These are the top-level locations that are listed in the location dropdown
; Each one points to one or more browser configurations
;

[Local]
1=Local-URLBlast
2=Local-WPTDriver
label=Local

;
; These are the browser-specific configurations that match the configurations
; defined in the top-level locations.  Each one of these MUST match the location
; name configured on the test agent (urlblast.ini or wptdriver.ini)
;

[Local-URLBlast]
browser=IE 11
latency=0
label="Local - IE 11"
;browserExe=pagetest.exe
;key=TestKey123

;
; For a wptdriver configuration (chrome, firefox), the browser labels here
; MUST match the labels used in wptdriver.ini
;

[Local-WPTDriver]
browser=Chrome,Firefox
label="Local"
[/php]
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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