Page 1 of 1

[SOLVED] Problem: Private deposits

Published: September 21, 2021 - 6:10 PM
by haxo_914
Server: CentOS Linux release 7.9.2009
Console: Windows 10 2.0.0.9428 rev 4b33cf96

Good evening,

I have two main problems since my upgrade to v2.0.0.9428

1/ I created 3 secondary repositories (3 remote sites) which synchronize at night.
Depending on the agents' IP addresses, the KB downloads are made from one repository or another.
Since the upgrade, remote agents download from the main site, which has major consequences for bandwidth.
I've tried posting on all 3 sites and I have the same problem.

2/ To access private repositories https://store.wapt.fr/wapt I'm using a proxy server.
Since the upgrade I can no longer download packages and I get the following message.
Error message wapt.JPG
Error message wapt.JPG (31.11 KB) Viewed 5510 times
I changed the timeout value in the waptconsole.ini file (from 5 to 20) but the message remains the same.


Thank you for your help

Sincerely

Jerome

Re: Problem: Private deposits

Published: September 21, 2021 - 6:40 PM
by htouvet
Good evening,
Regarding timeouts, they are now expressed in milliseconds (20000 ms by default on the repositories).
But I don't think this is properly documented...

Re: Problem: Private deposits

Published: September 21, 2021 - 6:44 PM
by htouvet
Regarding the download that isn't using the correct repository, could you please check the "last_external_ip" property in the machine's hardware inventory?

Re: Problem: Private deposits

Published: September 29, 2021 - 12:22 PM
by haxo_914
Hello,

first of all, thank you for your reply.
I checked the value of last_external_ip and it is indeed within the IP range of my rule.
However, upon closer inspection, I don't see the repositories in the hardware inventory, whereas on other workstations in the same site, I can see the three repositories listed.
It's as if the workstation hasn't "learned" the rules.
I changed the order of the repositories (by the way, is that important?), but I get the same result.

I ran the following query:
`select computer_name,wapt_status->'wapt_version_full' as version,wapt_status->'repositories'->0->'rules'->2->'repo_url' as depot, wapt_status->'last_external_ip' as IP from hosts
order by depot`

to check if other PCs had the same problem, and it did for about 50% of my network (approximately 30 workstations).

Regards

Re: Problem: Private deposits

Published: October 6, 2021 - 5:11 PM
by haxo_914
Hello,

I've resolved my two problems.

1 - Incorrect repositories
: On some PCs, the
`use_repo_rules` value in the file `C:\Program Files (x86)\wapt\waptget.ini` was set to 0.
So I created a GPO to deploy the same file to all PCs in my network.

2 - To access the private repositories at https://store.wapt.fr/wapt, I use a proxy server.
Since the upgrade, I can no longer download packages and I get the following message.

I went to the website https://store.wapt.fr/wapt and clicked (installed) the `catranquilit.crt` certificate on the PC where my administration console is installed.
Since then, there have been no more problems.

Re: Problem: Private deposits

Published: October 14, 2021 - 3:02 PM
by dcardon
Thanks for the feedback!
Denis