Skip to content
New issue

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

调用rpc微服务报错 #186

Open
liqiang88 opened this issue Aug 23, 2024 · 0 comments
Open

调用rpc微服务报错 #186

liqiang88 opened this issue Aug 23, 2024 · 0 comments

Comments

@liqiang88
Copy link

cool-admin-midway调用midway-rpc微服务(微服务在读取比较大点的excel文件)报错如下:
{ "code": 1001, "message": "Request is rejected when call 'xxx.call' action on 'xxx-55cbb5d0-6101-11ef-a0b4-719e1f1b584f' node." }

控制台部分报错信息如下:
`[2024-08-23T03:44:56.100Z] WARN admin-f19c47a0-6100-11ef-ae51-85c7d9631289/DISCOVERY: Heartbeat is not received from 'xxx-55cbb5d0-6101-11ef-a0b4-719e1f1b584f' node.

[2024-08-23T03:44:56.101Z] WARN admin-f19c47a0-6100-11ef-ae51-85c7d9631289/REGISTRY: Node 'xxx-55cbb5d0-6101-11ef-a0b4-719e1f1b584f' disconnected unexpectedly.

2024-08-23 03:44:56,101 INFO 20720 [cool:core] MoleculerTransaction event params: {"rpcTransactionId":"f77fe3b0-6101-11ef-ae51-85c7d9631289","commit":false}
2024-08-23 03:44:56,101 INFO 20720 [cool:core] MoleculerTransaction event rollbackTransaction ID: f77fe3b0-6101-11ef-ae51-85c7d9631289
RequestRejectedError: Request is rejected when call 'xxx.call' action on 'xxx-55cbb5d0-6101-11ef-a0b4-719e1f1b584f' node.
at xxxx\service\node_modules_moleculer@0.14.32@moleculer\src\transit.js:1038:6
at Map.forEach ()
at Transit.removePendingRequestByNodeID (xxx\service\node_modules_moleculer@0.14.32@moleculer\src\transit.js:1032:24)
at NodeCatalog.disconnected (xxxx\service\node_modules_moleculer@0.14.32@moleculer\src\registry\node-catalog.js:198:49)
at xxxx\service\node_modules_moleculer@0.14.32@moleculer\src\registry\discoverers\base.js:170:25
at Array.forEach ()
at LocalDiscoverer.checkRemoteNodes (xxx\service\node_modules_moleculer@0.14.32@moleculer\src\registry\discoverers\base.js:160:33)
at Timeout._onTimeout (xxxx\service\node_modules_moleculer@0.14.32@moleculer\src\registry\discoverers\base.js:104:16)
at listOnTimeout (node:internal/timers:569:17)
at processTimers (node:internal/timers:512:7)
query: ROLLBACK
`
微服务控制台没有任何报错信息,事务已经rollback。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant