Inventory issues

If you cannot send inventories to the server, it may be because of a proxy configured in /etc/profile or shell configuration. Rudder agents use cURL to send inventories to their server, and the server actually uses it too to send received inventories to the inventory web application. There are two solutions usable to prevent this problem:

  • Disable the proxy temporarily in your shell session, so Rudder can operate freely:
unset http_proxy; unset https_proxy; unset ftp_proxy; unset ftps_proxy; unset HTTP_PROXY; unset HTTPS_PROXY; unset FTP_PROXY; unset FTPS_PROXY
  • If you are using the Squid proxy, you are in luck, as the workaround might simply be to add this entry to your /etc/squid/squid.conf: ignore_expect_100 on, it will make Squid more tolerant to programs like cURL than send some terse http requests. (Thanks to Albaro A. for this tip!)