<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<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 02/12/2013 12:49, Matthieu CERDA a écrit :<br>
</div>
<blockquote cite="mid:529C73E5.2040200@normation.com" type="cite">Le
02/12/2013 11:31, Matthieu CERDA a écrit :
<br>
<blockquote type="cite">
<blockquote type="cite">Hello Olivier,
<br>
<br>
According to curl's documentation, it seems that he gets an
HTTP 4XX error with Rudder.
<br>
<br>
Can you please tell me which OS are you using, and try to run
"/usr/bin/curl --proxy '' -o "/var/rudder/tmp/uuid.txt<a class="moz-txt-link-rfc2396E" href="http://172.31.0.61/uuid">"
http://172.31.0.61/uuid"</a> manually ?
<br>
</blockquote>
The OS is debian.
<br>
<br>
Output for /usr/bin/curl --proxy '' -o
"/var/rudder/tmp/uuid.txt" <a class="moz-txt-link-freetext" href="http://172.31.0.61/uuid">http://172.31.0.61/uuid</a> :
<br>
<br>
################################################
<br>
% Total % Received % Xferd Average Speed Time Time
Time Current
<br>
Dload Upload Total Spent
Left Speed
<br>
100 3159 100 3159 0 0 206k 0 --:--:-- --:--:--
--:--:-- 220k
<br>
###########################################
<br>
<blockquote type="cite">
<br>
Also, do you have a proxy in your environment ? (especially a
transparent one)
<br>
</blockquote>
I have a no-transparent proxy which is defined in $http_proxy
and $no_proxy. The client and the server are on the same subnet,
so the proxy shouldn't be used by rudder.
<br>
</blockquote>
OK, so the invocation looks good manually too.
<br>
<br>
Can you please send me the output of "grep <NODE IP ADDRESS>
/var/log/rudder/apache2/access.log", to be executed on the Rudder
server ? (replacing the node ip address by the IP of the node
unable to be registered)
<br>
</blockquote>
The output of the grep is empty.<br>
<blockquote cite="mid:529C73E5.2040200@normation.com" type="cite">
<br>
I'm especially searching for the actual HTTP error code sent back
to cURL.<br>
</blockquote>
<blockquote cite="mid:529C73E5.2040200@normation.com" type="cite">
<br>
Regards,
<br>
--
<br>
Matthieu CERDA
<br>
</blockquote>
<br>
</body>
</html>