Page 1 of 1

WAPT Server not available

Published: February 23, 2018 - 2:32 PM
by thosab
Hello,

As part of managing our school's IT infrastructure, I wanted to use a solution like WAPT for deploying software in the labs.
The entire server installation went smoothly (installation on Windows Server), and I was able to create a WAPT agent. However, I'm encountering a problem installing this agent on a test machine (also running Windows). I can't register it on the server.

I was able to download the agent installer from https://svrwapt.mydomain.local/, and it installs without issue, but it doesn't register in the console. I then tried `wapt-get register`, which prompts me for a username and password. I enter the local admin password, but I get the following error message:
"Exception: WAPT Server is not available."

However, I can successfully connect to https://svrwapt.mydomain.local/ and ping the server machine. The "wapt-get update" command works, and

the WAPTServer service is running correctly on the server, but apparently, the agent can't contact it. We're running Windows Server 2012 R2, and this machine is only used as a file server. I can access the console (both on the server and the test machine); it's only the agent that can't communicate.

If it helps, I also get an error when trying to import a package:
Unable to import package: HTTPError: 400 Client Error: Bad Request for url:
...://localserveraddress/upload_package/packagename.

Could I have forgotten to do something?

Re: WAPT Server not available

Published: February 23, 2018 - 5:16 PM
by htouvet
Do you have a proxy or firewall between the workstation (on the workstation) and the server?
What version of WAPT are you using?

Re: WAPT Server not available

Published: February 26, 2018 - 7:58 AM
by thosab
There's only the Windows Firewall, and no proxy.
I tried temporarily disabling the Windows Firewall, but it didn't help.
And it's version 1.3.

Re: WAPT Server not available

Published: March 5, 2018 - 11:17
by dcardon
Good morning,
thosab wrote: Feb 26, 2018 - 7:58 AM There's only the Windows Firewall, and no proxy.
I tried temporarily disabling the Windows Firewall, but without success.
And it's version 1.3
Could you please verify that the waptserver service is running correctly on your Windows system? The symptoms would indicate that Apache is running, but the waptserver Python service is not.

Sincerely,

Denis

Re: WAPT Server not available

Published: March 5, 2018 - 1:35 PM
by thosab
Thank you for your help.
In the meantime, I've switched to a Fusion Inventory solution. I might try WAPT again sometime to compare it with the others.