alibaba / alibaba/Sentinel

自定义origin后,授权规则黑名单还是不生效

Open
#2,788 5 comments 0 reactions 0 assignees View on GitHub
kind/question
Dominant language
Java
Stars
23.1k
Forks
8.1k
PR merge metrics
No merged PRs in 30d

Description

比如我的接口是这样的:
![image](https://user-images.githubusercontent.com/81564338/178689103-1c67e8a4-dd0e-47ae-b6ae-ac704d01eb5f.png)

然后我的自定义origin是这样的:
![image](https://user-images.githubusercontent.com/81564338/178689362-615d3165-e210-4c5c-980e-c79eaa8da4c5.png)

然后sentinel控制台配置:
![image](https://user-images.githubusercontent.com/81564338/178689159-13f774db-9f4c-4aff-91e7-1d70cee5b1a0.png)

然后还是成功返回了:
![image](https://user-images.githubusercontent.com/81564338/178689457-bc2be15d-8b5e-4b17-ab28-035cc9f15d05.png)

求解,有没有遇到过的?

Contributor guide

Open the contributing guide

Research direction

The report provides an interface, a custom origin, and a Sentinel console blacklist configuration through screenshots, but names no files or tests. Start by reproducing the successful response with those settings; done means the authorization blacklist blocks the request or the discrepancy is documented with a concrete diagnosis.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.