Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deletion of conflicting rule doesn't solve the route conflict #73

Closed
oscartrullols opened this issue Jun 14, 2018 · 1 comment · Fixed by #75
Closed

Deletion of conflicting rule doesn't solve the route conflict #73

oscartrullols opened this issue Jun 14, 2018 · 1 comment · Fixed by #75
Assignees
Labels
bug Something is not working.

Comments

@oscartrullols
Copy link

I have created some oathkeeper rules, adding them as it's done in "ory/examples".

by mistake, two of them were applying to the same route, so obviously, the error when trying to access the route was:
{"error":{"code":500,"status":"Internal Server Error","message":"Expected exactly one rule but found multiple rules"}}

I delete one of them (and verify it has been deleted with GET /rules), but the error doesn't go away, even after waiting for more than 30s

see gist for details and steps to reproduce the problem

@aeneasr
Copy link
Member

aeneasr commented Jun 15, 2018

I can reproduce this.

@aeneasr aeneasr added the bug Something is not working. label Jun 15, 2018
@aeneasr aeneasr self-assigned this Jun 15, 2018
aeneasr pushed a commit that referenced this issue Jun 15, 2018
This patch resolves an issue where updates would not properly propagate. This caused deleted rules to still be available in the proxy.

Closes #73
aeneasr pushed a commit that referenced this issue Jun 15, 2018
This patch resolves an issue where updates would not properly propagate. This caused deleted rules to still be available in the proxy.

Closes #73
NickUfer pushed a commit to NickUfer/oathkeeper that referenced this issue Nov 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants