Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-30336

Galera: Handshake failed: peer did not return a certificate

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Duplicate
    • 10.5.13, 10.5.16
    • N/A
    • Galera
    • Ubuntu 20.04, 2 galera nodes and 1 arbitrator

    Description

      Hello,

      I have 2 nodes and 1 arbitrator.
      Nodes are in 10.5.13 (EDIT: I also tried in 10.5.16, same error) versions and arbitrator version 4.

      Node1 keeps crashing randomly. I don't know how to reproduce the problem.

      Here is the full log of the crash:
      ```
      2023-01-03 19:23:22 0 [Warning] WSREP: Handshake failed: peer did not return a certificate
      2023-01-03 19:23:23 0 [Warning] WSREP: Handshake failed: peer did not return a certificate
      2023-01-03 19:23:24 0 [Warning] WSREP: Handshake failed: http request
      terminate called after throwing an instance of 'boost::wrapexcept<std::system_error>'
      what(): remote_endpoint: Transport endpoint is not connected
      230103 19:23:24 [ERROR] mysqld got signal 6 ;
      This could be because you hit a bug. It is also possible that this binary
      or one of the libraries it was linked against is corrupt, improperly built,
      or misconfigured. This error can also be caused by malfunctioning hardware.

      To report this bug, see https://mariadb.com/kb/en/reporting-bugs

      We will try our best to scrape up some info that will hopefully help
      diagnose the problem, but since we have already crashed,
      something is definitely wrong and this may fail.

      Server version: 10.5.13-MariaDB-1:10.5.13+maria~focal
      key_buffer_size=134217728
      read_buffer_size=2097152
      max_used_connections=101
      max_threads=102
      thread_count=105
      It is possible that mysqld could use up to
      key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 760333 K bytes of memory
      Hope that's ok; if not, decrease some variables in the equation.

      Thread pointer: 0x0
      Attempting backtrace. You can use the following information to find out
      where mysqld died. If you see no messages after this, something went
      terribly wrong...
      stack_bottom = 0x0 thread_stack 0x49000
      mariadbd(my_print_stacktrace+0x32)[0x5557c0b52e42]
      Printing to addr2line failed
      mariadbd(handle_fatal_signal+0x485)[0x5557c05a29a5]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x153c0)[0x7fd0b1b243c0]
      /lib/x86_64-linux-gnu/libc.so.6(gsignal+0xcb)[0x7fd0b162a18b]
      /lib/x86_64-linux-gnu/libc.so.6(abort+0x12b)[0x7fd0b1609859]
      /lib/x86_64-linux-gnu/libstdc++.so.6(+0x9e911)[0x7fd0b19c5911]
      /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa38c)[0x7fd0b19d138c]
      /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa3f7)[0x7fd0b19d13f7]
      /lib/x86_64-linux-gnu/libstdc++.so.6(+0xaa6a9)[0x7fd0b19d16a9]
      /usr/lib/galera/libgalera_smm.so(+0x448ad)[0x7fd0a7bea8ad]
      /usr/lib/galera/libgalera_smm.so(+0x1fc315)[0x7fd0a7da2315]
      /usr/lib/galera/libgalera_smm.so(+0x1ff7eb)[0x7fd0a7da57eb]
      /usr/lib/galera/libgalera_smm.so(+0x1ffc28)[0x7fd0a7da5c28]
      /usr/lib/galera/libgalera_smm.so(+0x2065b6)[0x7fd0a7dac5b6]
      /usr/lib/galera/libgalera_smm.so(+0x1f81f3)[0x7fd0a7d9e1f3]
      /usr/lib/galera/libgalera_smm.so(+0x1e6f04)[0x7fd0a7d8cf04]
      /usr/lib/galera/libgalera_smm.so(+0x103438)[0x7fd0a7ca9438]
      /usr/lib/galera/libgalera_smm.so(+0xe8eea)[0x7fd0a7c8eeea]
      /usr/lib/galera/libgalera_smm.so(+0xe9a8d)[0x7fd0a7c8fa8d]
      /lib/x86_64-linux-gnu/libpthread.so.0(+0x9609)[0x7fd0b1b18609]
      /lib/x86_64-linux-gnu/libc.so.6(clone+0x43)[0x7fd0b1706293]
      The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
      information that should help you find out what is causing the crash.
      Writing a core file...
      Working directory at /var/lib/mysql
      Resource Limits:
      Fatal signal 11 while backtracing
      ```

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              theocerutti Théo Cerutti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.