View Issue Details

IDProjectCategoryView StatusLast Update
0005564libmicrohttpdHTTPS (TLS)public2019-02-15 23:07
Reportermnowak Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionnot fixable 
PlatformillumosOSOpenIndianaOS Version2018.10
Product Version0.9.63 
Summary0005564: Various testcurl/https tests fail
DescriptionI am running GNU Libmicrohttpd 0.9.63 test suite for 32- and 64-bit on OpenIndiana (illumos kernel) and various test cases of the testcurl/https suite reproducibly fail:

32-bit:

PASS: test_https_get_select
SKIP: test_tls_options
PASS: test_tls_authentication
FAIL: test_https_get_parallel
SKIP: test_https_get_parallel_threads
FAIL: test_https_sni
SKIP: test_https_session_info
FAIL: test_https_time_out
FAIL: test_https_multi_daemon
PASS: test_https_get
PASS: test_empty_response

64-bit:

PASS: test_https_get_select
SKIP: test_tls_options
FAIL: test_tls_authentication
FAIL: test_https_get_parallel
SKIP: test_https_get_parallel_threads
FAIL: test_https_sni
SKIP: test_https_session_info
FAIL: test_https_time_out
FAIL: test_https_multi_daemon
FAIL: test_https_get
PASS: test_empty_response
Steps To ReproduceBuild and run the check target.
Additional InformationDependencies versions:

NAME (PUBLISHER) VERSION IFO
library/gnutls-3 3.5.14-2018.0.0.2 i--
library/security/openssl 1.0.2.17-2018.0.0.0 i--
web/curl 7.61.1-2018.0.0.1 i--


Logs:

32-bit:

=================================================================
   GNU Libmicrohttpd 0.9.63: src/testcurl/https/test-suite.log
=================================================================

# TOTAL: 11
# PASS: 5
# SKIP: 3
# XFAIL: 0
# FAIL: 3
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

SKIP: test_tls_options
======================

curl version: libcurl/7.61.1 OpenSSL/1.0.2q zlib/1.2.11 brotli/0.6.0 libidn2/2.0.4 libssh2/1.7.0 nghttp2/1.27.0
This test can be run only with libcurl-gnutls.
SKIP test_tls_options (exit status: 77)

FAIL: test_tls_authentication
=============================

Error: received handshake message out of context
curl_easy_perform failed: `SSL connect error'
running test: /export/home/newman/ws/oi-userland/components/library/libmicrohttpd/build/i86/src/testcurl/https/.libs/test_tls_authentication [fail: 35]
FAIL test_tls_authentication (exit status: 1)

FAIL: test_https_get_parallel
=============================

curl_easy_perform failed: `Server returned nothing (no headers, no data)'
Error: received handshake message out of context
Error: received handshake message out of context
Error: received handshake message out of context
curl_easy_perform failed: `SSL connect error'
curl_easy_perform failed: `SSL connect error'
curl_easy_perform failed: `SSL connect error'
Failed test: /export/home/newman/ws/oi-userland/components/library/libmicrohttpd/build/i86/src/testcurl/https/.libs/test_https_get_parallel, error: 4294967294.
FAIL test_https_get_parallel (exit status: 1)

SKIP: test_https_get_parallel_threads
=====================================

This test can be run only with libcurl-gnutls.
SKIP test_https_get_parallel_threads (exit status: 77)

SKIP: test_https_session_info
=============================

This test can be run only with libcurl-gnutls.
SKIP test_https_session_info (exit status: 77)

FAIL: test_https_time_out
=========================

Error: received handshake message out of context
Handshake failed
running test: /export/home/newman/ws/oi-userland/components/library/libmicrohttpd/build/i86/src/testcurl/https/.libs/test_https_time_out [fail: 4294967295]
FAIL test_https_time_out (exit status: 1)


64-bit:

=================================================================
   GNU Libmicrohttpd 0.9.63: src/testcurl/https/test-suite.log
=================================================================

# TOTAL: 11
# PASS: 2
# SKIP: 3
# XFAIL: 0
# FAIL: 6
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

SKIP: test_tls_options
======================

curl version: libcurl/7.61.1 OpenSSL/1.0.2q zlib/1.2.11 brotli/0.6.0 libidn2/2.0.4 libssh2/1.7.0 nghttp2/1.27.0
This test can be run only with libcurl-gnutls.
SKIP test_tls_options (exit status: 77)

FAIL: test_tls_authentication
=============================

curl_easy_perform failed: `Server returned nothing (no headers, no data)'
running test: /export/home/newman/ws/oi-userland/components/library/libmicrohttpd/build/amd64/src/testcurl/https/.libs/test_tls_authentication [fail: 52]
FAIL test_tls_authentication (exit status: 1)

