Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
when configuring authenticator=ed25519auth and no user_mapping_file is configured,
connection is established, but on first query, the socket is dropped.
for history, resulting error is when using java connector :
|
java.sql.SQLNonTransientConnectionException: (conn=3) Initialization command fail |
|
at org.mariadb.jdbc.export.ExceptionFactory.createException(ExceptionFactory.java:300) |
at org.mariadb.jdbc.export.ExceptionFactory.create(ExceptionFactory.java:366) |
at org.mariadb.jdbc.client.impl.StandardClient.postConnectionQueries(StandardClient.java:714) |
at org.mariadb.jdbc.client.impl.StandardClient.<init>(StandardClient.java:243) |
at org.mariadb.jdbc.Driver.connect(Driver.java:68) |
at org.mariadb.jdbc.Driver.connect(Driver.java:92) |
at org.mariadb.jdbc.Driver.connect(Driver.java:26) |
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:683) |
at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:253) |
at org.mariadb.jdbc.integration.Ttest.verificationEd25519AuthPlugin(Ttest.java:26) |
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) |
at java.base/java.lang.reflect.Method.invoke(Method.java:580) |
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) |
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) |
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) |
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) |
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) |
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) |
at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) |
at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) |
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) |
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) |
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) |
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) |
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) |
at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) |
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) |
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) |
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) |
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) |
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) |
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) |
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) |
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) |
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596) |
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) |
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) |
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) |
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) |
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) |
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) |
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) |
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) |
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) |
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) |
at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:57) |
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38) |
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11) |
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35) |
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232) |
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55) |
Caused by: java.sql.BatchUpdateException: (conn=3) Socket error |
at org.mariadb.jdbc.export.ExceptionFactory.createBatchUpdate(ExceptionFactory.java:221) |
at org.mariadb.jdbc.client.impl.StandardClient.executePipeline(StandardClient.java:1000) |
at org.mariadb.jdbc.client.impl.StandardClient.postConnectionQueries(StandardClient.java:675) |
... 72 more |
Caused by: java.sql.SQLNonTransientConnectionException: (conn=3) Socket error |
at org.mariadb.jdbc.export.ExceptionFactory.createException(ExceptionFactory.java:300) |
at org.mariadb.jdbc.export.ExceptionFactory.create(ExceptionFactory.java:366) |
at org.mariadb.jdbc.client.impl.StandardClient.readPacket(StandardClient.java:1259) |
at org.mariadb.jdbc.client.impl.StandardClient.readResults(StandardClient.java:1174) |
at org.mariadb.jdbc.client.impl.StandardClient.readResponse(StandardClient.java:1093) |
at org.mariadb.jdbc.client.impl.StandardClient.executePipeline(StandardClient.java:933) |
... 73 more |
Caused by: java.net.SocketException: Connection reset
|
at java.base/sun.nio.ch.NioSocketImpl.implRead(NioSocketImpl.java:318) |
at java.base/sun.nio.ch.NioSocketImpl.read(NioSocketImpl.java:346) |
at java.base/sun.nio.ch.NioSocketImpl$1.read(NioSocketImpl.java:796) |
at java.base/java.net.Socket$SocketInputStream.read(Socket.java:1099) |
at java.base/java.io.BufferedInputStream.fill(BufferedInputStream.java:291) |
at java.base/java.io.BufferedInputStream.read1(BufferedInputStream.java:347) |
at java.base/java.io.BufferedInputStream.implRead(BufferedInputStream.java:420) |
at java.base/java.io.BufferedInputStream.read(BufferedInputStream.java:399) |
at org.mariadb.jdbc.client.socket.impl.PacketReader.readReusablePacket(PacketReader.java:62) |
at org.mariadb.jdbc.message.ClientMessage.readPacket(ClientMessage.java:164) |
at org.mariadb.jdbc.client.impl.StandardClient.readPacket(StandardClient.java:1235) |
... 76 more |
|