catchpoint / WebPageTest.agent-install

Automated scripts for installing dedicated wptagent instances
Apache License 2.0
11 stars 27 forks source link

Agents are not connection to the server . Test Locations are showing blank #2

Open kiransterling opened 5 years ago

kiransterling commented 5 years ago

Hi ,

I have installed server in google cloud platform in ubuntu 16.04 LTS . It is working fine . I followed the steps to install the agents mentioned in url (https://github.com/WPO-Foundation/webpagetest-docs/blob/master/user/Private%20Instances/gce_agents.md) but after creating the instance group and the VM it is not able to connect to the server . In sever UI the locations are still blank . I waited for 30 mins so that all the browsers get installed in the agents but nothing happened . Need help to fix the issue .

Regards Kashyap

srayan commented 4 years ago

Hi Kashyap, I seem to be having the exact same issues while trying to set up the server and agent on Ubuntu 16.0.4 and 18.0.4 (on Azure). Were you able to find a fix?

ShantiSumanth commented 2 years ago

Hi both, Have you managed to fix the Agent connection to Server(on cloud, Azure)? if so, could you please assist on how you sorted the issue.

Thanks Shanti

Kanwrk commented 2 years ago

Hi @ShantiSumanth , Today I was trying to install the agents in Google Cloud and faced the same issue (Test locations were showing blank). Looks like not setting the wpt_location part of the metadata, resulting in the issue. As per the instructions given, it supposed to set a default value for that, something is not right there... think so. So, I basically set the wpt_location (it should match the location value already given in the wpt_server locations.ini... Following is the metadata I used when setting up the agent

wpt_server= wpt_url=http:///work/ wpt_key= wpt_location=gce-us-central1-linux

One more way to fix is, tail the web server logs in the WPT server to see the WPT agent's ping, it basically has the location its pinging from, you can configure that in the locations.ini

ShantiSumanth commented 2 years ago

Thank you @Kanwrk , Will try to change config as mentioned.

Thanks again

Shanti

ShantiSumanth commented 2 years ago

Hi @Kanwrk,
Connection isn't successful after executing metadata on agent. I just executed the said command as i have already setup agent via debian.sh.

Please take a look at the location.ini attached.

Screen Shot 2022-10-11 at 09 50 32

As agent isn't connected i'm failing to see location info in server logs. Any advise on this please?