Rank 3: Container
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
)
Votes
1
Replies
24
Participants
Unknown
Messages
25
Rank 3: Container
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
)
What's your code?
Rank 3: Container
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
Rank 3: Container
Still need to integrate the new ssr integration
Rank 3: Container
But that cant be it as I am not requesting it milions of times 
Rank 3: Container
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
Rank 3: Container
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.
Rank 3: Container
Strange will need to look at the nginx logs probably
Rank 3: Container
It suddenly stopped today.
But what about logs?
The computer resources were being crowded too, or only there?
Rank 3: Container
Someone on the internet was sending lots of requests for no reason
Rank 3: Container
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.