[Bug 595116] Re: ssl error reading the headers

2010-08-17 Thread Robert Grey
Confirmed fixed in maverick.

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 595116] Re: ssl error reading the headers

2010-08-17 Thread Robert Grey
Confirmed fixed in maverick.

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 595116] Re: ssl error reading the headers

2010-07-21 Thread Robert Grey
I moved to lighttpd. Since the change, the problem is resolved.

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 595116] Re: ssl error reading the headers

2010-07-21 Thread Robert Grey
I moved to lighttpd. Since the change, the problem is resolved.

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 595116] Re: ssl error reading the headers

2010-06-27 Thread Robert Grey
I had the deflate module activated, but removing /etc/apache2/mods-
enabled/deflate.* and restarting apache did not fix the problem.

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 595116] Re: ssl error reading the headers

2010-06-27 Thread Robert Grey
I moved /lib/i686 to /lib/i686.old and restarted apache. Did not fix the
problem. Here is /proc/cpuinfo (this is on linode):

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 23
model name  : Intel(R) Xeon(R) CPU   L5420  @ 2.50GHz
stepping: 6
cpu MHz : 2500.086
cache size  : 6144 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu de tsc msr pae cx8 cmov pat clflush mmx fxsr sse sse2 ss 
ht nx constant_tsc pni ssse3 sse4_1 hypervisor
bogomips: 5000.17
clflush size: 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 23
model name  : Intel(R) Xeon(R) CPU   L5420  @ 2.50GHz
stepping: 6
cpu MHz : 2500.086
cache size  : 6144 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu de tsc msr pae cx8 cmov pat clflush mmx fxsr sse sse2 ss 
ht nx constant_tsc pni ssse3 sse4_1 hypervisor
bogomips: 5000.17
clflush size: 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 6
model   : 23
model name  : Intel(R) Xeon(R) CPU   L5420  @ 2.50GHz
stepping: 6
cpu MHz : 2500.086
cache size  : 6144 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu de tsc msr pae cx8 cmov pat clflush mmx fxsr sse sse2 ss 
ht nx constant_tsc pni ssse3 sse4_1 hypervisor
bogomips: 5000.17
clflush size: 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model   : 23
model name  : Intel(R) Xeon(R) CPU   L5420  @ 2.50GHz
stepping: 6
cpu MHz : 2500.086
cache size  : 6144 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu de tsc msr pae cx8 cmov pat clflush mmx fxsr sse sse2 ss 
ht nx constant_tsc pni ssse3 sse4_1 hypervisor
bogomips: 5000.17
clflush size: 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 595116] Re: ssl error reading the headers

2010-06-27 Thread Robert Grey
I had the deflate module activated, but removing /etc/apache2/mods-
enabled/deflate.* and restarting apache did not fix the problem.

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 595116] Re: ssl error reading the headers

2010-06-27 Thread Robert Grey
I moved /lib/i686 to /lib/i686.old and restarted apache. Did not fix the
problem. Here is /proc/cpuinfo (this is on linode):

processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 23
model name  : Intel(R) Xeon(R) CPU   L5420  @ 2.50GHz
stepping: 6
cpu MHz : 2500.086
cache size  : 6144 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu de tsc msr pae cx8 cmov pat clflush mmx fxsr sse sse2 ss 
ht nx constant_tsc pni ssse3 sse4_1 hypervisor
bogomips: 5000.17
clflush size: 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 23
model name  : Intel(R) Xeon(R) CPU   L5420  @ 2.50GHz
stepping: 6
cpu MHz : 2500.086
cache size  : 6144 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu de tsc msr pae cx8 cmov pat clflush mmx fxsr sse sse2 ss 
ht nx constant_tsc pni ssse3 sse4_1 hypervisor
bogomips: 5000.17
clflush size: 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

processor   : 2
vendor_id   : GenuineIntel
cpu family  : 6
model   : 23
model name  : Intel(R) Xeon(R) CPU   L5420  @ 2.50GHz
stepping: 6
cpu MHz : 2500.086
cache size  : 6144 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu de tsc msr pae cx8 cmov pat clflush mmx fxsr sse sse2 ss 
ht nx constant_tsc pni ssse3 sse4_1 hypervisor
bogomips: 5000.17
clflush size: 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model   : 23
model name  : Intel(R) Xeon(R) CPU   L5420  @ 2.50GHz
stepping: 6
cpu MHz : 2500.086
cache size  : 6144 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 10
wp  : yes
flags   : fpu de tsc msr pae cx8 cmov pat clflush mmx fxsr sse sse2 ss 
ht nx constant_tsc pni ssse3 sse4_1 hypervisor
bogomips: 5000.17
clflush size: 64
cache_alignment : 64
address sizes   : 38 bits physical, 48 bits virtual
power management:

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 595116] [NEW] ssl error reading the headers

2010-06-16 Thread Robert Grey
Public bug reported:

Binary package hint: apache2

