[MDEV-29046] Handshake failed: unexpected eof while reading Created: 2022-07-06  Updated: 2022-10-30  Resolved: 2022-10-30

Status: Closed
Project: MariaDB Server
Component/s: Galera Arbitrator garbd
Affects Version/s: 10.6.7
Fix Version/s: N/A

Type: Bug Priority: Major
Reporter: Miro Assignee: Ramesh Sivaraman
Resolution: Incomplete Votes: 0
Labels: None
Environment:

Ubuntu 22.04



 Description   

Hello, i have MariaDB 10.6.7 installed on Ubuntu 22.04 and Galera Arbitrator 4 installed on another Ubuntu 22.04. Unfortunately garb can not start and mysql error log shows:

[Warning] WSREP: ./galerautils/src/gu_asio_stream_react.cpp:server_handshake_handler():407: Handshake failed: unexpected eof while reading

I seen similar issue in MDEV-28688 and it says fixed in 10.6.9 but there is no 10.6.9 in https://mariadb.org/download/

Also in MariaDB repositories https://mariadb.org/download/?t=repo-config there is no Ubuntu 22.04



 Comments   
Comment by Ralf Gebhardt [ 2022-07-20 ]

miro, MDEV-28688 is fixed in 10.6.9, 10.6.9 will be released in the upcoming weeks.

Comment by Ralf Gebhardt [ 2022-07-20 ]

ramesh, can you confirm that MDEV-29046 is a duplicate of MDEV-28688?

Comment by Ramesh Sivaraman [ 2022-07-21 ]

miro I could not reproduce the garbd issue on 10.6.7.

  status: primary
  protocol_version: 4
  capabilities: MULTI-MASTER, CERTIFICATION, PARALLEL_APPLYING, REPLAY, ISOLATION, PAUSE, CAUSAL_READ, INCREMENTAL_WS, UNORDERED, PREORDERED, STREAMING, NBO
  final: no
  own_index: 0
  members(3):
        0: 58ffacfa-08d2-11ed-b289-7aa0e3c9ad3b, ubuntu-jammy
        1: 59a02310-08d2-11ed-a934-425b1494f2cf, ubuntu-jammy
        2: 94d92e89-08d2-11ed-9be7-9b75ab4b2723, garb
 
OS version
 
vagrant@ubuntu-jammy:~$ cat /etc/os-release 
PRETTY_NAME="Ubuntu 22.04 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
vagrant@ubuntu-jammy:~$ 

Could you please share the following details?
1) garbd startup command and cnf file from node1
2) Is Galera Cluster using OpenSSL version 3.0?

ralf.gebhardt@mariadb.com MDEV-28688 is not related to garbd daemon and the issue is specific to openssl3. Will confirm after getting the info from miro

Comment by Miro [ 2022-07-21 ]

I deleted the virtual machines with Ubuntu 22.04 and started it with Ubuntu 20.04 so can not provide the configs, but it was OpenSSL 3 - the default version for Ubuntu 22.04.

Comment by Ramesh Sivaraman [ 2022-07-21 ]

miro It would be great if we get the cnf file and gardb startup command used in ubuntu-20.04 to reproduce the problem.

Comment by Miro [ 2022-07-21 ]

I do not have issues in Ubuntu 20.04 and OpenSSL 1.1.1f

The issue is in 22.04 OpenSSL 3.0

Comment by Elena Stepanova [ 2022-09-25 ]

miro,

10.6.10 is now released, including Ubuntu 22.04 packages. Does it work for you?

Generated at Thu Feb 08 10:05:28 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.