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

Request timeout when updating permissions #6848

Open
0x62 opened this issue Apr 29, 2021 · 2 comments
Open

Request timeout when updating permissions #6848

0x62 opened this issue Apr 29, 2021 · 2 comments
Labels
c/server Related to server

Comments

@0x62
Copy link

0x62 commented Apr 29, 2021

I've been using Hasura in production for a year or so now, and have started to hit limitations on the console. Updating permissions for a single role takes 20+ seconds for the request to complete, and almost always showing the below error:

Screenshot 2021-04-29 at 14 33 24

Sometimes permissions update despite the error, other times it can take 5+ attempts for it to save successfully. As I'm writing this, I've been trying to add select permissions for two columns and on the 4th attempt. This issue has got progressively worse over the last couple months.

Below information might be useful:

  • Version: v2-alpha7
  • Tables: 84
  • Rows: 84,614
  • Roles: 5 (excluding admin)
  • Server: Heroku 2X Production Dyno (1GB RAM), Heroku Postgres Standard 0

You can see requests timing out in the dashboard whenever I try to update permissions, due to Heroku killing the app for memory usage.

Screenshot 2021-04-29 at 14 41 11
Screenshot 2021-04-29 at 14 41 32

@martin-hasura martin-hasura added the c/server Related to server label May 4, 2021
@galipmedia
Copy link

I am having the same issue on AWS ECS container. Everytime I change permissions since 2.7 it crashes the whole server with an out of memory warning.

@galipmedia
Copy link

It was running smoothly for over a year before the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c/server Related to server
Projects
None yet
Development

No branches or pull requests

3 participants