<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><br>
      <div class="moz-signature">
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        <br>
        <div class="moz-signature"><br>
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          <title></title>
          <br>
        </div>
      </div>
      Le 07/05/2014 15:02, Vincent Membré a écrit :<br>
    </div>
    <blockquote cite="mid:536A2EDF.8040204@normation.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">Le 07/05/2014 10:55, Olivier Desport
        a écrit :<br>
      </div>
      <blockquote cite="mid:5369F517.6040704@ac-versailles.fr"
        type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">Le 07/05/2014 10:20, Vincent Membré
          a écrit :<br>
        </div>
        <blockquote cite="mid:5369ECC1.6080205@normation.com"
          type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          <div class="moz-cite-prefix">Le 06/05/2014 14:01, Olivier
            Desport a écrit :<br>
          </div>
          <blockquote cite="mid:5368CF05.3010804@ac-versailles.fr"
            type="cite">
            <meta content="text/html; charset=ISO-8859-1"
              http-equiv="Content-Type">
            <br>
          </blockquote>
        </blockquote>
        <br>
        <blockquote cite="mid:5369ECC1.6080205@normation.com"
          type="cite">
          <blockquote cite="mid:5368CF05.3010804@ac-versailles.fr"
            type="cite"> <br>
            <blockquote cite="mid:5368A3C2.9020702@normation.com"
              type="cite"> * Can you paste the result of the following
              command:<br>
              <blockquote>  /usr/bin/curl -f -s --proxy '' --user
                rudder:rudder -T
                /var/rudder/inventories/srv-2-2014-05-06-08-47-59.ocs  <a
                  moz-do-not-send="true" class="moz-txt-link-freetext"
                  href="http://172.16.0.10/inventories/">http://172.16.0.10/inventories/</a><br>
              </blockquote>
            </blockquote>
            No result (no error too) for this command.<br>
          </blockquote>
          <br>
          You should have at least a result...<br>
          <br>
          Can you run that command in verbose ?<br>
          <br>
          <blockquote>  /usr/bin/curl -f -s --proxy '' --user
            rudder:rudder -T
            /var/rudder/inventories/srv-2-2014-05-06-08-47-59.ocs  <a
              moz-do-not-send="true" class="moz-txt-link-freetext"
              href="http://172.16.0.10/inventories/">http://172.16.0.10/inventories/</a>
            -v<br>
          </blockquote>
        </blockquote>
        <br>
        Output :<br>
        <br>
        * About to connect() to 172.16.0.10 port 80 (#0)<br>
        *   Trying 172.16.0.10...<br>
        * connected<br>
        * Connected to 172.16.0.10 (172.16.0.10) port 80 (#0)<br>
        * Server auth using Basic with user 'rudder'<br>
        > PUT /inventories/srv-2-2014-05-06-08-47-59.ocs HTTP/1.1<br>
        > Authorization: Basic cnVkZGVyOnJ1ZGRlcg==<br>
        > User-Agent: curl/7.26.0<br>
        > Host: 172.16.0.10<br>
        > Accept: */*<br>
        > Content-Length: 173820<br>
        > Expect: 100-continue<br>
        > <br>
        * The requested URL returned error: 417<br>
        * Closing connection #0<br>
        <br>
      </blockquote>
      <br>
      Ok so there is an error here.<br>
      <br>
      Can you look on the server in /var/log/rudder/apache2/error.log
      files if there is a more explicit message? (Look for a PUT
      request, on URL /inventories/srv-2-2014-05-06-08-47-59.ocs) <br>
    </blockquote>
    <br>
    This is a network problem. The requests are send to the proxy and
    not to the Rudder server. When I modifiy my iptables rules on the
    client, it works fine.<br>
    <br>
    Thanks for your help.<br>
    <blockquote cite="mid:536A2EDF.8040204@normation.com" type="cite"> <br>
      Regards,<br>
      <br>
      <div class="moz-signature">-- <br>
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <style type="text/css"><!--
    a.redlink:link { color: #962322; text-decoration: none; }
    a.redlink:visited { color: #962322; text-decoration: none; }
    .sig { font-family: sans-serif; font-size: small; }
    .sigsmall { font-family: sans-serif; font-size: x-small; }
  --></style>
        <table cellpadding="0" cellspacing="2" width="380" border="0">
          <tbody>
            <tr>
              <td colspan="2">
                <hr></td>
            </tr>
            <tr>
              <td colspan="2"><b><img alt=""
                    src="cid:part3.00040604.04000907@ac-versailles.fr"
                    height="50" hspace="10" width="50" align="left"> <span
                    class="sig">Vincent Membré</span></b><br>
                <span class="sig"><i>Ingénieur R&D</i></span><br>
                <span class="sig"><a moz-do-not-send="true"
                    class="redlink" href="http://www.normation.com">Normation</a></span>
              </td>
            </tr>
            <tr>
              <td colspan="2">
                <hr></td>
            </tr>
            <tr>
              <td colspan="2"><span class="sigsmall"><b>87 rue de
                    Turbigo, 75003 Paris, France</b></span></td>
            </tr>
            <tr>
              <td><span class="sigsmall">Telephone:</span></td>
              <td><span class="sigsmall">+33 (0)1 84 16 06 00</span></td>
            </tr>
            <tr>
              <td><span class="sigsmall">Mobile:</span></td>
              <td><span class="sigsmall">+33 (0)6 10 14 76 78</span></td>
            </tr>
            <tr>
              <td colspan="2">
                <hr></td>
            </tr>
          </tbody>
        </table>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
rudder-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a>
<a class="moz-txt-link-freetext" href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>