[root@32b58ff0d658 /]# maxctrl list servers ┌────────┬────────────┬──────┬─────────────┬─────────────────────────┬──────┬────────────────┐ │ Server │ Address │ Port │ Connections │ State │ GTID │ Monitor │ ├────────┼────────────┼──────┼─────────────┼─────────────────────────┼──────┼────────────────┤ │ Node1 │ 10.0.1.252 │ 3306 │ 0 │ Master, Synced, Running │ │ Galera-Monitor │ ├────────┼────────────┼──────┼─────────────┼─────────────────────────┼──────┼────────────────┤ │ Node2 │ 10.0.1.251 │ 3306 │ 0 │ Slave, Synced, Running │ │ Galera-Monitor │ ├────────┼────────────┼──────┼─────────────┼─────────────────────────┼──────┼────────────────┤ │ Node3 │ 10.0.1.29 │ 3306 │ 0 │ Slave, Synced, Running │ │ Galera-Monitor │ └────────┴────────────┴──────┴─────────────┴─────────────────────────┴──────┴────────────────┘ root@localhost:~$ java -cp .:/usr/lib/mariadb-java-client-3.5.6.jar testconnection Connected successfully to MariaDB! Connection or query failed: java.sql.SQLNonTransientConnectionException: (conn=1) Socket error at org.mariadb.jdbc.export.ExceptionFactory.createException(ExceptionFactory.java:304) at org.mariadb.jdbc.export.ExceptionFactory.create(ExceptionFactory.java:374) at org.mariadb.jdbc.client.impl.StandardClient.readPacket(StandardClient.java:1405) at org.mariadb.jdbc.client.impl.StandardClient.readResults(StandardClient.java:1315) at org.mariadb.jdbc.client.impl.StandardClient.readResponse(StandardClient.java:1234) at org.mariadb.jdbc.client.impl.StandardClient.execute(StandardClient.java:1158) at org.mariadb.jdbc.Statement.executeInternal(Statement.java:1003) at org.mariadb.jdbc.Statement.executeQuery(Statement.java:137) at testconnection.main(testconnection.java:27) Caused by: java.io.EOFException: unexpected end of stream, read 0 bytes from 4 (socket was closed by server) at org.mariadb.jdbc.client.socket.impl.PacketReader.readHeader(PacketReader.java:194) at org.mariadb.jdbc.client.socket.impl.PacketReader.readPacket(PacketReader.java:103) at org.mariadb.jdbc.client.result.CompleteResult.(CompleteResult.java:100) at org.mariadb.jdbc.message.ClientMessage.readPacket(ClientMessage.java:337) at org.mariadb.jdbc.client.impl.StandardClient.readPacket(StandardClient.java:1376) ... 6 more [root@32b58ff0d658 /]# tail -f /var/log/maxscale/maxscale.log 2025-12-04 18:46:30 notice : Service 'Mask-Non-Fully-Parsed-Service' started (1/3) 2025-12-04 18:46:30 notice : (Mask-Listener-TLS); Listening for connections at [::]:5308 2025-12-04 18:46:30 notice : Service 'Mask-Service' started (2/3) 2025-12-04 18:46:30 notice : Service 'Splitter-Service' started (3/3) 2025-12-04 18:46:30 info : [pp_sqlite] In-memory sqlite database successfully opened for thread 140513478964992. 2025-12-04 18:46:30 info : Epoll instance for listening sockets added to worker epoll instance. 2025-12-04 18:46:30 notice : MaxScale started with 1 worker threads. 2025-12-04 18:46:31 notice : Read 10 user@host entries from 'Node2' for service 'Mask-Non-Fully-Parsed-Service'. 2025-12-04 18:46:31 notice : Read 10 user@host entries from 'Node1' for service 'Mask-Service'. 2025-12-04 18:46:44 info : Accept authentication from 'admin', using password. Request: /v1/servers 2025-12-04 18:46:50 info : (1) [MariaDBProtocol] Connection attributes: _client_name=MariaDB Connector/J _client_version=3.5.6 _server_host=10.0.1.214 _os=Linux _thread=1 _java_vendor=Red Hat, Inc. _java_version=1.8.0_472 2025-12-04 18:46:50 info : (1) Found matching user 'appuser'@'%' for client 'appuser'@'10.0.1.29' with sufficient privileges. 2025-12-04 18:46:50 info : (1) [readconnroute] (Mask-Service); New session for server Node2. Connections : 1 2025-12-04 18:46:50 info : (1) Started Mask-Service client session [1] for 'appuser' from 10.0.1.29 on 'Worker-00' 2025-12-04 18:46:50 info : (1) Connected to 'Node2' with thread id 117 2025-12-04 18:46:50 info : (1) Authentication to 'Node2' succeeded. 2025-12-04 18:46:50 info : (1) [readconnroute] (Mask-Service); Routed to 'Node2': cmd: (0x3) COM_QUERY, plen: 170, type: sql::TYPE_SESSION_WRITE, stmt: set sql_mode=CONCAT(@@sql_mode,',STRICT_TRANS_TABLES'),session_track_system_variables = CONCAT(@@global.session_track_system_variables,',tx_isolation'),NAMES utf8mb4 2025-12-04 18:46:50 info : (1) [readconnroute] (Mask-Service); Reply complete from 'Node2': OK: 0 rows affected, 0 warnings 2025-12-04 18:46:50 info : (1) [readconnroute] (Mask-Service); Routed to 'Node2': cmd: (0x3) COM_QUERY, plen: 55, type: sql::TYPE_READ, stmt: SELECT id, AUTHOR FROM DATABASECHANGELOG_1 LIMIT 5 2025-12-04 18:46:50 info : (1) [readconnroute] (Mask-Service); Reply complete from 'Node2': Resultset: 5 rows in 265B 2025-12-04 18:46:50 alert : (1) (Mask-Service); MaxScale 25.01.4 received fatal signal 11. Commit ID: 0b20c013cf69a8d5210f0a89888e740acaf754e2, System name: Linux, Release string: Rocky Linux 8.10 (Green Obsidian), Thread: Worker-00 2025-12-04 18:46:50 alert : (1) (Mask-Service); Last systemd watchdog notification was 19.5174s ago, notification interval is 0ns. Last 0 notifications: [] 2025-12-04 18:46:50 alert : (1) (Mask-Service); Statement currently being classified: none/unknown 2025-12-04 18:46:50 alert : (1) (Mask-Service); Session: 1 Service: Mask-Service [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". 0x00007fcbebc10487 in epoll_wait () from /lib64/libc.so.6 Id Target Id Frame * 1 Thread 0x7fcbf0236f80 (LWP 20) "maxscale" 0x00007fcbebc10487 in epoll_wait () from /lib64/libc.so.6 2 Thread 0x7fcbe6a00700 (LWP 21) "UserManager" 0x00007fcbedf3d628 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 3 Thread 0x7fcbe61ff700 (LWP 22) "UserManager" 0x00007fcbedf3d628 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 4 Thread 0x7fcbe59fe700 (LWP 23) "MHD-single" 0x00007fcbebc10487 in epoll_wait () from /lib64/libc.so.6 5 Thread 0x7fcbe51fd700 (LWP 24) "maxscale" 0x00007fcbedf3d628 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 6 Thread 0x7fcbe49fc700 (LWP 25) "Galera-Monitor" 0x00007fcbebc10487 in epoll_wait () from /lib64/libc.so.6 7 Thread 0x7fcbd7fff700 (LWP 26) "Worker-00" 0x00007fcbebbd8f22 in waitpid () from /lib64/libc.so.6 Thread 7 (Thread 0x7fcbd7fff700 (LWP 26)): #0 0x00007fcbebbd8f22 in waitpid () from /lib64/libc.so.6 #1 0x00007fcbebb2c747 in do_system () from /lib64/libc.so.6 #2 0x00007fcbefa2e1ab in maxbase::dump_gdb_stacktrace (handler=) at /home/andrey_vasilyev_mariadb_com/MaxScale/maxutils/maxbase/src/stacktrace.cc:270 #3 0x000000000040d8bc in sigfatal_handler (i=11) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/core/gateway.cc:573 #4 #5 CQRTextResultsetValue::CQRTextResultsetValue (pData=, type=, this=, this=, type=, pData=) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/modules/filter/masking/mysql.hh:690 #6 CQRTextResultsetRowIterator::operator* (this=0x7fcbd7ffb110) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/modules/filter/masking/mysql.hh:690 #7 MaskingFilterSession::mask_values (this=0x2c677170, response=...) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/modules/filter/masking/maskingfiltersession.cc:598 #8 0x00007fcbe71209b1 in MaskingFilterSession::handle_row (this=this@entry=0x2c677170, packet=...) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/modules/filter/masking/maskingfiltersession.cc:562 #9 0x00007fcbe71225ab in MaskingFilterSession::clientReply (reply=..., down=..., packet=..., this=0x2c677170) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/modules/filter/masking/maskingfiltersession.cc:373 #10 MaskingFilterSession::clientReply (this=, packet=..., down=..., reply=..., this=, packet=..., down=..., reply=...) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/modules/filter/masking/maskingfiltersession.cc:340 #11 0x00007fcbe7337a94 in RCRSession::clientReply (this=0x7fcbcc01adc0, packet=..., down=..., reply=...) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/modules/routing/readconnroute/readconnroute.cc:408 #12 0x00007fcbefaa4aaa in ServiceEndpoint::clientReply (this=0x7fcbcc015ed0, buffer=..., down=..., reply=...) at /usr/include/c++/8/bits/shared_ptr_base.h:1018 #13 0x00007fcbefab041e in ServerEndpoint::clientReply (this=0x7fcbcc015ca0, buffer=..., down=..., reply=...) at /home/andrey_vasilyev_mariadb_com/MaxScale/include/maxscale/target.hh:130 #14 0x00007fcbefa70e98 in MariaDBBackendConnection::normal_read (this=0x7fcbcc015fe0) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/modules/protocol/MariaDB/mariadb_backend.cc:799 #15 0x00007fcbefa72e28 in MariaDBBackendConnection::ready_for_reading (this=0x7fcbcc015fe0, event_dcb=) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/modules/protocol/MariaDB/mariadb_backend.cc:550 #16 0x00007fcbefb455c1 in DCB::process_events (this=0x7fcbcc01aab0, events=) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/core/dcb.cc:1360 #17 0x00007fcbefb457a1 in DCB::event_handler (this=0x7fcbcc01aab0, events=) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/core/dcb.cc:1409 #18 0x00007fcbefa20a83 in maxbase::Worker::deliver_events (this=, pPollable=, events=, context=) at /home/andrey_vasilyev_mariadb_com/MaxScale/maxutils/maxbase/src/worker.cc:1073 #19 0x00007fcbefa24198 in maxbase::Worker::poll_waitevents (this=) at /home/andrey_vasilyev_mariadb_com/MaxScale/maxutils/maxbase/src/worker.cc:1182 #20 0x00007fcbefa2476d in maxbase::Worker::run (this=, pSem=) at /home/andrey_vasilyev_mariadb_com/MaxScale/maxutils/maxbase/src/worker.cc:862 #21 0x00007fcbed128b23 in execute_native_thread_routine () from /lib64/libstdc++.so.6 #22 0x00007fcbedf371ca in start_thread () from /lib64/libpthread.so.0 #23 0x00007fcbebb0a8d3 in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7fcbe49fc700 (LWP 25)): #0 0x00007fcbebc10487 in epoll_wait () from /lib64/libc.so.6 #1 0x00007fcbefa23f3b in maxbase::Worker::poll_waitevents (this=) at /home/andrey_vasilyev_mariadb_com/MaxScale/maxutils/maxbase/src/worker.cc:1118 #2 0x00007fcbefa2476d in maxbase::Worker::run (this=, pSem=) at /home/andrey_vasilyev_mariadb_com/MaxScale/maxutils/maxbase/src/worker.cc:862 #3 0x00007fcbed128b23 in execute_native_thread_routine () from /lib64/libstdc++.so.6 #4 0x00007fcbedf371ca in start_thread () from /lib64/libpthread.so.0 #5 0x00007fcbebb0a8d3 in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7fcbe51fd700 (LWP 24)): #0 0x00007fcbedf3d628 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fcbefa973b8 in HttpSql::ConnectionManager::cleanup_thread_func (this=) at /usr/include/c++/8/x86_64-redhat-linux/bits/gthr-default.h:871 #2 0x00007fcbed128b23 in execute_native_thread_routine () from /lib64/libstdc++.so.6 #3 0x00007fcbedf371ca in start_thread () from /lib64/libpthread.so.0 #4 0x00007fcbebb0a8d3 in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7fcbe59fe700 (LWP 23)): #0 0x00007fcbebc10487 in epoll_wait () from /lib64/libc.so.6 #1 0x00007fcbece552fa in MHD_epoll () from /lib64/libmicrohttpd.so.12 #2 0x00007fcbece5660f in MHD_polling_thread () from /lib64/libmicrohttpd.so.12 #3 0x00007fcbedf371ca in start_thread () from /lib64/libpthread.so.0 #4 0x00007fcbebb0a8d3 in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fcbe61ff700 (LWP 22)): #0 0x00007fcbedf3d628 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fcbefb8ac5d in maxscale::BaseUserManager::updater_thread_function (this=) at /usr/include/c++/8/x86_64-redhat-linux/bits/gthr-default.h:871 #2 0x00007fcbed128b23 in execute_native_thread_routine () from /lib64/libstdc++.so.6 #3 0x00007fcbedf371ca in start_thread () from /lib64/libpthread.so.0 #4 0x00007fcbebb0a8d3 in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fcbe6a00700 (LWP 21)): #0 0x00007fcbedf3d628 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007fcbefb8ac5d in maxscale::BaseUserManager::updater_thread_function (this=) at /usr/include/c++/8/x86_64-redhat-linux/bits/gthr-default.h:871 #2 0x00007fcbed128b23 in execute_native_thread_routine () from /lib64/libstdc++.so.6 #3 0x00007fcbedf371ca in start_thread () from /lib64/libpthread.so.0 #4 0x00007fcbebb0a8d3 in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7fcbf0236f80 (LWP 20)): #0 0x00007fcbebc10487 in epoll_wait () from /lib64/libc.so.6 #1 0x00007fcbefa23f3b in maxbase::Worker::poll_waitevents (this=) at /home/andrey_vasilyev_mariadb_com/MaxScale/maxutils/maxbase/src/worker.cc:1118 #2 0x00007fcbefa2476d in maxbase::Worker::run (this=, pSem=) at /home/andrey_vasilyev_mariadb_com/MaxScale/maxutils/maxbase/src/worker.cc:862 #3 0x0000000000409e43 in maxbase::Worker::run (this=0x7ffebd691730) at /home/andrey_vasilyev_mariadb_com/MaxScale/maxutils/maxbase/include/maxbase/worker.hh:626 #4 main (argc=, argv=) at /home/andrey_vasilyev_mariadb_com/MaxScale/server/core/gateway.cc:2301 [Inferior 1 (process 20) detached] MaxScale 25.01.4 received fatal signal 11. Commit ID: 0b20c013cf69a8d5210f0a89888e740acaf754e2, System name: Linux, Release string: Rocky Linux 8.10 (Green Obsidian), Thread: Worker-00Writing core dump. ^C [root@32b58ff0d658 /]# maxctrl list servers Error: Could not connect to MaxScale [root@32b58ff0d658 /]# maxscale --version MaxScale 25.01.4 [root@32b58ff0d658 /]# uname -a Linux 32b58ff0d658 6.1.0-41-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.158-1 (2025-11-09) x86_64 x86_64 x86_64 GNU/Linux