We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac
master
Initialize the TCP client, and then close the client to report an error, but the server is normally closed channel.
2024-04-22 15:28:16,602 WARN [main] TcpClient(TcpClient.java:134) - close tcp client failed.|remote address=null io.netty.channel.StacklessClosedChannelException: null at io.netty.channel.AbstractChannel$AbstractUnsafe.write(Object, ChannelPromise)(Unknown Source) ~[netty-transport-4.1.79.Final.jar:4.1.79.Final] 2024-04-22 15:28:16,603 INFO [main] RequestContext(RequestContext.java:75) - _RequestContext|create|key=8351078330 2024-04-22 15:28:16,606 ERROR [main] CloudEventTCPSubClient(CloudEventTCPSubClient.java:141) - exception occurred when close java.lang.InterruptedException: null at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:347) ~[?:1.8.0_311] at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908) ~[?:1.8.0_311] at org.apache.eventmesh.client.tcp.common.TcpClient.io(TcpClient.java:193) ~[eventmesh-sdk-java-1.10.0-release.jar:1.10.0-release] at org.apache.eventmesh.client.tcp.common.TcpClient.goodbye(TcpClient.java:205) ~[eventmesh-sdk-java-1.10.0-release.jar:1.10.0-release] at org.apache.eventmesh.client.tcp.impl.cloudevent.CloudEventTCPSubClient.close(CloudEventTCPSubClient.java:138) ~[eventmesh-sdk-java-1.10.0-release.jar:1.10.0-release] at org.apache.eventmesh.client.tcp.impl.cloudevent.CloudEventTCPClient.close(CloudEventTCPClient.java:99) ~[eventmesh-sdk-java-1.10.0-release.jar:1.10.0-release] at org.apache.eventmesh.tcp.demo.sub.cloudevents.AsyncSubscribe.main(AsyncSubscribe.java:65) ~[main/:?] 2024-04-22 15:28:16,607 DEBUG [nioEventLoopGroup-3-1] Codec(Codec.java:64) - Encode pkg={"header":{"cmd":"CLIENT_GOODBYE_REQUEST","code":0,"seq":"8351078330","properties":{},"command":"CLIENT_GOODBYE_REQUEST"}} 2024-04-22 15:28:16,628 DEBUG [nioEventLoopGroup-3-1] Codec(Codec.java:181) - Decode headerJson={"cmd":"CLIENT_GOODBYE_RESPONSE","code":0,"desc":"success","seq":"8351078330","properties":{},"command":"CLIENT_GOODBYE_RESPONSE"}
The text was updated successfully, but these errors were encountered:
[ISSUE #4855] Fix close tcp client failed (#4856)
9ce5dd6
client-side
Successfully merging a pull request may close this issue.
Search before asking
Environment
Mac
EventMesh version
master
What happened
Initialize the TCP client, and then close the client to report an error, but the server is normally closed channel.
How to reproduce
Debug logs
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: