Comment 2 for bug 971983

Revision history for this message
Frank (frank-bourdeau) wrote : Re: [Bug 971983] Re: HTTPS does not work through proxy

Re

Je te propose d'essayer de résoudre ce bug. Le souci sera de pouvoir
vérifier que cela fonctionne. Je n'ai pas de proxy à la maison, encore
moins un proxy via https
Je te soumettrai bien sûr "ma rustine" pour validation.

Je pense que tu vas être content :D

Frank

Le 03.04.2012 22:42, mortheres a écrit :
> ** Project changed: ocsinventory-deploy-tool =>
> ocsinventory-unix-agent
>
> ** Changed in: ocsinventory-unix-agent
> Assignee: (unassigned) => mortheres (mortheres)
>
> ** Changed in: ocsinventory-unix-agent
> Importance: Undecided => Medium
>
> --
> You received this bug notification because you are a member of OCS
> Inventory Dev Team, which is the registrant for OCS Inventory: OCS
> Unified Unix Agent.
> https://bugs.launchpad.net/bugs/971983
>
> Title:
> HTTPS does not work through proxy
>
> Status in OCS Unified Unix Agent:
> New
>
> Bug description:
> Hello,
>
> When https_proxy is defined, ocsinventory-agent in unix always uses
> the proxy. However, it always fails with 400 error.
>
> [Mon Apr 2 20:03:23 2012][info] Accountinfo file doesn't exist. I
> create an empty one.
> [Mon Apr 2 20:03:23 2012][info] Going to sleep for 68 second(s)
> [Mon Apr 2 20:03:35 2012] Running ocsinventory-agent --wait 1
> [Mon Apr 2 20:03:35 2012][info] Going to sleep for 0 second(s)
> [Mon Apr 2 20:03:35 2012][error] Cannot establish communication :
> 400 Bad Request
> [Mon Apr 2 20:03:35 2012] End of cron job
> (/sbin:/bin:/usr/sbin:/usr/bin)
>
> My proxy is a common squid and HTTPS works for other cases. My
> workarround is to undefine https_proxy in sysconfig, which is not a
> very good solution (but it works).
>
> If this is not reproducible by developers, what information could I
> provide that helps to fix this problem?
>
> Thanks,
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ocsinventory-unix-agent/+bug/971983/+subscriptions