You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "panshengjie (via GitHub)" <gi...@apache.org> on 2025/03/24 11:26:59 UTC

[I] [Bug] nodejs client crash when network unstable [rocketmq-clients]

panshengjie opened a new issue, #966:
URL: https://github.com/apache/rocketmq-clients/issues/966

   ### 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
   
   baseClient里startup里拉起 定时器里 的#doHeartbeat 和 #fetchTopicRoute 等async调用都没有进行catch,一旦MQ服务器更新时候就会导致client崩溃。
   
   ![Image](https://github.com/user-attachments/assets/cace5e2c-dd7c-45a2-b808-fa12c6b166ba)
   
   ### RocketMQ Version of the Client/Server
   
   nodejs client 1.0.0  
   
   ### Run or Compiler Version
   
   _No response_
   
   ### Describe the Bug
   
   无法捕捉的错误,导致应用崩溃
   
   ### Steps to Reproduce
   
   MQ server更新重启
   
   ### What Did You Expect to See?
   
   捕获错误 自动重试
   
   ### What Did You See Instead?
   
   应用崩溃
   
   ### 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] [Bug] nodejs client crash when network unstable [rocketmq-clients]

Posted by "panshengjie (via GitHub)" <gi...@apache.org>.
panshengjie commented on issue #966:
URL: https://github.com/apache/rocketmq-clients/issues/966#issuecomment-2750396926

   遇到过的一个报错是 grpc报错 DEADLINE_EXCEEDED: Deadline exceeded


-- 
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] [Bug] nodejs client crash when network unstable [rocketmq-clients]

Posted by "panshengjie (via GitHub)" <gi...@apache.org>.
panshengjie commented on issue #966:
URL: https://github.com/apache/rocketmq-clients/issues/966#issuecomment-2750429620

   ![Image](https://github.com/user-attachments/assets/d9d542ca-ec94-47ea-a921-938153f68e27) 这几个deadline按代码里是默认值给了3秒timeout。是可能抛异常出来的,因此最外面startup里必须要catch


-- 
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] [Bug] nodejs client crash when network unstable [rocketmq-clients]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #966:
URL: https://github.com/apache/rocketmq-clients/issues/966#issuecomment-2829121675

   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] [Bug] nodejs client crash when network unstable [rocketmq-clients]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #966:
URL: https://github.com/apache/rocketmq-clients/issues/966#issuecomment-2833727011

   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] [Bug] nodejs client crash when network unstable [rocketmq-clients]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #966: [Bug] nodejs client crash when network unstable
URL: https://github.com/apache/rocketmq-clients/issues/966


-- 
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