Closed nikohpng closed 5 months ago
Thanks for pointing it out. It occurs because I forgot to commit a new file, and you can pull the latest code on develop
or master
to fix it.
@JamesChenX 类似的错误
2024-06-22 16:50:21.798 WARN G efazdrer main i.t.s.c.i.h.MemoryHealthChecker : The max available memory (31129MB) is larger than the total of the available direct memory (7782MB), the max heap memory (8192MB), and the estimated max non-heap memory (256MB), which indicates that some memory will never be used by the server
2024-06-22 16:50:21.801 INFO G efazdrer main i.t.s.c.i.c.n.Node : The local node version is: 0.0.0
2024-06-22 16:50:21.801 WARN G efazdrer turms-health-checker-1-1 i.t.s.c.i.h.MemoryHealthChecker : Used system memory: 32687MB/32768MB; Used available memory: 98MB/31129MB; Used direct memory: 5MB/7782MB/8192MB; Used heap memory: 47MB/8192MB; Used non-heap memory: 46MB
2024-06-22 16:50:21.857 WARN G efazdrer main i.t.s.c.i.c.s.c.ConnectionServer : Failed to bind on the port: 7510. Trying to bind on the next port: 7511
reactor.netty.ChannelBindException: Failed to bind on [0.0.0.0:7510]
suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoCreate] :
reactor.core.publisher.Mono.create(Mono.java:203)
reactor.netty.transport.ServerTransport.bind(ServerTransport.java:91)
Error has been observed at the following site(s):
*__Mono.create ⇢ at reactor.netty.transport.ServerTransport.bind(ServerTransport.java:91)
Original Stack Trace:
suppressed: java.lang.Exception: #block terminated with an error
at reactor.core.publisher.BlockingSingleSubscriber.blockingGet(BlockingSingleSubscriber.java:146)
at reactor.core.publisher.Mono.block(Mono.java:1807)
at reactor.netty.transport.ServerTransport.bindNow(ServerTransport.java:149)
at im.turms.server.common.infra.cluster.service.connection.ConnectionServer.blockUntilConnect(ConnectionServer.java:99)
at im.turms.server.common.infra.cluster.service.connection.ConnectionService.setupServer(ConnectionService.java:246)
at im.turms.server.common.infra.cluster.service.connection.ConnectionService.<init>(ConnectionService.java:149)
at im.turms.server.common.infra.cluster.node.Node.<init>(Node.java:147)
at im.turms.server.common.infra.cluster.ClusterConfig.node(ClusterConfig.java:49)
at im.turms.server.common.infra.cluster.ClusterConfig$$SpringCGLIB$$0.CGLIB$node$0(<generated>)
at im.turms.server.common.infra.cluster.ClusterConfig$$SpringCGLIB$$FastClass$$1.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:258)
at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:331)
at im.turms.server.common.infra.cluster.ClusterConfig$$SpringCGLIB$$0.node(<generated>)
at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.lang.reflect.Method.invoke(Method.java:580)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:140)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:644)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:636)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1335)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1165)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:254)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1443)
at org.springframework.context.annotation.ContextAnnotationAutowireCandidateResolver$1.getTarget(ContextAnnotationAutowireCandidateResolver.java:103)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:701)
at im.turms.server.common.infra.cluster.node.Node$$SpringCGLIB$$0.getSharedProperties(<generated>)
at im.turms.server.common.infra.property.TurmsPropertiesManager.getGlobalProperties(TurmsPropertiesManager.java:96)
at im.turms.gateway.access.admin.throttle.AdminApiRateLimitingManager.<init>(AdminApiRateLimitingManager.java:36)
at jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)
at java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)
at java.lang.reflect.Constructor.newInstance(Constructor.java:486)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:208)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:111)
at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:315)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:306)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1355)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1192)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:562)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:522)
at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:326)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:324)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:200)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:975)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:962)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:624)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:456)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:334)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1354)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1343)
at im.turms.server.common.BaseTurmsApplication.bootstrap(BaseTurmsApplication.java:53)
at im.turms.gateway.TurmsGatewayApplication.main(TurmsGatewayApplication.java:42)
2024-06-22 16:50:21.858 INFO G efazdrer main i.t.s.c.i.c.s.c.ConnectionServer : The local node server started on: 0.0.0.0:7511
2024-06-22 16:50:21.922 INFO G efazdrer main org.mongodb.driver.client : MongoClient with metadata {"driver": {"name": "mongo-java-driver|reactive-streams", "version": "4.11.1"}, "os": {"type": "Darwin", "name": "Mac OS X", "architecture": "aarch64", "version": "14.5"}, "platform": "Java/Oracle Corporation/21.0.2+13-58"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=null, transportSettings=NettyTransportSettings{eventLoopGroup=io.netty.channel.nio.NioEventLoopGroup@72ce812e, socketChannelClass=class io.netty.channel.socket.nio.NioSocketChannel, allocator=PooledByteBufAllocator(directByDefault: true), sslContext=null}, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DocumentCodecProvider{}, MapCodecProvider{}, IterableCodecProvider{}, Jsr310CodecProvider{}, BsonCodecProvider{}, im.turms.server.common.storage.mongo.codec.MongoCodecProvider@373afd6c]}, loggerSettings=LoggerSettings{maxDocumentLength=1000}, clusterSettings={hosts=[localhost:27017], srvServiceName=mongodb, mode=SINGLE, requiredClusterType=UNKNOWN, requiredReplicaSetName='null', serverSelector='null', clusterListeners='[im.turms.server.common.storage.mongo.MongoContext$1@521441d5]', serverSelectionTimeout='30000 ms', localThreshold='15 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, proxySettings=ProxySettings{host=null, port=null, username=null, password=null}}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, proxySettings=ProxySettings{host=null, port=null, username=null, password=null}}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=UNSPECIFIED, serverApi=null, autoEncryptionSettings=null, dnsClient=null, inetAddressResolver=null, contextProvider=null}
2024-06-22 16:50:21.940 INFO G efazdrer cluster-ClusterId{value='667700cd34e1d623af9406f2', description='null'}-localhost:27017 org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=SHARD_ROUTER, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=17, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=16729416}
2024-06-22 16:50:22.003 INFO G efazdrer mongo-event-loop-10-3 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "leader": {"renewDate": 1}
2024-06-22 16:50:22.006 INFO G efazdrer mongo-event-loop-10-3 i.t.s.c.s.m.o.TurmsMongoOperations : Indexed the collection "member": {"_id.nodeId": 1}, {"status.lastHeartbeatDate": 1}
2024-06-22 16:50:22.010 INFO G efazdrer mongo-event-loop-10-3 i.t.s.c.s.m.o.TurmsMongoOperations : Enabled sharding the database: "turms-config-dev"
2024-06-22 16:50:22.030 INFO G efazdrer main i.t.s.c.i.c.s.c.SharedPropertyService : Fetching shared properties
2024-06-22 16:50:22.078 INFO G efazdrer mongo-event-loop-10-4 i.t.s.c.i.c.s.c.SharedPropertyService : Fetched shared properties
2024-06-22 16:50:22.093 INFO G efazdrer main i.t.s.c.i.c.s.d.DiscoveryService : A new member has been added: Member(key=Member.Key(clusterId=turms, nodeId=hfpztyju), zone=, name=hfpztyju, nodeVersion=0.0.0, nodeType=SERVICE, isSeed=false, registrationDate=Sat Jun 22 16:49:29 UTC 2024, isLeaderEligible=true, priority=0, memberHost=192.168.31.53, memberPort=7510, adminApiAddress=http://192.168.31.53:8510, wsAddress=null, tcpAddress=null, udpAddress=null, status=Member.MemberStatus(hasJoinedCluster=true, isHealthy=true, isActive=true, lastHeartbeatDate=Sat Jun 22 16:50:19 UTC 2024))
2024-06-22 16:50:22.093 INFO G efazdrer main i.t.s.c.i.c.s.c.ConnectionService : [Client] Connecting to the member: {id=hfpztyju, host=192.168.31.53, port=7510}. Retry times: 0
2024-06-22 16:50:22.112 ERROR G efazdrer main i.n.r.d.DnsServerAddressStreamProviders : Unable to load io.netty.resolver.dns.macos.MacOSDnsServerAddressStreamProvider, fallback to system defaults. This may result in incorrect DNS resolutions on MacOS. Check whether you have a dependency on 'io.netty:netty-resolver-dns-native-macos'. Use DEBUG level to see the full stack: java.lang.UnsatisfiedLinkError: failed to load the required native library
2024-06-22 16:50:22.121 INFO G efazdrer main i.t.s.c.i.c.s.d.DiscoveryService : A new member has been added: Member(key=Member.Key(clusterId=turms, nodeId=efazdrer), zone=, name=efazdrer, nodeVersion=0.0.0, nodeType=GATEWAY, isSeed=false, registrationDate=Sat Jun 22 16:50:22 UTC 2024, isLeaderEligible=false, priority=0, memberHost=192.168.31.53, memberPort=7511, adminApiAddress=http://192.168.31.53:9510, wsAddress=ws://192.168.31.53:10510, tcpAddress=192.168.31.53:11510, udpAddress=null, status=Member.MemberStatus(hasJoinedCluster=false, isHealthy=false, isActive=true, lastHeartbeatDate=Sat Jun 22 16:50:22 UTC 2024))
2024-06-22 16:50:22.121 INFO G efazdrer main i.t.s.c.i.c.s.d.LocalNodeStatusManager : Registering the local node as a member
2024-06-22 16:50:22.135 INFO G efazdrer mongo-event-loop-10-6 i.t.s.c.i.c.s.d.LocalNodeStatusManager : Registered the local node as a member
2024-06-22 16:50:22.145 INFO G efazdrer turms-node-connection-client-io-2-1 i.t.s.c.i.c.s.c.ConnectionService : [Client] Connected to the member: {id=hfpztyju, host=192.168.31.53, port=7510}
2024-06-22 16:50:22.153 INFO G efazdrer turms-node-connection-client-io-2-1 i.t.s.c.i.c.s.c.ConnectionService : [Client] Sending an opening handshake request to the member: {id=hfpztyju, host=192.168.31.53, port=7510}
2024-06-22 16:50:22.171 ERROR G efazdrer turms-node-connection-client-io-2-1 i.t.s.c.i.c.s.c.ConnectionService : [Client] Failed to complete the opening handshake with the member: {id=hfpztyju, host=192.168.31.53, port=7510}. Closing connection to reconnect
java.lang.RuntimeException: Failure code: 3
at im.turms.server.common.infra.cluster.service.connection.ConnectionService.lambda$connectMemberUntilSucceedOrRemoved0$7(ConnectionService.java:304)
at reactor.core.publisher.LambdaMonoSubscriber.onNext(LambdaMonoSubscriber.java:171)
at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onNext(FluxOnAssembly.java:539)
at reactor.core.publisher.FluxOnErrorResume$ResumeSubscriber.onNext(FluxOnErrorResume.java:79)
at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onNext(FluxOnAssembly.java:539)
at reactor.core.publisher.MonoMetricsFuseable$MetricsFuseableSubscriber.onNext(MonoMetricsFuseable.java:130)
at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onNext(FluxOnAssembly.java:539)
at reactor.core.publisher.SerializedSubscriber.onNext(SerializedSubscriber.java:99)
at reactor.core.publisher.FluxTimeout$TimeoutMainSubscriber.onNext(FluxTimeout.java:181)
at reactor.core.publisher.FluxOnAssembly$OnAssemblySubscriber.onNext(FluxOnAssembly.java:539)
at reactor.core.publisher.Operators$MonoInnerProducerBase.complete(Operators.java:2812)
at reactor.core.publisher.SinkOneMulticast.tryEmitValue(SinkOneMulticast.java:66)
at reactor.core.publisher.SinkOneSerialized.tryEmitValue(SinkOneSerialized.java:38)
at im.turms.server.common.infra.cluster.service.rpc.RpcEndpoint.resolveRequest(RpcEndpoint.java:138)
at im.turms.server.common.infra.cluster.service.rpc.RpcEndpoint.handleResponse(RpcEndpoint.java:126)
at im.turms.server.common.infra.cluster.service.rpc.RpcService$1.onResponseReceived(RpcService.java:235)
at im.turms.server.common.infra.cluster.service.rpc.RpcService$1.onDataReceived(RpcService.java:145)
at im.turms.server.common.infra.cluster.service.connection.ConnectionService.lambda$onMemberConnectionAdded$14(ConnectionService.java:491)
at reactor.core.publisher.FluxPeek$PeekSubscriber.onNext(FluxPeek.java:185)
at reactor.netty.channel.FluxReceive.onInboundNext(FluxReceive.java:379)
at reactor.netty.channel.ChannelOperations.onInboundNext(ChannelOperations.java:426)
at reactor.netty.channel.ChannelOperationsHandler.channelRead(ChannelOperationsHandler.java:114)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:346)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:318)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:444)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at reactor.netty.channel.AbstractChannelMetricsHandler.channelRead(AbstractChannelMetricsHandler.java:148)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:1583)
2024-06-22 16:50:22.172 INFO G efazdrer turms-node-connection-client-io-2-1 i.t.s.c.i.c.s.c.ConnectionService : [Client] The connection to the member {id=hfpztyju, host=192.168.31.53, port=7510} has been closed
2024-06-22 16:50:22.172 INFO G efazdrer turms-node-connection-client-io-2-1 i.t.s.c.i.c.s.c.ConnectionService : [Client] Try to reconnect the member {id=hfpztyju, host=192.168.31.53, port=7510} after 15000 millis
2024-06-22 16:50:22.339 INFO G efazdrer main org.mongodb.driver.client : MongoClient with metadata {"driver": {"name": "mongo-java-driver|reactive-streams", "version": "4.11.1"}, "os": {"type": "Darwin", "name": "Mac OS X", "architecture": "aarch64", "version": "14.5"}, "platform": "Java/Oracle Corporation/21.0.2+13-58"} created with settings MongoClientSettings{readPreference=primary, writeConcern=WriteConcern{w=null, wTimeout=null ms, journal=null}, retryWrites=true, retryReads=true, readConcern=ReadConcern{level=null}, credential=null, transportSettings=NettyTransportSettings{eventLoopGroup=io.netty.channel.nio.NioEventLoopGroup@56266bda, socketChannelClass=class io.netty.channel.socket.nio.NioSocketChannel, allocator=PooledByteBufAllocator(directByDefault: true), sslContext=null}, streamFactoryFactory=null, commandListeners=[], codecRegistry=ProvidersCodecRegistry{codecProviders=[ValueCodecProvider{}, BsonValueCodecProvider{}, DocumentCodecProvider{}, MapCodecProvider{}, IterableCodecProvider{}, Jsr310CodecProvider{}, BsonCodecProvider{}, im.turms.server.common.storage.mongo.codec.MongoCodecProvider@373afd6c]}, loggerSettings=LoggerSettings{maxDocumentLength=1000}, clusterSettings={hosts=[localhost:27017], srvServiceName=mongodb, mode=SINGLE, requiredClusterType=UNKNOWN, requiredReplicaSetName='null', serverSelector='null', clusterListeners='[im.turms.server.common.storage.mongo.MongoContext$1@18bb1b88]', serverSelectionTimeout='30000 ms', localThreshold='15 ms'}, socketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=0, receiveBufferSize=0, proxySettings=ProxySettings{host=null, port=null, username=null, password=null}}, heartbeatSocketSettings=SocketSettings{connectTimeoutMS=10000, readTimeoutMS=10000, receiveBufferSize=0, proxySettings=ProxySettings{host=null, port=null, username=null, password=null}}, connectionPoolSettings=ConnectionPoolSettings{maxSize=100, minSize=0, maxWaitTimeMS=120000, maxConnectionLifeTimeMS=0, maxConnectionIdleTimeMS=0, maintenanceInitialDelayMS=0, maintenanceFrequencyMS=60000, connectionPoolListeners=[], maxConnecting=2}, serverSettings=ServerSettings{heartbeatFrequencyMS=10000, minHeartbeatFrequencyMS=500, serverListeners='[]', serverMonitorListeners='[]'}, sslSettings=SslSettings{enabled=false, invalidHostNameAllowed=false, context=null}, applicationName='null', compressorList=[], uuidRepresentation=UNSPECIFIED, serverApi=null, autoEncryptionSettings=null, dnsClient=null, inetAddressResolver=null, contextProvider=null}
2024-06-22 16:50:22.343 INFO G efazdrer cluster-ClusterId{value='667700ce34e1d623af9406f3', description='null'}-localhost:27017 org.mongodb.driver.cluster : Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=SHARD_ROUTER, state=CONNECTED, ok=true, minWireVersion=0, maxWireVersion=17, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=3156000}
2024-06-22 16:50:22.401 INFO G efazdrer main i.t.s.c.d.b.m.BlocklistServiceManager : Starting resetting and synchronizing blocked clients
2024-06-22 16:50:22.411 INFO G efazdrer lettuce-nioEventLoop-19-1 i.t.s.c.d.b.m.BlocklistServiceManager : Reset and synchronized blocked clients
2024-06-22 16:50:22.411 INFO G efazdrer main i.t.s.c.d.b.m.BlocklistServiceManager : Starting resetting and synchronizing blocked clients
2024-06-22 16:50:22.412 INFO G efazdrer lettuce-nioEventLoop-22-1 i.t.s.c.d.b.m.BlocklistServiceManager : Reset and synchronized blocked clients
2024-06-22 16:50:22.428 INFO G efazdrer main i.t.g.a.c.t.TcpUserSessionAssembler : TCP server started on: 0:0:0:0:0:0:0:0:11510
2024-06-22 16:50:22.448 INFO G efazdrer main t.g.a.c.w.WebSocketUserSessionAssembler : WebSocket server started on: 0:0:0:0:0:0:0:0:10510
2024-06-22 16:50:22.451 INFO G efazdrer main i.t.s.c.d.a.s.BaseAdminRoleService : Loading all admin roles
2024-06-22 16:50:22.457 INFO G efazdrer main i.t.s.c.d.a.s.BaseAdminRoleService : Loaded all admin roles
2024-06-22 16:50:22.459 INFO G efazdrer main i.t.s.c.d.a.s.BaseAdminService : Loading all admins
2024-06-22 16:50:22.465 INFO G efazdrer main i.t.s.c.d.a.s.BaseAdminService : Loaded all admins
2024-06-22 16:50:22.472 INFO G efazdrer main i.t.g.i.f.ClientFakingManager : Preparing clients
2024-06-22 16:50:22.490 WARN G efazdrer main i.t.s.c.d.d.a.a.s.DebugService : API debug is enabled
2024-06-22 16:50:22.582 ERROR G efazdrer turms-fake-client-nio-5 i.t.g.i.f.ClientFakingManager : Failed to establish the session: {user=103, device=DESKTOP}
java.io.IOException: Broken pipe
at sun.nio.ch.SocketDispatcher.write0(native)
suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoPeek] :
reactor.core.publisher.Mono.doOnCancel(Mono.java:2688)
reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
Error has been observed at the following site(s):
*___Mono.doOnCancel ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
|_ Mono.doOnError ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:744)
*_________Mono.then ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.sendRequest(TurmsTcpClient.java:158)
|_ Mono.flatMap ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.login(TurmsTcpClient.java:115)
*________Mono.defer ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
*_________Mono.then ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
|_ Mono.doOnSuccess ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:138)
Original Stack Trace:
at sun.nio.ch.SocketDispatcher.write0(native)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137)
at sun.nio.ch.IOUtil.write(IOUtil.java:81)
at sun.nio.ch.IOUtil.write(IOUtil.java:58)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:542)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:415)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:931)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:355)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:895)
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1372)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:935)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:921)
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:907)
at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:939)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:957)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at reactor.netty.channel.ChannelOperations.lambda$sendObject$2(ChannelOperations.java:321)
at reactor.netty.FutureMono$DeferredFutureMono.subscribe(FutureMono.java:100)
at reactor.core.publisher.Mono.subscribe(Mono.java:4568)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:265)
at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:241)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:204)
at reactor.core.publisher.SerializedSubscriber.onComplete(SerializedSubscriber.java:146)
at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onComplete(FluxRetryWhen.java:204)
at reactor.core.publisher.MonoIgnoreElements$IgnoreElementsSubscriber.onComplete(MonoIgnoreElements.java:89)
at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onComplete(FluxPeekFuseable.java:277)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.success(MonoCreate.java:177)
at reactor.netty.resources.NewConnectionProvider$NewConnectionObserver.onStateChange(NewConnectionProvider.java:205)
at reactor.netty.channel.ChannelOperationsHandler.channelActive(ChannelOperationsHandler.java:62)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:231)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelActive(DefaultChannelPipeline.java:1398)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:258)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:895)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:306)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:336)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:1583)
2024-06-22 16:50:22.582 ERROR G efazdrer turms-fake-client-nio-4 i.t.g.i.f.ClientFakingManager : Failed to establish the session: {user=102, device=DESKTOP}
java.io.IOException: Broken pipe
at sun.nio.ch.SocketDispatcher.write0(native)
suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoPeek] :
reactor.core.publisher.Mono.doOnCancel(Mono.java:2688)
reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
Error has been observed at the following site(s):
*___Mono.doOnCancel ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
|_ Mono.doOnError ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:744)
*_________Mono.then ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.sendRequest(TurmsTcpClient.java:158)
|_ Mono.flatMap ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.login(TurmsTcpClient.java:115)
*________Mono.defer ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
*_________Mono.then ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
|_ Mono.doOnSuccess ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:138)
Original Stack Trace:
at sun.nio.ch.SocketDispatcher.write0(native)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137)
at sun.nio.ch.IOUtil.write(IOUtil.java:81)
at sun.nio.ch.IOUtil.write(IOUtil.java:58)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:542)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:415)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:931)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:355)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:895)
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1372)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:935)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:921)
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:907)
at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:939)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:957)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at reactor.netty.channel.ChannelOperations.lambda$sendObject$2(ChannelOperations.java:321)
at reactor.netty.FutureMono$DeferredFutureMono.subscribe(FutureMono.java:100)
at reactor.core.publisher.Mono.subscribe(Mono.java:4568)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:265)
at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:241)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:204)
at reactor.core.publisher.SerializedSubscriber.onComplete(SerializedSubscriber.java:146)
at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onComplete(FluxRetryWhen.java:204)
at reactor.core.publisher.MonoIgnoreElements$IgnoreElementsSubscriber.onComplete(MonoIgnoreElements.java:89)
at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onComplete(FluxPeekFuseable.java:277)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.success(MonoCreate.java:177)
at reactor.netty.resources.NewConnectionProvider$NewConnectionObserver.onStateChange(NewConnectionProvider.java:205)
at reactor.netty.channel.ChannelOperationsHandler.channelActive(ChannelOperationsHandler.java:62)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:231)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelActive(DefaultChannelPipeline.java:1398)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:258)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:895)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:306)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:336)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:1583)
2024-06-22 16:50:22.582 ERROR G efazdrer turms-fake-client-nio-6 i.t.g.i.f.ClientFakingManager : Failed to establish the session: {user=104, device=DESKTOP}
java.io.IOException: Broken pipe
at sun.nio.ch.SocketDispatcher.write0(native)
suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoPeek] :
reactor.core.publisher.Mono.doOnCancel(Mono.java:2688)
reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
Error has been observed at the following site(s):
*___Mono.doOnCancel ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
|_ Mono.doOnError ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:744)
*_________Mono.then ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.sendRequest(TurmsTcpClient.java:158)
|_ Mono.flatMap ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.login(TurmsTcpClient.java:115)
*________Mono.defer ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
*_________Mono.then ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
|_ Mono.doOnSuccess ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:138)
Original Stack Trace:
at sun.nio.ch.SocketDispatcher.write0(native)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137)
at sun.nio.ch.IOUtil.write(IOUtil.java:81)
at sun.nio.ch.IOUtil.write(IOUtil.java:58)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:542)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:415)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:931)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:355)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:895)
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1372)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:935)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:921)
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:907)
at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:939)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:957)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at reactor.netty.channel.ChannelOperations.lambda$sendObject$2(ChannelOperations.java:321)
at reactor.netty.FutureMono$DeferredFutureMono.subscribe(FutureMono.java:100)
at reactor.core.publisher.Mono.subscribe(Mono.java:4568)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:265)
at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:241)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:204)
at reactor.core.publisher.SerializedSubscriber.onComplete(SerializedSubscriber.java:146)
at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onComplete(FluxRetryWhen.java:204)
at reactor.core.publisher.MonoIgnoreElements$IgnoreElementsSubscriber.onComplete(MonoIgnoreElements.java:89)
at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onComplete(FluxPeekFuseable.java:277)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.success(MonoCreate.java:177)
at reactor.netty.resources.NewConnectionProvider$NewConnectionObserver.onStateChange(NewConnectionProvider.java:205)
at reactor.netty.channel.ChannelOperationsHandler.channelActive(ChannelOperationsHandler.java:62)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:231)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelActive(DefaultChannelPipeline.java:1398)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:258)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:895)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:306)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:336)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:1583)
2024-06-22 16:50:22.582 ERROR G efazdrer turms-fake-client-nio-3 i.t.g.i.f.ClientFakingManager : Failed to establish the session: {user=101, device=DESKTOP}
java.io.IOException: Broken pipe
at sun.nio.ch.SocketDispatcher.write0(native)
suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoPeek] :
reactor.core.publisher.Mono.doOnCancel(Mono.java:2688)
reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
Error has been observed at the following site(s):
*___Mono.doOnCancel ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
|_ Mono.doOnError ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:744)
*_________Mono.then ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.sendRequest(TurmsTcpClient.java:158)
|_ Mono.flatMap ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.login(TurmsTcpClient.java:115)
*________Mono.defer ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
*_________Mono.then ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
|_ Mono.doOnSuccess ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:138)
Original Stack Trace:
at sun.nio.ch.SocketDispatcher.write0(native)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137)
at sun.nio.ch.IOUtil.write(IOUtil.java:81)
at sun.nio.ch.IOUtil.write(IOUtil.java:58)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:542)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:415)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:931)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:355)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:895)
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1372)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:935)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:921)
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:907)
at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:939)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:957)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at reactor.netty.channel.ChannelOperations.lambda$sendObject$2(ChannelOperations.java:321)
at reactor.netty.FutureMono$DeferredFutureMono.subscribe(FutureMono.java:100)
at reactor.core.publisher.Mono.subscribe(Mono.java:4568)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:265)
at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:241)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:204)
at reactor.core.publisher.SerializedSubscriber.onComplete(SerializedSubscriber.java:146)
at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onComplete(FluxRetryWhen.java:204)
at reactor.core.publisher.MonoIgnoreElements$IgnoreElementsSubscriber.onComplete(MonoIgnoreElements.java:89)
at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onComplete(FluxPeekFuseable.java:277)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.success(MonoCreate.java:177)
at reactor.netty.resources.NewConnectionProvider$NewConnectionObserver.onStateChange(NewConnectionProvider.java:205)
at reactor.netty.channel.ChannelOperationsHandler.channelActive(ChannelOperationsHandler.java:62)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:231)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelActive(DefaultChannelPipeline.java:1398)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:258)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:895)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:306)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:336)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:1583)
2024-06-22 16:50:22.582 ERROR G efazdrer turms-fake-client-nio-2 i.t.g.i.f.ClientFakingManager : Failed to establish the session: {user=100, device=DESKTOP}
java.io.IOException: Broken pipe
at sun.nio.ch.SocketDispatcher.write0(native)
suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoPeek] :
reactor.core.publisher.Mono.doOnCancel(Mono.java:2688)
reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
Error has been observed at the following site(s):
*___Mono.doOnCancel ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
|_ Mono.doOnError ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:744)
*_________Mono.then ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.sendRequest(TurmsTcpClient.java:158)
|_ Mono.flatMap ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.login(TurmsTcpClient.java:115)
*________Mono.defer ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
*_________Mono.then ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
|_ Mono.doOnSuccess ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:138)
Original Stack Trace:
at sun.nio.ch.SocketDispatcher.write0(native)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137)
at sun.nio.ch.IOUtil.write(IOUtil.java:81)
at sun.nio.ch.IOUtil.write(IOUtil.java:58)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:542)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:415)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:931)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:355)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:895)
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1372)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:935)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:921)
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:907)
at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:939)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:957)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at reactor.netty.channel.ChannelOperations.lambda$sendObject$2(ChannelOperations.java:321)
at reactor.netty.FutureMono$DeferredFutureMono.subscribe(FutureMono.java:100)
at reactor.core.publisher.Mono.subscribe(Mono.java:4568)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:265)
at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:241)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:204)
at reactor.core.publisher.SerializedSubscriber.onComplete(SerializedSubscriber.java:146)
at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onComplete(FluxRetryWhen.java:204)
at reactor.core.publisher.MonoIgnoreElements$IgnoreElementsSubscriber.onComplete(MonoIgnoreElements.java:89)
at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onComplete(FluxPeekFuseable.java:277)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.success(MonoCreate.java:177)
at reactor.netty.resources.NewConnectionProvider$NewConnectionObserver.onStateChange(NewConnectionProvider.java:205)
at reactor.netty.channel.ChannelOperationsHandler.channelActive(ChannelOperationsHandler.java:62)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:231)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelActive(DefaultChannelPipeline.java:1398)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:258)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:895)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:306)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:336)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:1583)
2024-06-22 16:50:22.582 ERROR G efazdrer turms-fake-client-nio-1 i.t.g.i.f.ClientFakingManager : Failed to establish the session: {user=109, device=DESKTOP}
java.io.IOException: Broken pipe
at sun.nio.ch.SocketDispatcher.write0(native)
suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoPeek] :
reactor.core.publisher.Mono.doOnCancel(Mono.java:2688)
reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
Error has been observed at the following site(s):
*___Mono.doOnCancel ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
|_ Mono.doOnError ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:744)
*_________Mono.then ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.sendRequest(TurmsTcpClient.java:158)
|_ Mono.flatMap ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.login(TurmsTcpClient.java:115)
*________Mono.defer ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
*_________Mono.then ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
|_ Mono.doOnSuccess ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:138)
Original Stack Trace:
at sun.nio.ch.SocketDispatcher.write0(native)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137)
at sun.nio.ch.IOUtil.write(IOUtil.java:81)
at sun.nio.ch.IOUtil.write(IOUtil.java:58)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:542)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:415)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:931)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:355)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:895)
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1372)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:935)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:921)
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:907)
at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:939)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:957)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at reactor.netty.channel.ChannelOperations.lambda$sendObject$2(ChannelOperations.java:321)
at reactor.netty.FutureMono$DeferredFutureMono.subscribe(FutureMono.java:100)
at reactor.core.publisher.Mono.subscribe(Mono.java:4568)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:265)
at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:241)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:204)
at reactor.core.publisher.SerializedSubscriber.onComplete(SerializedSubscriber.java:146)
at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onComplete(FluxRetryWhen.java:204)
at reactor.core.publisher.MonoIgnoreElements$IgnoreElementsSubscriber.onComplete(MonoIgnoreElements.java:89)
at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onComplete(FluxPeekFuseable.java:277)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.success(MonoCreate.java:177)
at reactor.netty.resources.NewConnectionProvider$NewConnectionObserver.onStateChange(NewConnectionProvider.java:205)
at reactor.netty.channel.ChannelOperationsHandler.channelActive(ChannelOperationsHandler.java:62)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:231)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelActive(DefaultChannelPipeline.java:1398)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:258)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:895)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:306)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:336)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:1583)
2024-06-22 16:50:22.582 ERROR G efazdrer turms-fake-client-nio-9 i.t.g.i.f.ClientFakingManager : Failed to establish the session: {user=107, device=DESKTOP}
java.io.IOException: Broken pipe
at sun.nio.ch.SocketDispatcher.write0(native)
suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoPeek] :
reactor.core.publisher.Mono.doOnCancel(Mono.java:2688)
reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
Error has been observed at the following site(s):
*___Mono.doOnCancel ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
|_ Mono.doOnError ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:744)
*_________Mono.then ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.sendRequest(TurmsTcpClient.java:158)
|_ Mono.flatMap ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.login(TurmsTcpClient.java:115)
*________Mono.defer ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
*_________Mono.then ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
|_ Mono.doOnSuccess ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:138)
Original Stack Trace:
at sun.nio.ch.SocketDispatcher.write0(native)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137)
at sun.nio.ch.IOUtil.write(IOUtil.java:81)
at sun.nio.ch.IOUtil.write(IOUtil.java:58)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:542)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:415)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:931)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:355)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:895)
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1372)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:935)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:921)
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:907)
at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:939)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:957)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at reactor.netty.channel.ChannelOperations.lambda$sendObject$2(ChannelOperations.java:321)
at reactor.netty.FutureMono$DeferredFutureMono.subscribe(FutureMono.java:100)
at reactor.core.publisher.Mono.subscribe(Mono.java:4568)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:265)
at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:241)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:204)
at reactor.core.publisher.SerializedSubscriber.onComplete(SerializedSubscriber.java:146)
at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onComplete(FluxRetryWhen.java:204)
at reactor.core.publisher.MonoIgnoreElements$IgnoreElementsSubscriber.onComplete(MonoIgnoreElements.java:89)
at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onComplete(FluxPeekFuseable.java:277)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.success(MonoCreate.java:177)
at reactor.netty.resources.NewConnectionProvider$NewConnectionObserver.onStateChange(NewConnectionProvider.java:205)
at reactor.netty.channel.ChannelOperationsHandler.channelActive(ChannelOperationsHandler.java:62)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:231)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelActive(DefaultChannelPipeline.java:1398)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:258)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:895)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:306)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:336)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:1583)
2024-06-22 16:50:22.582 ERROR G efazdrer turms-fake-client-nio-8 i.t.g.i.f.ClientFakingManager : Failed to establish the session: {user=106, device=DESKTOP}
java.io.IOException: Broken pipe
at sun.nio.ch.SocketDispatcher.write0(native)
suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoPeek] :
reactor.core.publisher.Mono.doOnCancel(Mono.java:2688)
reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
Error has been observed at the following site(s):
*___Mono.doOnCancel ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
|_ Mono.doOnError ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:744)
*_________Mono.then ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.sendRequest(TurmsTcpClient.java:158)
|_ Mono.flatMap ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.login(TurmsTcpClient.java:115)
*________Mono.defer ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
*_________Mono.then ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
|_ Mono.doOnSuccess ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:138)
Original Stack Trace:
at sun.nio.ch.SocketDispatcher.write0(native)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137)
at sun.nio.ch.IOUtil.write(IOUtil.java:81)
at sun.nio.ch.IOUtil.write(IOUtil.java:58)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:542)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:415)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:931)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:355)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:895)
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1372)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:935)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:921)
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:907)
at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:939)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:957)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at reactor.netty.channel.ChannelOperations.lambda$sendObject$2(ChannelOperations.java:321)
at reactor.netty.FutureMono$DeferredFutureMono.subscribe(FutureMono.java:100)
at reactor.core.publisher.Mono.subscribe(Mono.java:4568)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:265)
at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:241)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:204)
at reactor.core.publisher.SerializedSubscriber.onComplete(SerializedSubscriber.java:146)
at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onComplete(FluxRetryWhen.java:204)
at reactor.core.publisher.MonoIgnoreElements$IgnoreElementsSubscriber.onComplete(MonoIgnoreElements.java:89)
at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onComplete(FluxPeekFuseable.java:277)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.success(MonoCreate.java:177)
at reactor.netty.resources.NewConnectionProvider$NewConnectionObserver.onStateChange(NewConnectionProvider.java:205)
at reactor.netty.channel.ChannelOperationsHandler.channelActive(ChannelOperationsHandler.java:62)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:231)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelActive(DefaultChannelPipeline.java:1398)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:258)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:895)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:306)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:336)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:1583)
2024-06-22 16:50:22.582 ERROR G efazdrer turms-fake-client-nio-7 i.t.g.i.f.ClientFakingManager : Failed to establish the session: {user=105, device=DESKTOP}
java.io.IOException: Broken pipe
at sun.nio.ch.SocketDispatcher.write0(native)
suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoPeek] :
reactor.core.publisher.Mono.doOnCancel(Mono.java:2688)
reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
Error has been observed at the following site(s):
*___Mono.doOnCancel ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
|_ Mono.doOnError ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:744)
*_________Mono.then ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.sendRequest(TurmsTcpClient.java:158)
|_ Mono.flatMap ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.login(TurmsTcpClient.java:115)
*________Mono.defer ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
*_________Mono.then ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
|_ Mono.doOnSuccess ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:138)
Original Stack Trace:
at sun.nio.ch.SocketDispatcher.write0(native)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137)
at sun.nio.ch.IOUtil.write(IOUtil.java:81)
at sun.nio.ch.IOUtil.write(IOUtil.java:58)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:542)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:415)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:931)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:355)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:895)
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1372)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:935)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:921)
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:907)
at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:939)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:957)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at reactor.netty.channel.ChannelOperations.lambda$sendObject$2(ChannelOperations.java:321)
at reactor.netty.FutureMono$DeferredFutureMono.subscribe(FutureMono.java:100)
at reactor.core.publisher.Mono.subscribe(Mono.java:4568)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:265)
at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:241)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:204)
at reactor.core.publisher.SerializedSubscriber.onComplete(SerializedSubscriber.java:146)
at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onComplete(FluxRetryWhen.java:204)
at reactor.core.publisher.MonoIgnoreElements$IgnoreElementsSubscriber.onComplete(MonoIgnoreElements.java:89)
at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onComplete(FluxPeekFuseable.java:277)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.success(MonoCreate.java:177)
at reactor.netty.resources.NewConnectionProvider$NewConnectionObserver.onStateChange(NewConnectionProvider.java:205)
at reactor.netty.channel.ChannelOperationsHandler.channelActive(ChannelOperationsHandler.java:62)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:231)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelActive(DefaultChannelPipeline.java:1398)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:258)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:895)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:306)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:336)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:1583)
2024-06-22 16:50:22.582 ERROR G efazdrer turms-fake-client-nio-10 i.t.g.i.f.ClientFakingManager : Failed to establish the session: {user=108, device=DESKTOP}
java.io.IOException: Broken pipe
at sun.nio.ch.SocketDispatcher.write0(native)
suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Assembly trace from producer [reactor.core.publisher.MonoPeek] :
reactor.core.publisher.Mono.doOnCancel(Mono.java:2688)
reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
Error has been observed at the following site(s):
*___Mono.doOnCancel ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:743)
|_ Mono.doOnError ⇢ at reactor.netty.ReactorNetty$OutboundThen.<init>(ReactorNetty.java:744)
*_________Mono.then ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.sendRequest(TurmsTcpClient.java:158)
|_ Mono.flatMap ⇢ at im.turms.server.common.infra.client.TurmsTcpClient.login(TurmsTcpClient.java:115)
*________Mono.defer ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
*_________Mono.then ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:137)
|_ Mono.doOnSuccess ⇢ at im.turms.gateway.infra.fake.ClientFakingManager.prepareClients(ClientFakingManager.java:138)
Original Stack Trace:
at sun.nio.ch.SocketDispatcher.write0(native)
at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:62)
at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:137)
at sun.nio.ch.IOUtil.write(IOUtil.java:81)
at sun.nio.ch.IOUtil.write(IOUtil.java:58)
at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:542)
at io.netty.channel.socket.nio.NioSocketChannel.doWrite(NioSocketChannel.java:415)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush0(AbstractChannel.java:931)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.flush0(AbstractNioChannel.java:355)
at io.netty.channel.AbstractChannel$AbstractUnsafe.flush(AbstractChannel.java:895)
at io.netty.channel.DefaultChannelPipeline$HeadContext.flush(DefaultChannelPipeline.java:1372)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:935)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush(AbstractChannelHandlerContext.java:921)
at io.netty.channel.AbstractChannelHandlerContext.flush(AbstractChannelHandlerContext.java:907)
at io.netty.channel.ChannelOutboundHandlerAdapter.flush(ChannelOutboundHandlerAdapter.java:125)
at io.netty.channel.AbstractChannelHandlerContext.invokeFlush0(AbstractChannelHandlerContext.java:939)
at io.netty.channel.AbstractChannelHandlerContext.invokeWriteAndFlush(AbstractChannelHandlerContext.java:957)
at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:982)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:950)
at io.netty.channel.AbstractChannelHandlerContext.writeAndFlush(AbstractChannelHandlerContext.java:1000)
at io.netty.channel.DefaultChannelPipeline.writeAndFlush(DefaultChannelPipeline.java:1025)
at io.netty.channel.AbstractChannel.writeAndFlush(AbstractChannel.java:306)
at reactor.netty.channel.ChannelOperations.lambda$sendObject$2(ChannelOperations.java:321)
at reactor.netty.FutureMono$DeferredFutureMono.subscribe(FutureMono.java:100)
at reactor.core.publisher.Mono.subscribe(Mono.java:4568)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:265)
at reactor.core.publisher.MonoIgnoreThen.subscribe(MonoIgnoreThen.java:51)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoDefer.subscribe(MonoDefer.java:53)
at reactor.core.publisher.InternalMonoOperator.subscribe(InternalMonoOperator.java:76)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.subscribeNext(MonoIgnoreThen.java:241)
at reactor.core.publisher.MonoIgnoreThen$ThenIgnoreMain.onComplete(MonoIgnoreThen.java:204)
at reactor.core.publisher.SerializedSubscriber.onComplete(SerializedSubscriber.java:146)
at reactor.core.publisher.FluxRetryWhen$RetryWhenMainSubscriber.onComplete(FluxRetryWhen.java:204)
at reactor.core.publisher.MonoIgnoreElements$IgnoreElementsSubscriber.onComplete(MonoIgnoreElements.java:89)
at reactor.core.publisher.FluxPeekFuseable$PeekFuseableSubscriber.onComplete(FluxPeekFuseable.java:277)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.success(MonoCreate.java:177)
at reactor.netty.resources.NewConnectionProvider$NewConnectionObserver.onStateChange(NewConnectionProvider.java:205)
at reactor.netty.channel.ChannelOperationsHandler.channelActive(ChannelOperationsHandler.java:62)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:260)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelActive(AbstractChannelHandlerContext.java:231)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelActive(DefaultChannelPipeline.java:1398)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:258)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelActive(AbstractChannelHandlerContext.java:238)
at io.netty.channel.DefaultChannelPipeline.fireChannelActive(DefaultChannelPipeline.java:895)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.fulfillConnectPromise(AbstractNioChannel.java:306)
at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:336)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:776)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.lang.Thread.run(Thread.java:1583)
2024-06-22 16:50:22.583 INFO G efazdrer turms-fake-client-nio-10 i.t.g.i.f.ClientFakingManager : Prepared clients. Expected: 10. Prepared: 0
2024-06-22 16:50:22.583 INFO G efazdrer turms-fake-client-nio-10 i.t.g.i.f.ClientFakingManager : No available client to send random requests
2024-06-22 16:50:22.643 INFO G efazdrer main i.t.s.c.i.p.PluginManager : All plugins are started
2024-06-22 16:50:22.643 INFO G efazdrer main im.turms.gateway.TurmsGatewayApplication : Started TurmsGatewayApplication in 2.14 seconds (process running for 2.53)
2024-06-22 16:50:25.140 WARN G efazdrer turms-health-checker-1-1 i.t.s.c.i.h.MemoryHealthChecker : Used system memory: 32682MB/32768MB; Used available memory: 215MB/31129MB; Used direct memory: 81MB/7782MB/8192MB; Used heap memory: 56MB/8192MB; Used non-heap memory: 78MB
2024-06-22 16:50:25.566 INFO G efazdrer 698782499061669836 turms-admin-http-worker-31-1 : |192.168.31.53|54984711-2|2024-06-22 16:50:25.552|getMetrics|{names=[jvm.gc.max.data.size, system.memory.total, system.cpu.usage, system.memory.free, jvm.gc.memory.promoted, jvm.memory.used, user.logged_in, jvm.classes.unloaded, jvm.threads.peak, jvm.gc.pause, turms.client.request, disk.free, jvm.buffer.total.capacity, jvm.buffer.memory.used, jvm.classes.loaded, disk.total, jvm.memory.committed, system.memory.swap.free, http.server.requests, user.online, process.cpu.usage, system.memory.swap.total, rpc.request, jvm.gc.live.data.size, jvm.threads.live, jvm.gc.memory.allocated, jvm.threads.daemon, jvm.memory.max, jvm.buffer.count], returnDescription=false, returnAvailableTags=false}|TRUE|10|
2024-06-22 16:50:25.651 INFO G efazdrer 4931689535366882901 turms-admin-http-worker-31-1 : |192.168.31.53|54984711-4|2024-06-22 16:50:25.650|getMetrics|{names=[system.cpu.usage, disk.free, system.memory.free, system.memory.total, disk.total], returnDescription=false, returnAvailableTags=false}|TRUE|0|
2024-06-22 16:50:28.145 WARN G efazdrer turms-health-checker-1-1 i.t.s.c.i.h.MemoryHealthChecker : Used system memory: 32640MB/32768MB; Used available memory: 247MB/31129MB; Used direct memory: 84MB/7782MB/8192MB; Used heap memory: 84MB/8192MB; Used non-heap memory: 78MB
2024-06-22 16:50:31.104 INFO G efazdrer turms-mongo-change-watcher-1 i.t.s.c.i.c.s.d.DiscoveryService : The leader has changed to: Leader(clusterId=turms, nodeId=hfpztyju, renewDate=Sat Jun 22 16:50:29 UTC 2024, generation=1)
2024-06-22 16:50:31.150 WARN G efazdrer turms-health-checker-1-1 i.t.s.c.i.h.MemoryHealthChecker : Used system memory: 32681MB/32768MB; Used available memory: 267MB/31129MB; Used direct memory: 84MB/7782MB/8192MB; Used heap memory: 104MB/8192MB; Used non-heap memory: 78MB
Question
I run it in windows with idea, but I can't start gateway.
Is there a document that can explain how to run it?
Configure
I pull from lastest develop branch,configure only modify redis and mongodb uri like this
gateway application.yml
gateway application-dev.yaml
Error log