You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2020/11/06 17:08:00 UTC

[jira] [Commented] (PROTON-2289) cpp-connect_config_test fails on fedora:latest: 1417A0C1:SSL routines:tls_post_process_client_hello:no shared cipher

    [ https://issues.apache.org/jira/browse/PROTON-2289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17227513#comment-17227513 ] 

Jiri Daněk commented on PROTON-2289:
------------------------------------

The valgrind issue looks like some missing error handling for the case that TLS connection fails. It could either be missing from the example itself, or from the Proton library (the cpp binding). It seems to me one of those issues that either get fixed right away, or never. CC [~astitcher]

> cpp-connect_config_test fails on fedora:latest: 1417A0C1:SSL routines:tls_post_process_client_hello:no shared cipher
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: PROTON-2289
>                 URL: https://issues.apache.org/jira/browse/PROTON-2289
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>            Reporter: Kim van der Riet
>            Priority: Major
>
> The following tests fail with the same error message:
>  * test_tls
>  * test_tls_default_fail
>  * test_tls_external
>  * test_tls_plain
> Error message:
> {noformat}
> /foo/proton/cpp/src/connect_config_test.cpp:193: unexpected error amqp:connection:framing-error: SSL Failure: error:1417A0C1:SSL routines:tls_post_process_client_hello:no shared cipher
> {noformat}
> In addition, valgrind finds a memory loss error which is possibly associated with these errors:
> {noformat}
> 23: ==2466== 149,899 (1,408 direct, 148,491 indirect) bytes in 1 blocks are definitely lost in loss record 760 of 764
> 23: ==2466==    at 0x483CAE9: calloc (vg_replace_malloc.c:760)
> 23: ==2466==    by 0x4E3A0D5: pn_listener (epoll.c:1635)
> 23: ==2466==    by 0x487CFF8: proton::container::impl::listen_common_lh(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (proactor_container_impl.cpp:434)
> 23: ==2466==    by 0x487D220: proton::container::impl::listen(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, proton::listen_handler&) (proactor_container_impl.cpp:456)
> 23: ==2466==    by 0x487B17C: proton::container::listen(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, proton::listen_handler&) (container.cpp:90)
> 23: ==2466==    by 0x40CE7B: (anonymous namespace)::test_handler::on_container_start(proton::container&) (connect_config_test.cpp:180)
> 23: ==2466==    by 0x4904ACE: __pthread_once_slow (in /usr/lib64/libpthread-2.31.so)
> 23: ==2466==    by 0x487F539: __gthread_once (gthr-default.h:700)
> 23: ==2466==    by 0x487F539: call_once<void (proton::container::impl::*)(), proton::container::impl*> (mutex:729)
> 23: ==2466==    by 0x487F539: proton::container::impl::run(int) (proactor_container_impl.cpp:794)
> 23: ==2466==    by 0x40D2D2: (anonymous namespace)::test_tls_default_fail::run() (connect_config_test.cpp:345)
> 23: ==2466==    by 0x40BD4B: main (connect_config_test.cpp:432)
> {noformat}
> and which occurs once for each of the tests which failed above.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org