Projet

Général

Profil

Tâche #8400

Mis à jour par Joël Cuissinat il y a presque 10 ans

Bonjour,
Dans la version 2.3.13 du fichier /usr/share/eole/FonctionsEoleNg, il y a une petite erreur dans le test "TestWeb".
Typiquement lors d'un d'unn diagnose, dans les services distants, le proxy est en erreur :

<pre>
*** Services Distants
. Passerelle 10.113.2.241 => Ok
. DNS 10.40.26.193 => Ok
. DNS 10.40.26.194 => Ok
. NTP 195.83.253.7 => Ok
. Serveur Proxy => Erreur
Erreur
</pre>


Problème Problèmes présent à priori sur tous les modules (j'ai testé sur Amon, Horus et Scribe).

En fait TestWeb fait deux fois appel appels à la valeur "PROXY:"

+Version actuelle :+
<pre>
TestWeb() {
WGET_OPTIONS="-t2 -T3 --delete-after"
WARN_MSG=""
PROXIES_TESTS="PROXY:" +*PROXIES_TESTS="PROXY:"*+
if [ "$activer_proxy_client" == "oui" ]
then
PROXIES_TESTS="$PROXIES_TESTS PROXY:http://$proxy_client_adresse:$proxy_client_port"
</pre>
PROXIES_TESTS="*+$PROXIES_TESTS PROXY+*:http://$proxy_client_adresse:$proxy_client_port"

Le fait d'enlever l'appel à $PROXIES_TESTS dans le test résoud le problème.

+Version corrigée corrigé :+
<pre>
TestWeb() {
WGET_OPTIONS="-t2 -T3 --delete-after"
WARN_MSG=""
PROXIES_TESTS="PROXY:"
if [ "$activer_proxy_client" == "oui" ]
then
PROXIES_TESTS="PROXY:http://$proxy_client_adresse:$proxy_client_port"
</pre>


Le diagnose est alors bon :
<pre>
*** Services Distants
. Passerelle 10.113.2.241 => Ok
. DNS 10.40.26.193 => Ok
. DNS 10.40.26.194 => Ok
. NTP 195.83.253.7 => Ok
. Serveur Proxy => Ok
. Accès distant => Ok
</pre>


Retour