[Bug 901054] [NEW] branch over https tries POST on http

Shaddy Baddah 901054 at bugs.launchpad.net
Wed Dec 7 03:36:44 UTC 2011


Public bug reported:

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.

** Affects: bzr (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  branch over https tries POST on http

Status in “bzr” package in Ubuntu:
  New

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/ubuntu/+source/bzr/+bug/901054/+subscriptions




More information about the foundations-bugs mailing list