-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
🚀 Feature: See incoming requests' details #6062
Comments
Interesting suggestion! Do you see more use cases where this would be helpful for you? |
@eldadfux In addition to my original pitch, this feature would be very helpful for debugging code by being able to view the request's body and status to see if your own requests are being done correctly. If you were to add response details as well, that would be even more useful because it would let you see if your functions are returning the correct responses. |
@JorensM for now, you can enable HTTP Access Logs in Traefik. This will give you logs like:
To do so, I highly recommend minimizing changes to Appwrite’s In your version: '3'
services:
traefik:
command:
- --accessLog=true
- --providers.file.directory=/storage/config
- --providers.file.watch=true
- --providers.docker=true
- --providers.docker.exposedByDefault=false
- --providers.docker.constraints=Label(`traefik.constraint-label-stack`,`appwrite`)
- --entrypoints.appwrite_web.address=:80
- --entrypoints.appwrite_websecure.address=:443 Then run |
@stnguyen90 thanks, but I'm using Appwrite Cloud |
I honestly can't believe there is no proper logs I can quickly access, just setup a project locally and the request jumped to 100 then 400 requests no idea why, spent 1h searching the web for the log capabilities of this platform. there is none !! You can get hacked, abused and you have no idea from where the traffic is coming and what is being requested. still have no idea from where the requests are coming, I will continue with the tutorial I am following but this is a major turn off not being able to view the logs |
@JorensM did you find any solution to this ? |
@RRPRIME Nope. For Appwrite Cloud there doesn't seem to be any HTTP logging capabilities. As for self hosted, you can check out this comment |
@JorensM, yeah I applied that ...but is somewhat lacking, I guess with self-hosted you can do a lot about it, I was looking for a cloud deploy at the end...guess I have to either wait. self-host or switch to another platform. |
@RRPRIME @eldadfux I would love to work on this issue myself, but I'd have to wait for Cloud to be updated to the new API EDIT: It appears that Cloud has already been updated, so I'll have a try at this EDIT 2: Turns out that you need Docker for Appwrite. Unfortunately I can't work with Docker as it fries my computer. So I won't be taking this, sorry. |
🔖 Feature description
My feature request is to be able to see details of incoming requests. Currently there is only vague data available to see - total amount of requests and their time. But I would like to see more details about the requests, particularly origin.
🎤 Pitch
Today I noticed an abnormally large amount of requests had come into my Appwrite app (that hasn't even been published yet and only two people have access to). I wanted to see the details of those requests, but it seems that you can't view detailed information about the incoming requests.
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: