[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, closing then. Thanks for the debugging, and good luck :) -- resolution: -> invalid status: open -> closed ___ Python tracker ___ __

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Christian Fertig
Christian Fertig added the comment: for completeness: the openssl output from the machine, where python 2.7 is working: fertig@hornisse:/home/fertig > openssl s_client -connect 172.23.6.222:443 CONNECTED(0003) depth=1 C = DE, L = Munich, O = Siemens AG, OU = Com Enterprise Systems, CN = Si

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Christian Fertig
Christian Fertig added the comment: ok actually it isn't working either with curl or wget. So probably this is not a python problem, it seems more something in the underlying libs: Output from curl on the machine, where python 2.7 is working: fertig@hornisse:/home/fertig > curl --insecure 'htt

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Christian Fertig
Christian Fertig added the comment: python3 example, not working on both machines (3.2.1 on openSuSE 12.1 and 3.1.3 on openSuSE 11.4) fertig@wespe:/home/fertig > python3 Error in sitecustomize; set PYTHONVERBOSE for traceback: SyntaxError: invalid syntax (sitecustomize.py, line 89) Python 3.2.1

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Antoine Pitrou
Antoine Pitrou added the comment: By using "openssl s_client -connect 172.23.6.222:443" you can open a telnet-like session (but using SSL) to your server, and try to type/paste an HTTP request there. That would help check whether it's a Python problem, or something else due to OpenSSL changes.

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread R. David Murray
R. David Murray added the comment: It looks like the data input is the same in both cases. (Although why does your second example show ''? Does urllib2 really output that as part of the debug output?) It is hard to see what could be causing the divergence in response here. Is it possible fo

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Christian Fertig
Christian Fertig added the comment: the IP is private and even for testing I can't put it in a public IP range, as the device is an IP Phone with a custom firmware (Siemens optiPoint 420). -- ___ Python tracker __

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-05 Thread Christian Fertig
Christian Fertig added the comment: ok, here's a run with debuglevel for the headers: python 2.7 on openSuSE 11.4: fertig@hornisse:/home/fertig > python Python 2.7 (r27:82500, Aug 07 2010, 16:54:59) [GCC] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> impor

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-02 Thread R. David Murray
R. David Murray added the comment: That's a non-public IP, so you'll have to provide a trace of the http traffic. It is likely the error is correct, and is reported only post 2.7.0 because a bug was fixed. -- nosy: +r.david.murray ___ Python tracke

[issue16109] urllib2.urlopen throws HTTP Error in python 2.7.2, 2.7.3, but not in python 2.7

2012-10-02 Thread Christian Fertig
New submission from Christian Fertig: wespe:/tmp/python2.7 # cat /etc/SuSE-release openSUSE 12.1 (x86_64) VERSION = 12.1 CODENAME = Asparagus wespe:/tmp/python2.7 # rpm -q python python-2.7.2-7.17.1.x86_64 wespe:/tmp/python2.7 # python Python 2.7.2 (default, Aug 19 2011, 20:41:43) [GCC] on linu