High Amount of Requests. While its mainly for development so it shouldn't be that high.
(or my code is doodoo and secretly ddossing myself <:Kek:744145930357571634> )
What's your code?
welll thats way way way too big to post here but I fetch each time when someone loads an page in server side their account
Still need to integrate the new ssr integration
But that cant be it as I am not requesting it milions of times <:Kek:744145930357571634>
Well it is possible thats why I showed the one from proxmox
Do you a custom domain attached to any of your projects & is that domain proxied via Cloudflare?
Anyways as said, that should not make the request count higher
possibly, but i tried this and did see a ton of 404s, same as the /_app
. Thought I'd share.
And is that traffic being reflected in the console?
i didn't see as such yet.
I would turn on traefik access logs and use those to see what endpoints are being hit. Ideally, you would ship the logs to some solution that allows you to analyze the data
Cc @Hexi
Yup i do
I kinda had a similar issue, yday and today as well. While i was running on 1.4.13. Both the times, i upgraded to 1.5.4, migrated and restarted the appwrite stack, the phamtom requests stopped coming in. No idea if it was due to CF but only occurred when I added a domain to project that was proxied through CF.
Strange will need to look at the nginx logs probably
It suddenly stopped today.
But what about logs?
The computer resources were being crowded too, or only there?
Someone on the internet was sending lots of requests for no reason
just added an password on it on the domain
But a single user?
π
1M requests by single user β οΈ how
You can also put rate limit in your nginx
conf file
For 10 requests per second per IP π
limit_req_zone $binary_remote_addr zone=appwrite:10m rate=10r/s; π
server {
...
location / {
limit_req zone=appwrite burst=5; π
proxy_pass http://localhost;
...
}
}
More then 10 requests per second from a given IP will be ignored with error.
Recommended threads
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...