URLError: [Errno 8] _ssl.c:490: EOF occurred in violation of protocol

Augie Fackler raf at durin42.com
Mon Apr 2 17:45:04 CDT 2012


(readding list since that's a short result)

On Apr 1, 2012, at 9:46 PM, Sean wrote:

> Hi Augie,
>  
> Seems like not too much. Please let me know. Thx
>  
> C:\PROGRA~1\TortoiseHg>hg clone -v --config ui.usehttp2=true --config ui.http2de
> buglevel=info https://code.google.com/p/wami-recorder/ G:\bk\wami
> INFO:mercurial.httpclient:495:sending GET request for /p/wami-recorder/?cmd=capa
> bilities to code.google.com on port 443
> abort: error: _ssl.c:490: EOF occurred in violation of protocol
> C:\PROGRA~1\TortoiseHg>

This looks like a bogus proxy to me. Are you behind a proxy of any kind? Seems like something is screwing up your ssl connection to Google. What does the following print (from a Python repl):

import urllib
urllib.urlopen('https://google.com/').read()[:10]
urllib.urlopen('https://code.google.com/').read()[:10]

>  --- On Sun, 4/1/12, Augie Fackler <raf at durin42.com> wrote:
> 
> 
> From: Augie Fackler <raf at durin42.com>
> Subject: Re: URLError: [Errno 8] _ssl.c:490: EOF occurred in violation of protocol
> To: "Sean" <sean_tor_on at yahoo.com>
> Cc: "Mads Kiilerich" <mads at kiilerich.com>, mercurial at selenic.com
> Received: Sunday, April 1, 2012, 5:57 PM
> 
> 
> 
> On Apr 1, 2012, at 4:38 PM, Sean wrote:
> 
>> Thanks for the reply. Can the it be more specific? still have no clue to troubleshoot.
> 
> Much of the time when I see this it's because you're speaking SSL to a non-SSL service.
> 
> Given that I know code.google.com speaks SSL…can you use --config ui.usehttp2=true and --config ui.http2debuglevel=info and email me the result privately (I expect it to be largish).
> 
> Thanks,
> Augie
> 
>>   --- On Sun, 4/1/12, Mads Kiilerich <mads at kiilerich.com> wrote:
>> 
>> 
>> From: Mads Kiilerich <mads at kiilerich.com>
>> Subject: Re: URLError: [Errno 8] _ssl.c:490: EOF occurred in violation of protocol
>> To: "Sean" <sean_tor_on at yahoo.com>
>> Cc: mercurial at selenic.com
>> Received: Sunday, April 1, 2012, 3:36 PM
>> 
>> 
>> Sean wrote, On 04/01/2012 09:29 PM:
>>> Hi all,
>>> I installed tortoisehg-2.3.1-hg-2.1.1-x64.msi on a win7 pro box and tried to clone from wami repository. I got
>>> % hg clone --verbose -- https://code.google.com/p/wami-recorder/
>>> URLError: [Errno 8] _ssl.c:490: EOF occurred in violation of protocol
>>> [command returned code 255 Sun Apr 01 14:23:33 2012]
>>> 
>>> I'm not sure if it's a proxy error or the repository having problem?
>> 
>> The problem is at the ssl level, so I would look for some kind of network or resource problem. The only way it could indicate a repository problem is if it is so corrupt that it makes the web server explode ... and I don't have a problem cloning that repo.
>> 
>> /Mads
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at selenic.com
>> http://selenic.com/mailman/listinfo/mercurial
> 



More information about the Mercurial-devel mailing list