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
Describe the bug 程序运行一段时间,在不固定的时刻,客户端发送请求到服务端,设置请求超时15秒,服务端收到请求立即发送了响应,但是客户端却没有收到响应,直至30分钟后才收到响应,直接以超时处理了。 日志如下: 客户端:30分钟后收到响应 2022-12-22 00:35:36,572 DEBUG [RpcRemoting#367] [XNIO-1 task-23] Send request, requestId=11754 2022-12-22 00:35:51,572 WARN [RpcResponseResolver#131] [XNIO-1 task-23] Rpc invocation timeout[responseCommand TIMEOUT]! the address is 172.26.10.250:8801 2022-12-22 01:05:46,552 WARN [RpcResponseProcessor#80] [Bolt-default-executor-8-thread-25] Cannot find InvokeFuture, maybe already timeout, id=11754, from=172.26.10.250:8801
服务端:收到请求立刻发送了响应 2022-12-22 00:35:36,572 DEBUG [RpcRequestProcessor#353] [Rpc-netty-server-worker-1-thread-1] Rpc request received! requestId=11754, from 172.26.10.250:47746 2022-12-22 00:35:36,572 DEBUG [RpcRequestProcessor#355] [Rpc-netty-server-worker-1-thread-1] request id 11754 currenTimestamp 1671669336572 - arriveTime 1671669336572 = server cost 0 < timeout 15000. 2022-12-22 00:35:36,573 DEBUG [RpcRequestProcessor$1#187] [Rpc-netty-server-worker-1-thread-1] Rpc response sent! requestId=11754. The address is 172.26.10.250:47746
服务端能立刻接收到响应
服务端30分钟后才接收到响应
正常启动服务端和客户端,客户端发送rpc请求
java -version
uname -a
The text was updated successfully, but these errors were encountered:
框架层没有30分这个逻辑,有抓包确认响应是否及时发送了吗?
Sorry, something went wrong.
No branches or pull requests
Describe the bug
程序运行一段时间,在不固定的时刻,客户端发送请求到服务端,设置请求超时15秒,服务端收到请求立即发送了响应,但是客户端却没有收到响应,直至30分钟后才收到响应,直接以超时处理了。
日志如下:
客户端:30分钟后收到响应
2022-12-22 00:35:36,572 DEBUG [RpcRemoting#367] [XNIO-1 task-23] Send request, requestId=11754
2022-12-22 00:35:51,572 WARN [RpcResponseResolver#131] [XNIO-1 task-23] Rpc invocation timeout[responseCommand TIMEOUT]! the address is 172.26.10.250:8801
2022-12-22 01:05:46,552 WARN [RpcResponseProcessor#80] [Bolt-default-executor-8-thread-25] Cannot find InvokeFuture, maybe already timeout, id=11754, from=172.26.10.250:8801
服务端:收到请求立刻发送了响应
2022-12-22 00:35:36,572 DEBUG [RpcRequestProcessor#353] [Rpc-netty-server-worker-1-thread-1] Rpc request received! requestId=11754, from 172.26.10.250:47746
2022-12-22 00:35:36,572 DEBUG [RpcRequestProcessor#355] [Rpc-netty-server-worker-1-thread-1] request id 11754 currenTimestamp 1671669336572 - arriveTime 1671669336572 = server cost 0 < timeout 15000.
2022-12-22 00:35:36,573 DEBUG [RpcRequestProcessor$1#187] [Rpc-netty-server-worker-1-thread-1] Rpc response sent! requestId=11754. The address is 172.26.10.250:47746
Expected behavior
服务端能立刻接收到响应
Actual behavior
服务端30分钟后才接收到响应
Steps to reproduce
正常启动服务端和客户端,客户端发送rpc请求
Minimal yet complete reproducer code (or GitHub URL to code)
Environment
java -version
): openjdk version "1.8.0_292"uname -a
): Linux 3.10.0-1160.15.2.el7.x86_64The text was updated successfully, but these errors were encountered: