[RESOLVED] Secondary repositories -> 403 Client Error: Forbidden

Questions about WAPT Server / Requests and help related to the WAPT server
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
yoni
Messages: 5
Registration: Apr 03, 2017 - 4:29 p.m.

March 5, 2026 - 2:07 PM

Hello,

WAPT Enterprise Server 2.6.1.1765.

We are experiencing an issue with our secondary repositories, which are no longer functioning. They are deployed on Windows 11 systems. Installed package: tis-remote-repo-http version 2.6.1.1765.

client log waptservice.log: [waptcore WaptTaskManager 13204] INFO Repo packages index http://s50dn-depot.fr/Packages is not available: 403 Client Error: Forbidden for url: http://s50dn-depot.fr/Packages

wapt console log: Exception: THttpClientSocket.WGet: HEAD s50dn-depot.fr:80/wapt/ipt-mail_1.1-25_windows_10.0_DEV.wapt failed as 403 Forbidden

However, from the client machine, the command "curl http://s50dn-depot.fr/wapt/ipt-mail_1.1 ... 0_DEV.wapt " correctly returns a status code 200.

Could you tell me what to check on the secondary repository?

Thank you for your help.
Yoni
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

March 5, 2026 - 3:59 PM

The `/wapt` rule is missing from the secondary repository rule.

`http://s50dn-depot.fr/Packages`

should become:

`http://s50dn-depot.fr/wapt
lelongg
Messages: 13
Registration: Sep 22, 2022 - 4:06 p.m.

March 6, 2026 - 09:15

Good morning,
I am Yoni's colleague from Rouen.
We haven't changed the rules since we had secondary repositories; they've always worked with the repository URLhttp://s50dn-depot.ad.in.ac-normandie.fr"(for machines whose name corresponds to *50dn*), it has been a short time since our repositories have been accessed (I would say since version 2.6.1.17705.
Should the URL include the full chin? http://s50dn-depot.ad.in.ac-normandie.fr/wapt/packages ?
2026-03-06 09_14_53-WAPTConsole Enterprise version 2.6.1.17765 [srvwapt.ac-normandie.fr].png
2026-03-06 09_14_53-WAPTConsole Enterprise version 2.6.1.17765 [srvwapt.ac-normandie.fr].png (18.26 KB) Viewed 5940 times
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

March 6, 2026 - 09:22

Hello Gilles,

the URL is http://s50dn-depot.ad.in.ac-normandie.fr/wapt/

Perhaps there was a fallback to correct the URL before, but the correct repository URL must end with /wapt/. It might have been failing in the past, but now it's correct. :-)

Another small point: for the proxy, you normally need to add the protocol (http://srv-proxy...). I don't know if there's an automatic fallback for it, but normally a URL is expected here.

To ensure that workstations are accessing the secondary repository, you can select "no fallback," so you'll see immediately if it's working correctly or not.

Regards,

Denis
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
lelongg
Messages: 13
Registration: Sep 22, 2022 - 4:06 p.m.

March 6, 2026 - 09:26

Thank you!
We will follow this advice.
Best regards,
Gilles
Locked