[Bug 863717] Re: oneconf-service crashed with HTTPError in __negotiatehttp(): (403, 'Forbidden')

Michael Vogt michael.vogt at ubuntu.com
Tue Oct 4 12:03:21 UTC 2011


The problem here is that the python-httplib2 code will use socks.py for the proxying. That in turn only adds support
for proxy via the "CONNECT" method that requires a acl in squid. Not this is needed for https based proxying, but
for plain http this is not needed. The attach patch from the google project page fixes this by adding a new proxy
type for http with no tunnel. I think this is a good approach. The problem is of course that we add a interface to
a public library this way that is not part of upstream. So a better approach may actually be to "import socks" 
first in python-httplib2 so that e.g. piston-mini-client can provide its own socks implementation with the patch applied.

Both the fix for python-httplib2 and the fixed branch for python-piston-
mini-client are needed currently.

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

Title:
  oneconf-service crashed with HTTPError in __negotiatehttp(): (403,
  'Forbidden')

Status in httplib2:
  Unknown
Status in “piston-mini-client” package in Ubuntu:
  Confirmed
Status in “piston-mini-client” source package in Oneiric:
  Confirmed

Bug description:
  I get this crash on 2 different systems when I update the package
  cache

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: oneconf 0.2.6.7
  ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
  Uname: Linux 3.0.0-12-generic i686
  ApportVersion: 1.23-0ubuntu2
  Architecture: i386
  Date: Sat Oct  1 00:44:31 2011
  ExecutablePath: /usr/share/oneconf/oneconf-service
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha i386 (20110209)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/share/oneconf/oneconf-service
  PythonArgs: ['/usr/share/oneconf/oneconf-service']
  SourcePackage: oneconf
  Title: oneconf-service crashed with HTTPError in __negotiatehttp(): (403, 'Forbidden')
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

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




More information about the foundations-bugs mailing list