You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "eric-projects (via GitHub)" <gi...@apache.org> on 2023/12/20 02:57:22 UTC
[I] grpc-js Call cancelled [rocketmq-clients]
eric-projects opened a new issue, #653:
URL: https://github.com/apache/rocketmq-clients/issues/653
### Before Creating the Bug Report
- [X] I found a bug, not just asking a question, which should be created in [GitHub Discussions](https://github.com/apache/rocketmq-clients/discussions).
- [X] I have searched the [GitHub Issues](https://github.com/apache/rocketmq-clients/issues) and [GitHub Discussions](https://github.com/apache/rocketmq-clients/discussions) of this repository and believe that this is not a duplicate.
- [X] I have confirmed that this bug belongs to the current repository, not other repositories of RocketMQ.
### Programming Language of the Client
Node.js
### Runtime Platform Environment
ubuntu20.04.5
### RocketMQ Version of the Client/Server
5.0
### Run or Compiler Version
nodejs 18.17.0,18.0.0,16.19.0
### Describe the Bug
Producer [class Producer extends BaseClient]
Error: 1 CANCELLED: Call cancelled
at callErrorFromStatus (/root/rocketmq-clients/nodejs/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
at Object.onReceiveStatus (/root/rocketmq-clients/nodejs/node_modules/@grpc/grpc-js/build/src/client.js:192:76)
at Object.onReceiveStatus (/root/rocketmq-clients/nodejs/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:360:141)
at Object.onReceiveStatus (/root/rocketmq-clients/nodejs/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:323:181)
at /root/rocketmq-clients/nodejs/node_modules/@grpc/grpc-js/build/src/resolving-call.js:99:78
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
at ServiceClientImpl.makeUnaryRequest (/root/rocketmq-clients/nodejs/node_modules/@grpc/grpc-js/build/src/client.js:160:32)
at ServiceClientImpl.queryRoute (/root/rocketmq-clients/nodejs/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
at /root/rocketmq-clients/nodejs/dist/client/RpcClient.js:62:20
at new Promise (<anonymous>)
at RpcClient.queryRoute (/root/rocketmq-clients/nodejs/dist/client/RpcClient.js:61:16)
at RpcClientManager.queryRoute (/root/rocketmq-clients/nodejs/dist/client/RpcClientManager.js:66:32)
at #fetchTopicRoute (/root/rocketmq-clients/nodejs/dist/client/BaseClient.js:178:54)
at Producer.getRouteData (/root/rocketmq-clients/nodejs/dist/client/BaseClient.js:170:57)
at #getPublishingLoadBalancer (/root/rocketmq-clients/nodejs/dist/producer/Producer.js:216:47)
at #send (/root/rocketmq-clients/nodejs/dist/producer/Producer.js:142:67) {
code: 1,
details: 'Call cancelled',
metadata: Metadata { internalRepr: Map(0) {}, options: {} }
}
### Steps to Reproduce
1、pull rocketmq-clients code
2、pull proto code
3、 cd rocketmq-clients/nodejs
4、 npm install
5、 npm run init
6、 npm run build
7、 use dist folder run Producer test
### What Did You Expect to See?
message send success
### What Did You See Instead?
run error :Error: 1 CANCELLED: Call cancelled
### Additional Context
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] grpc-js Call cancelled [rocketmq-clients]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #653:
URL: https://github.com/apache/rocketmq-clients/issues/653#issuecomment-1928549188
This issue is stale because it has been open for 30 days with no activity. It will be closed in 3 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] grpc-js Call cancelled [rocketmq-clients]
Posted by "moling1234 (via GitHub)" <gi...@apache.org>.
moling1234 commented on issue #653:
URL: https://github.com/apache/rocketmq-clients/issues/653#issuecomment-1879580898
There is also the nodejs client that will be disconnected, which is a serious problem. @ShadowySpirits
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] grpc-js Call cancelled [rocketmq-clients]
Posted by "moling1234 (via GitHub)" <gi...@apache.org>.
moling1234 commented on issue #653:
URL: https://github.com/apache/rocketmq-clients/issues/653#issuecomment-1879580169
The same problem occurs on my client but I can't solve it, I want help!
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] grpc-js Call cancelled [rocketmq-clients]
Posted by "eric-projects (via GitHub)" <gi...@apache.org>.
eric-projects commented on issue #653:
URL: https://github.com/apache/rocketmq-clients/issues/653#issuecomment-2136912331
已经解决,需要升级rocketmq服务器端版本到5.x,并开启 rocketmq proxy
详细内容可查看 此issues https://github.com/apache/rocketmq-clients/issues/721
@JanYork @moling1234
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] grpc-js Call cancelled [rocketmq-clients]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #653: grpc-js Call cancelled
URL: https://github.com/apache/rocketmq-clients/issues/653
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] grpc-js Call cancelled [rocketmq-clients]
Posted by "TimZhao-SH (via GitHub)" <gi...@apache.org>.
TimZhao-SH commented on issue #653:
URL: https://github.com/apache/rocketmq-clients/issues/653#issuecomment-2019942334
I tracked namesrv. log and found the following error

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] grpc-js Call cancelled [rocketmq-clients]
Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #653:
URL: https://github.com/apache/rocketmq-clients/issues/653#issuecomment-1936763811
This issue was closed because it has been inactive for 3 days since being marked as stale.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] grpc-js Call cancelled [rocketmq-clients]
Posted by "easyfrog (via GitHub)" <gi...@apache.org>.
easyfrog commented on issue #653:
URL: https://github.com/apache/rocketmq-clients/issues/653#issuecomment-2026549652
same question! how to resole this??
```bash
[class SimpleConsumer extends Consumer]
runGroupIndex ERROR: Error: Startup the rocketmq client failed, clientId=d1c7d477527b@29@14@lubgqg2n, error=Error: 1 CANCELLED: Call cancelled
at SimpleConsumer.startup (/usr/rest-server/node_modules/rocketmq-client-nodejs/dist/client/BaseClient.js:83:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async run (eval at getApiHandlerFuncObject (/usr/rest-server/src/utils/utils.js:101:21), <anonymous>:194:9)
at async eval (eval at getApiHandlerFuncObject (/usr/rest-server/src/utils/utils.js:101:21), <anonymous>:208:5)
at async runGroupIndex (/usr/rest-server/src/routes/index.js:95:13) {
cause: Error: 1 CANCELLED: Call cancelled
at callErrorFromStatus (/usr/rest-server/node_modules/@grpc/grpc-js/build/src/call.js:31:19)
at Object.onReceiveStatus (/usr/rest-server/node_modules/@grpc/grpc-js/build/src/client.js:192:76)
at Object.onReceiveStatus (/usr/rest-server/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:360:141)
at Object.onReceiveStatus (/usr/rest-server/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:323:181)
at /usr/rest-server/node_modules/@grpc/grpc-js/build/src/resolving-call.js:99:78
at process.processTicksAndRejections (node:internal/process/task_queues:77:11)
for call at
at ServiceClientImpl.makeUnaryRequest (/usr/rest-server/node_modules/@grpc/grpc-js/build/src/client.js:160:32)
at ServiceClientImpl.queryRoute (/usr/rest-server/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
at /usr/rest-server/node_modules/rocketmq-client-nodejs/dist/client/RpcClient.js:54:20
at new Promise (<anonymous>)
at RpcClient.queryRoute (/usr/rest-server/node_modules/rocketmq-client-nodejs/dist/client/RpcClient.js:53:16)
at RpcClientManager.queryRoute (/usr/rest-server/node_modules/rocketmq-client-nodejs/dist/client/RpcClientManager.js:66:32)
at #fetchTopicRoute (/usr/rest-server/node_modules/rocketmq-client-nodejs/dist/client/BaseClient.js:178:54)
at SimpleConsumer.updateRoutes (/usr/rest-server/node_modules/rocketmq-client-nodejs/dist/client/BaseClient.js:163:40)
at #startup (/usr/rest-server/node_modules/rocketmq-client-nodejs/dist/client/BaseClient.js:92:20)
at SimpleConsumer.startup (/usr/rest-server/node_modules/rocketmq-client-nodejs/dist/client/BaseClient.js:80:32) {
code: 1,
details: 'Call cancelled',
metadata: Metadata { internalRepr: Map(0) {}, options: {} }
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] grpc-js Call cancelled [rocketmq-clients]
Posted by "JanYork (via GitHub)" <gi...@apache.org>.
JanYork commented on issue #653:
URL: https://github.com/apache/rocketmq-clients/issues/653#issuecomment-2088102412
I have this problem too? Is this a bug? How to solve?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] grpc-js Call cancelled [rocketmq-clients]
Posted by "eric-projects (via GitHub)" <gi...@apache.org>.
eric-projects commented on issue #653:
URL: https://github.com/apache/rocketmq-clients/issues/653#issuecomment-1863775831


--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@rocketmq.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org