moxie0/Convergence — Issue #135: Error: cannot get contents of undefined size
Author: mutantmonkey
Created: 2012-01-02 05:10:21+00:00
State: open

Starting with Convergence 0.09, I have difficulty connecting to a number of HTTPS sites, including Remember the Milk and Github. I had no problems with Convergence 0.08, which I manually updated to run on Firefox 9.x.

I am running `Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1`. This problem doesn't appear to be affected by any one particular notary, but I will do some more testing to confirm this; it also occurs with and without notary bouncing enabled.

The console output I get from Convergence looks like this:

Spawning connectionworker...
Posted message to ConnectionWorker!
ConnectionWorker got message...
Failed to find mozsqlite3 in installed directory, checking system paths for sqlite3.
Deserializing across transport: notary.thoughtcrime.org : 80
Deserializing across transport: notary2.thoughtcrime.org : 80
Deserializing across transport: notary-us.convergence.qualys.com : 80
Deserializing across transport: notary-eu.convergence.qualys.com : 80
Deserializing across transport: notary.vtcybersecurity.org : 8080
Deserializing across transport: notary.mutantmonkey.in : 2080
Reading http headers...
Reading from FD: PRFileDesc.ptr(ctypes.UInt64("0x7f915bbf6e50"))
Total headers: CONNECT www.rememberthemilk.com:443 HTTP/1.1
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Proxy-Connection: keep-alive
Host: www.rememberthemilk.com

Read http headers: CONNECT www.rememberthemilk.com:443 HTTP/1.1
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
Proxy-Connection: keep-alive
Host: www.rememberthemilk.com

Calculating PKI root...
Certificate signature status: 0
Certificate chain length: 4
Root DER certificate: SECItem(0, ctypes.unsigned_char.ptr(ctypes.UInt64("0x7f914e8d8478")), 606)
Root certificate: CERTCertificate.ptr(ctypes.UInt64("0x7f91544ec020"))
Root name: GTE CyberTrust Solutions, Inc.
Got slots: PK11SlotList.ptr(ctypes.UInt64("0x7f913f6216a0"))
SlotNode: PK11SlotListElement.ptr(ctypes.UInt64("0x7f913f621700"))
Token: Builtin Object Token
ConnectionWorker exception : Error: cannot get contents of undefined size , ([object CData])@chrome://convergence/content/ssl/CertificateInfo.js:84
CertificateInfo([object CData])@chrome://convergence/content/ssl/CertificateInfo.js:42
([object MessageEvent])@chrome://convergence/content/workers/ConnectionWorker.js:116