[Bug 901054] Re: branch over https tries POST on http

Martin Pool mbp at canonical.com
Thu Dec 8 05:19:14 UTC 2011


The reason for this is that <https://code.launchpad.net/~ubuntu-core-
dev/binutils/pkg-ubuntu/.bzr/branch/location> points to
<http://bazaar.launchpad.net/~ubuntu-core-dev/binutils/pkg-ubuntu>,
which is perhaps a bit strange.  It is purely a launchpad server-side
bug.  Perhaps lp should point to https instead.

As a workaround you can just use an https://bazaar.launchpad.net/... url
or even better bzr+ssh://bazaar.launchpad.net/...

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/901054

Title:
  bzr access to https://code.l.n redirects to http

Status in Launchpad itself:
  Triaged

Bug description:
  I am behind a firewall whereby I can punch through for https, and then
  have to use a finicky windows domain integrated proxy for http. I
  elect not to use that proxy as much as possible, and try to "prefer"
  https when it is availab.e

  I have tried to do this with a bzr branch, and have been met with this
  error:

  ubuntu:~/workarea$ bzr branch --verbose https://code.launchpad.net/~ubuntu-core-dev/binutils/pkg-ubuntu binutils-pkg-ubuntu
  bzr: ERROR: Connection error: while sending POST /~ubuntu-core-dev/binutils/pkg-ubuntu/.bzr/smart: [Errno 110] Connection timed out

  strace shows that there was an attempt to connect to the http, instead
  of the https server:

  afro-ubuntu:~$ sudo strace -fp 8432
  Process 8432 attached - interrupt to quit
  connect(6, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("91.189.90.11")}, 16^C <unfinished ...>
  Process 8432 detached

  To me this is a bug. I've specified a https method, so I would expect
  bzr not to stray. I don't have an ftp methoded URL to try, but I
  wonder if this would happen for ftp as well.

To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/901054/+subscriptions




More information about the foundations-bugs mailing list