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

support: option to disable webhook auth caching #10186

Open
meetzaveri opened this issue Apr 3, 2024 · 1 comment
Open

support: option to disable webhook auth caching #10186

meetzaveri opened this issue Apr 3, 2024 · 1 comment
Labels
k/enhancement New feature or improve an existing feature

Comments

@meetzaveri
Copy link
Member

Is your proposal related to a problem?

Due to webhook auth caching by default enabled , in Hasura cloud enterprise edition it checks the Redis instance to see if there is any cache present.

In case if the webhook auth caching is not in effect, i.e. the conditions for cache to be returned is not met ( not returning expected headers for caching), this would mean it would be still hitting the redis instance.

As a result you would see errors like below in your logs

{"detail":{"code":"unexpected","error":"ConnectionLost","path":"$"},"level":"error","timestamp":"2024-03-11T11:12:34.881+0000","type":"redis-error"}

Describe the solution you'd like

Give an option to disable webhook auth caching, so that Hasura does not reach redis instance everytime there is webhook authentication flow triggered. This can be achievable via feature flag behind env var or console UI.

@meetzaveri meetzaveri added the k/enhancement New feature or improve an existing feature label Apr 3, 2024
@meetzaveri
Copy link
Member Author

Update:

We will first fix the underlying issue as reported in this GH issue - #10197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
k/enhancement New feature or improve an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant