Comment 1 for bug 770464

Revision history for this message
Vincent Ladeuil (vila) wrote : Re: [Bug 770464] [NEW] Need realm parameter in authentication config file

>>>>> Kirill Danilov writes:

    > Public bug reported:
    > Hi.
    > I have HTTPS repository with authentication behind with proxy
    > with authentication.

Ok.

    > It seems Bazaar for windows detects proxy and asks for proxy auth
    > automatically with ignoring special proxy settings.

That's weird, so it be nice to understand what is precisely happening here.

    > After this it asks for repository authentication. The problem is
    > that host shown in dialog is exactly the same although proxy and
    > repository are on different domains.

That's even more weird.

    > So only one difference I have its realm.

But realm comes *back* from the server, so it defeats half of the
feature of providing credentials upfront to avoid one round-trip (which
is why realm is not available in authentication.conf to select
credentials for a given host).

    > But I can't point it in auth config file for automatic
    > authentication. Please, add this parameter to config.

Now, may be we can understand what is happening in your case and fix the
problem there.

If you add -Dhttp to your bzr command, your .bzr.log file (see 'bzr
version' to find where it's located) will contain debug information
that would help diagnose the issue.

Be aware that this will include a (poorly) encrypted form of your
credentials in some headers (mainly Authorization and
Proxy-authorization), please clean them up (replace their *value* with
XXXX), but don't delete the headers themselves.