FAIL: test_https_get_parallel
=============================

curl_easy_perform failed: `Server returned nothing (no headers, no data)'
Error: received handshake message out of context
Error: received handshake message out of context
Error: received handshake message out of context
curl_easy_perform failed: `SSL connect error'
curl_easy_perform failed: `SSL connect error'
curl_easy_perform failed: `SSL connect error'
Failed test: /export/home/newman/ws/oi-userland/components/library/libmicrohttpd/build/amd64/src/testcurl/https/.libs/test_https_get_parallel, error: 4294967294.
FAIL test_https_get_parallel (exit status: 1)

SKIP: test_https_get_parallel_threads
=====================================

This test can be run only with libcurl-gnutls.
SKIP test_https_get_parallel_threads (exit status: 77)

FAIL: test_https_sni
====================

curl_easy_perform failed: `Server returned nothing (no headers, no data)'
Failed test: /export/home/newman/ws/oi-userland/components/library/libmicrohttpd/build/amd64/src/testcurl/https/.libs/test_https_sni, error: 1.
FAIL test_https_sni (exit status: 1)

SKIP: test_https_session_info
=============================

This test can be run only with libcurl-gnutls.
SKIP test_https_session_info (exit status: 77)

FAIL: test_https_time_out
=========================

Error: received handshake message out of context
Handshake failed
running test: /export/home/newman/ws/oi-userland/components/library/libmicrohttpd/build/amd64/src/testcurl/https/.libs/test_https_time_out [fail: 4294967295]
FAIL test_https_time_out (exit status: 1)

FAIL: test_https_multi_daemon
=============================

curl_easy_perform failed: `Server returned nothing (no headers, no data)'
running test: concurent_daemon_pair [fail: 52]
FAIL test_https_multi_daemon (exit status: 1)

FAIL: test_https_get
====================

curl_easy_perform failed: `Server returned nothing (no headers, no data)'
running test: /export/home/newman/ws/oi-userland/components/library/libmicrohttpd/build/amd64/src/testcurl/https/.libs/test_https_get [fail: 4294967295]
FAIL test_https_get (exit status: 1)
TagsNo tags attached.

Activities

Christian Grothoff

2019-02-14 10:03

manager   ~0013739

You list OpenSSL as a dependency, but libmicrohttpd doesn't work with OpenSSL, we require GnuTLS. As all of these failures relate to TLS, I _suspect_ this is primarily a problem with the TLS libraries being used.

Can you try using gnurl or libcurl-gnutls instead of libcurl using OpenSSL?

mnowak

2019-02-15 22:30

reporter   ~0013800

I see. I am unable to build curl with GnuTLS. Feel free to close this then. Thank you.

Christian Grothoff

2019-02-15 23:07

manager   ~0013803

That's why we created gnurl: https://gnunet.org/gnurl Please try it!

Issue History

Date Modified Username Field Change
2019-02-13 20:25 mnowak New Issue
2019-02-14 10:03 Christian Grothoff Note Added: 0013739
2019-02-14 10:03 Christian Grothoff Status new => feedback
2019-02-15 22:30 mnowak Note Added: 0013800
2019-02-15 22:30 mnowak Status feedback => new
2019-02-15 23:07 Christian Grothoff Note Added: 0013803
2019-02-15 23:07 Christian Grothoff Assigned To => Christian Grothoff
2019-02-15 23:07 Christian Grothoff Status new => closed
2019-02-15 23:07 Christian Grothoff Resolution open => not fixable
2024-01-21 13:25 Christian Grothoff Category HTTPS (SSL) => HTTPS (TLS)