libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] SSL usage "Error : received handshake message out of


From: Thibaut Le Guilly
Subject: Re: [libmicrohttpd] SSL usage "Error : received handshake message out of context"
Date: Mon, 12 Sep 2011 09:38:49 +0200

It seems that the problem is not really a problem, apparently Chrome is doing some probing on the server before connecting to the server. I will try to find some more information on that.

Here is the link to the post I put on the GNUtls mailing list : https://lists.gnu.org/archive/html/help-gnutls/2011-09/msg00002.html.

Best regards,

On Sun, Sep 11, 2011 at 9:19 PM, Piotr Grzybowski <address@hidden> wrote:
 i saw similar thing when using links/elinks with gnutls above 2.8, i
bet when you downgrade to gnutls 2.4 the problem will go away.
 i wonder if gnutls guys know about this.

take care,
pg

On Thu, Sep 8, 2011 at 10:58 AM, Thibaut Le Guilly
<address@hidden> wrote:
> Ok I feel really dumb now because it appears that this problem only appears
> when using google chrome, it doesn't appear when using curl or firefox. So I
> guess that their implementation of SSL/TLS is doing something wrong!
> Sorry for bothering you, I hope that at least it can be useful for some
> people having the same error.
> Best regards,
>
> On Thu, Sep 8, 2011 at 10:11 AM, Thibaut Le Guilly
> <address@hidden> wrote:
>>
>> Hello again,
>> I installed gnutls-2.10.3, the latest release still using libgcrypt, and I
>> also installed libgcrypt-1.5.0, but the problem is still there. I will try
>> to use the gnutls-3.0.2 using nettle, but I'm having some configuration
>> problem because of my x64 architecture. I will let you know if it solves the
>> problem.
>> Best regards,
>>
>> On Wed, Sep 7, 2011 at 4:08 PM, Thibaut Le Guilly
>> <address@hidden> wrote:
>>>
>>> Hello,
>>> First thank you for your reply!
>>> The gnutls version I'm running is the 2.8.6, for gcrypt is 1.4.6. There
>>> are both the latest release available in my system's repository (Ubuntu
>>> 11.04), but I will try to install the 3.0.2 version of gnutls from their ftp
>>> to see if it solves the problem.
>>> Here is the result of the ldd on my executable (I put only the relevant
>>> results) :
>>> libmicrohttpd.so.10 => /usr/local/lib/libmicrohttpd.so.10
>>> (0x00007f27cbc9e000)
>>> libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26
>>> (0x00007f27caba8000)
>>> libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11
>>> (0x00007f27ca92e000)
>>> and the ldd on libmicrohttpd.so.10 :
>>> linux-vdso.so.1 =>  (0x00007fff39fff000)
>>> libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26
>>> (0x00007ffee5754000)
>>> libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11
>>> (0x00007ffee54da000)
>>> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
>>> (0x00007ffee52bb000)
>>> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffee4f27000)
>>> libtasn1.so.3 => /usr/lib/x86_64-linux-gnu/libtasn1.so.3
>>> (0x00007ffee4d16000)
>>> libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ffee4afd000)
>>> libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0
>>> (0x00007ffee48f9000)
>>> /lib64/ld-linux-x86-64.so.2 (0x00007ffee5c19000)
>>> For me I don't see any problem in that, but may be will you?
>>> I did compile and install libmicrohttpd without any problem.
>>> Thanks again for your time,
>>> Best regards,
>>> On Wed, Sep 7, 2011 at 3:10 PM, Piotr Grzybowski <address@hidden>
>>> wrote:
>>>>
>>>>  hello.
>>>>
>>>>  what gnutls version are you running?
>>>>  this error is a gnutls error, seems self-explanatory ;-) i saw a lot
>>>> of these lately, but i played with gnutls versions and tls.
>>>>  run ldd on libmicrohttpd and on your executable, maybe there is some
>>>> kind of mismatch. did you compile libmicrohttpd? also take a look at
>>>> gcrypt versions.
>>>>
>>>> sincerely,
>>>> pg
>>>>
>>>>
>>>> On Wed, Sep 7, 2011 at 2:03 PM, Thibaut Le Guilly
>>>> <address@hidden> wrote:
>>>> > Hello everybody,
>>>> > I am trying to use libmicrohttpd with https communication, but every
>>>> > time
>>>> > that I make a request to my server, I'm having a message "Error:
>>>> > received
>>>> > handshake message out of context" displayed.
>>>> > Even if I get this error, nothing fails and the client is still
>>>> > receiving
>>>> > the data.
>>>> > I noticed that when I make a "make check-TESTS" in the testcurl/https
>>>> > folder
>>>> > I get the same message at the really beginning, with
>>>> > "curl_easy_perform
>>>> > failed: `SSL connect error'" preceding it, but all the tests are still
>>>> > passed with success.
>>>> > Could someone explain me what does this message means, and if I should
>>>> > worry
>>>> > about it or not? In fact I saw on this post
>>>> >
>>>> > (http://lists.gnu.org/archive/html/libmicrohttpd/2010-12/msg00005.html)
>>>> >  that the person had the same message, but didn't seem to worry about
>>>> > it.
>>>> > Thanks in advance for any help or explanation!
>>>> > --
>>>> > Thibaut Le Guilly
>>>> >
>>>> >
>>>>
>>>
>>> --
>>> Thibaut Le Guilly
>>>
>>>
>>
>>
>>
>> --
>> Thibaut Le Guilly
>> Research Assistant at Aalborg University
>> Embedded System Engineer (ECE Paris)
>> Software System Engineer (Aalborg University)
>>
>>
>
>
>
> --
> Thibaut Le Guilly
> Research Assistant at Aalborg University
> Embedded System Engineer (ECE Paris)
> Software System Engineer (Aalborg University)
>
>
>




--
Thibaut Le Guilly
Research Assistant at Aalborg University
Embedded System Engineer (ECE Paris)
Software System Engineer (Aalborg University)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]