Back

rate limits

  • 0
  • Auth
zrg0
20 May, 2024, 16:28

I need to understand rate limits. is there a limit for 10 login on the same IP within one hour?

TL;DR
Developers are facing rate limit issues with user registration and login endpoints, causing disruptions during app usage. They suggest implementing options to whitelist IPs automatically after a certain number of successful logins. The issue is particularly problematic in environments like schools where multiple users might share the same IP address. To understand and potentially address the rate limit concerns, developers are advised to check the API reference for applicable keys.
Evdog
20 May, 2024, 16:33

Check out the API reference, if there's a rate limit you will see which keys apply to it: https://appwrite.io/docs/references/cloud/client-web/account

zrg0
20 May, 2024, 16:37

So 50 people can max log in from one IP? My App has usecase from schools, and this is very likely to happen. they share IP. Not sure what this is trying to do. Whoever will try to attack/abuse have long ranges of IPs.

zrg0
20 May, 2024, 16:38

then we need an option to whitelist IPs. ideally this is automatic after 25 successful logins from one IP.

zrg0
20 May, 2024, 16:40

And this is 100% useless during development. Now I'm building the logic for registering users. handling all sorts of error. I need to try more than 50 times during one hour... Now basically i need to stop working..

Evdog
20 May, 2024, 16:52

Depends on the endpoint, each one is different. Are you self hosting or using cloud?

zrg0
20 May, 2024, 16:52

cloud

zrg0
20 May, 2024, 16:53

user.register and user.login - are two endpoints which can affect this. as the app is being used, suddenly a whole class will login, teacher show instructions on the whiteboard, some struggle to create users so 2-3 calls pr user. all same IP. and then they are blocked, teachers plan is broken, they never use the app again.

zrg0
20 May, 2024, 16:54

this is critical to fix for me - spent a few days now rewriting from supabase.... and this is a blocker...

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more