Page 1 of 1

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

Published: March 5, 2026 - 2:07 PM
by yoni
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

Re: Secondary repositories -> 403 Client Error: Forbidden

Published: March 5, 2026 - 3:59 PM
by sfonteneau
The `/wapt` rule is missing from the secondary repository rule.

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

should become:

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

Re: Secondary repositories -> 403 Client Error: Forbidden

Published: March 6, 2026 - 09:15
by lelongg
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 5907 times

Re: Secondary repositories -> 403 Client Error: Forbidden

Published: March 6, 2026 - 09:22
by dcardon
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

Re: Secondary repositories -> 403 Client Error: Forbidden

Published: March 6, 2026 - 09:26
by lelongg
Thank you!
We will follow this advice.
Best regards,
Gilles