I'm getting irregular error reading the headers error messages when
using basic authentication over SSL on apache2 2.2.14-5ubuntu8 on
ubuntu 10.04. I enabled dumpio and it looks like the Authorization
header is getting truncated. For example, the first item is a successful
GET with authorization:

[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 29 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
GET /dist/test.txt HTTP/1.1\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 26 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
Host: removed\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 27 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
Accept-Encoding: identity\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 35 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
Authorization: Basic bWU6ZG9iaWU=\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 2 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [eatcrlf-nonblocking] 
0 readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in - 70023

and the second failed example:

[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 29 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
GET /dist/test.txt HTTP/1.1\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 26 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
Host: removed\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 27 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
Accept-Encoding: identity\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 8 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
9iaWU=\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 3 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
=\r\n

You can notice the 9iaWU= is the truncated end of the correct
Authorization: Basic bWU6ZG9iaWU= header transmitted in the successful
request. This doesn't happen on a non-TSL/SSL port.

lsb_release -rd
Description:Ubuntu 10.04 LTS
Release:10.04

apt-cache policy apache2
apache2:
  Installed: 2.2.14-5ubuntu8
  Candidate: 2.2.14-5ubuntu8
  Version table:
 *** 2.2.14-5ubuntu8 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status

apt-cache policy openssl
openssl:
  Installed: 0.9.8k-7ubuntu8
  Candidate: 0.9.8k-7ubuntu8
  Version table:
 *** 0.9.8k-7ubuntu8 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status

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

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 595116] Re: ssl error reading the headers

2010-06-16 Thread Robert Grey
I found a similar posting here:

http://serverfault.com/questions/150976/problems-serving-svn-over-https-
on-ubuntu-10-04

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 595116] Re: ssl error reading the headers

2010-06-16 Thread Robert Grey
here is a python script I use to force the error:

import base64, httplib

base64string = base64.encodestring('%s:%s' % (uname, password))[:-1]
headers = { Authorization : Basic %s % base64string }
while 1:
conn = httplib.HTTPSConnection(host)
conn.request(GET, /dist/test.txt, headers=headers)
response = conn.getresponse()
try:
if response.status != 200:
print response.getheaders(), response.read()
break
else: print OK
finally: conn.close()

hope it helps

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 595116] [NEW] ssl error reading the headers

2010-06-16 Thread Robert Grey
Public bug reported:

Binary package hint: apache2

I'm getting irregular error reading the headers error messages when
using basic authentication over SSL on apache2 2.2.14-5ubuntu8 on
ubuntu 10.04. I enabled dumpio and it looks like the Authorization
header is getting truncated. For example, the first item is a successful
GET with authorization:

[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 29 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
GET /dist/test.txt HTTP/1.1\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 26 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
Host: removed\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 27 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
Accept-Encoding: identity\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 35 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
Authorization: Basic bWU6ZG9iaWU=\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 2 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [eatcrlf-nonblocking] 
0 readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in - 70023

and the second failed example:

[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 29 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
GET /dist/test.txt HTTP/1.1\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 26 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
Host: removed\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 27 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
Accept-Encoding: identity\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 8 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
9iaWU=\r\n
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio: dumpio_in [getline-blocking] 0 
readbytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 3 
bytes
[Wed Jun 16 14:14:55 2010] [notice] mod_dumpio:  dumpio_in (data-TRANSIENT): 
=\r\n

You can notice the 9iaWU= is the truncated end of the correct
Authorization: Basic bWU6ZG9iaWU= header transmitted in the successful
request. This doesn't happen on a non-TSL/SSL port.

lsb_release -rd
Description:Ubuntu 10.04 LTS
Release:10.04

apt-cache policy apache2
apache2:
  Installed: 2.2.14-5ubuntu8
  Candidate: 2.2.14-5ubuntu8
  Version table:
 *** 2.2.14-5ubuntu8 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status

apt-cache policy openssl
openssl:
  Installed: 0.9.8k-7ubuntu8
  Candidate: 0.9.8k-7ubuntu8
  Version table:
 *** 0.9.8k-7ubuntu8 0
500 http://us.archive.ubuntu.com/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status

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

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 595116] Re: ssl error reading the headers

2010-06-16 Thread Robert Grey
I found a similar posting here:

http://serverfault.com/questions/150976/problems-serving-svn-over-https-
on-ubuntu-10-04

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 595116] Re: ssl error reading the headers

2010-06-16 Thread Robert Grey
here is a python script I use to force the error:

import base64, httplib

base64string = base64.encodestring('%s:%s' % (uname, password))[:-1]
headers = { Authorization : Basic %s % base64string }
while 1:
conn = httplib.HTTPSConnection(host)
conn.request(GET, /dist/test.txt, headers=headers)
response = conn.getresponse()
try:
if response.status != 200:
print response.getheaders(), response.read()
break
else: print OK
finally: conn.close()

hope it helps

-- 
ssl error reading the headers
https://bugs.launchpad.net/bugs/595116
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs