apache / apache/shenyu

[Question] can not match rule data dubbo / can not match rule data divide / can not match rule data :xxxRateLimiter(customRateLimiter)

Open
#5,175 9 comments 0 reactions 0 assignees View on GitHub
type: question
Dominant language
Java
Stars
8.8k
Forks
3.1k
Avg merge
7d 1h
Merged PRs (30d)
85

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the failed gateway logs and the routing-rule synchronization behavior in ShenYu 2.4.2, then compare those events with the later successful matches for the same URI. Trace the matching path for the reported dubbo, divide, and customRateLimiter rules; done requires identifying a reproducible cause or a confirmed version-specific fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.