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

Igor Sapego commented on IGNITE-26800:
--------------------------------------

LGTM

> .NET: TestAuthnOnClientAndServer is flaky
> -----------------------------------------
>
>                 Key: IGNITE-26800
>                 URL: https://issues.apache.org/jira/browse/IGNITE-26800
>             Project: Ignite
>          Issue Type: Bug
>          Components: platforms ai3, thin clients ai3
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>              Labels: MakeTeamcityGreenAgain, ignite-3
>             Fix For: 3.2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code}
> Apache.Ignite.IgniteClientConnectionException : Exception while reading from 
> socket, connection closed: Unable to read data from the transport connection: 
> Connection reset by peer.
>           ----> System.IO.IOException : Unable to read data from the 
> transport connection: Connection reset by peer.
>           ----> System.Net.Sockets.SocketException : Connection reset by peer
> 16:40:40            at 
> Apache.Ignite.Internal.ClientSocket.DoOutInOpAsyncInternal(ClientOp clientOp, 
> PooledArrayBuffer request, Boolean expectNotifications, CancellationToken 
> cancellationToken) in 
> /opt/buildagent/work/20b0d84335ec07af/gridgain-9/modules/platforms/dotnet/Apache.Ignite/Internal/ClientSocket.cs:line
>  705
>            at 
> Apache.Ignite.Internal.ClientSocket.DoOutInOpAsyncInternal(ClientOp clientOp, 
> PooledArrayBuffer request, Boolean expectNotifications, CancellationToken 
> cancellationToken) in 
> /opt/buildagent/work/20b0d84335ec07af/gridgain-9/modules/platforms/dotnet/Apache.Ignite/Internal/ClientSocket.cs:line
>  708
>            at 
> Apache.Ignite.Internal.ClientFailoverSocket.<>c.<<DoOutInOpAndGetSocketAsync>b__27_1>d.MoveNext()
>  in 
> /opt/buildagent/work/20b0d84335ec07af/gridgain-9/modules/platforms/dotnet/Apache.Ignite/Internal/ClientFailoverSocket.cs:line
>  210
>         --- End of stack trace from previous location ---
>            at 
> Apache.Ignite.Internal.ClientFailoverSocket.DoWithRetryAsync[T,TArg](TArg 
> arg, Func3 opFunc, Func3 func, PreferredNode preferredNode, IRetryPolicy 
> retryPolicyOverride) in 
> /opt/buildagent/work/20b0d84335ec07af/gridgain-9/modules/platforms/dotnet/Apache.Ignite/Internal/ClientFailoverSocket.cs:line
>  249
>            at 
> Apache.Ignite.Internal.ClientFailoverSocket.DoOutInOpAndGetSocketAsync(ClientOp
>  clientOp, Transaction tx, PooledArrayBuffer request, PreferredNode 
> preferredNode, IRetryPolicy retryPolicyOverride, Boolean expectNotifications, 
> CancellationToken cancellationToken) in 
> /opt/buildagent/work/20b0d84335ec07af/gridgain-9/modules/platforms/dotnet/Apache.Ignite/Internal/ClientFailoverSocket.cs:line
>  205
>            at 
> Apache.Ignite.Internal.ClientFailoverSocket.DoOutInOpAsync(ClientOp clientOp, 
> PooledArrayBuffer request, PreferredNode preferredNode, Boolean 
> expectNotifications, CancellationToken cancellationToken) in 
> /opt/buildagent/work/20b0d84335ec07af/gridgain-9/modules/platforms/dotnet/Apache.Ignite/Internal/ClientFailoverSocket.cs:line
>  160
>            at 
> Apache.Ignite.Internal.IgniteClientInternal.GetClusterNodesAsync() in 
> /opt/buildagent/work/20b0d84335ec07af/gridgain-9/modules/platforms/dotnet/Apache.Ignite/Internal/IgniteClientInternal.cs:line
>  76
>            at 
> Apache.Ignite.Tests.BasicAuthenticatorTests.TestAuthnOnClientAndServer() in 
> /opt/buildagent/work/20b0d84335ec07af/gridgain-9/modules/platforms/dotnet/Apache.Ignite.Tests/BasicAuthenticatorTests.cs:line
>  64
>            at 
> NUnit.Framework.Internal.TaskAwaitAdapter.GenericAdapter1.BlockUntilCompleted()
>             at 
> NUnit.Framework.Internal.MessagePumpStrategy.NoMessagePumpStrategy.WaitForCompletion(AwaitAdapter
>  awaiter)            at 
> NUnit.Framework.Internal.AsyncToSyncAdapter.Await(Func1 invoke)
>            at 
> NUnit.Framework.Internal.Commands.TestMethodCommand.RunTestMethod(TestExecutionContext
>  context)
>            at 
> NUnit.Framework.Internal.Commands.TestMethodCommand.Execute(TestExecutionContext
>  context)
>            at 
> NUnit.Framework.Internal.Commands.BeforeAndAfterTestCommand.<>c__DisplayClass1_0.<Execute>b__0()
>            at 
> NUnit.Framework.Internal.Commands.DelegatingTestCommand.RunTestMethodInThreadAbortSafeZone(TestExecutionContext
>  context, Action action)
>         --IOException
>            at 
> System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError
>  error, CancellationToken cancellationToken)
>            at 
> System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16
>  token)
>            at Apache.Ignite.Internal.ClientSocket.ReceiveBytesAsync(Stream 
> stream, Byte[] buffer, Int32 size, MetricsContext metricsContext, 
> CancellationToken cancellationToken) in 
> /opt/buildagent/work/20b0d84335ec07af/gridgain-9/modules/platforms/dotnet/Apache.Ignite/Internal/ClientSocket.cs:line
>  532
>            at Apache.Ignite.Internal.ClientSocket.ReadMessageSizeAsync(Stream 
> stream, Byte[] buffer, MetricsContext metricsContext, CancellationToken 
> cancellationToken) in 
> /opt/buildagent/work/20b0d84335ec07af/gridgain-9/modules/platforms/dotnet/Apache.Ignite/Internal/ClientSocket.cs:line
>  516
>            at Apache.Ignite.Internal.ClientSocket.ReadResponseAsync(Stream 
> stream, Byte[] messageSizeBytes, MetricsContext metricsContext, 
> CancellationToken cancellationToken) in 
> /opt/buildagent/work/20b0d84335ec07af/gridgain-9/modules/platforms/dotnet/Apache.Ignite/Internal/ClientSocket.cs:line
>  489
>            at 
> Apache.Ignite.Internal.ClientSocket.RunReceiveLoop(CancellationToken 
> cancellationToken) in 
> /opt/buildagent/work/20b0d84335ec07af/gridgain-9/modules/platforms/dotnet/Apache.Ignite/Internal/ClientSocket.cs:line
>  840
>         --SocketException
> {code}
> Looks like we need to check all nodes in EnableAuthn in both cases 
> (enable/disable).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to