[Question] can not match rule data dubbo / can not match rule data divide / can not match rule data :xxxRateLimiter(customRateLimiter)
Question
When using the Shenyu gateway in the production environment, I encountered the following error log messages. The frequency of occurrence is not high; it occurred once last week and the week before. This week, it hasn't occurred. The duration is also very short, only 50 milliseconds, and it happened only a few times. The gateway receives millions of requests per day, but this issue still troubles me.
"can not match rule data dubbo" "can not match rule data divide" "can not match rule data: xxxRateLimiter (customRateLimiter)" The routing matching rule is as follows: URI: /xxx/v1/xxxService/methdName. I can confirm that this rule exists because when I checked the logs for subsequent times, I saw the same routing rule and it succeeded.
Speculation: Is there a possibility of data loss during the synchronization of routing rules? Would upgrading to a newer version potentially solve this problem? I noticed that version 2.6.0 has been released, but I have made significant modifications to the current version I'm using (2.4.2). So, I'm wondering if it's possible to resolve this issue with your assistance on the current version.
I hope to receive your help!
- Which synchronization do you use?
- Do you change the rule when requests come in?
- use websocket;
- When the request comes in, I can confirm that the rules are not being modified because the incidents occurred during the early morning hours when it's not working time, and no one would be changing the gateway rules.
- use websocket;
- When the request comes in, I can confirm that the rules are not being modified because the incidents occurred during the early morning hours when it's not working time, and no one would be changing the gateway rules.
how many gateway services? just a node occur the question?
- use websocket;
- When the request comes in, I can confirm that the rules are not being modified because the incidents occurred during the early morning hours when it's not working time, and no one would be changing the gateway rules.
how many gateway services? just a node occur the question?
thanks for your feedback, the log has an error of rule not found ?
please check if there are keywords of unSubscribe rule data near the log rule not found
- use websocket;
- When the request comes in, I can confirm that the rules are not being modified because the incidents occurred during the early morning hours when it's not working time, and no one would be changing the gateway rules.
how many gateway services? just a node occur the question?
I have 2 gateWay services,Based on the information displayed in the error log, both machines had this problem
- use websocket;
- When the request comes in, I can confirm that the rules are not being modified because the incidents occurred during the early morning hours when it's not working time, and no one would be changing the gateway rules.
how many gateway services? just a node occur the question?
thanks for your feedback, the log has an error of
rule not found?
I have used the zgrep command to search for the 'rule not found' keyword for the time period in which the error log occurred, but it is not found; Error log s only show 'can not match rule data:xxxx'
please check if there are keywords of
unSubscribe rule datanear the logrule not found
I use zgrep command to serach also ,but can not found 'unSubscribe ' keywords;
but this question appeared twice, on September 3rd and September 10th, and has recently stopped appearing.