Errors Using Custom Domain on 1.4.0
Sounds good :) Thanks for being so responsive
actually wait...can you share the docker logs for one of the failed documents api calls?
Here are the logs right after going to the site that throws the errors
what site?
can you maybe try to trigger 1 request only and get the log for that 1 request?
These are the logs if I go to this endpoint -> https://api.sprobble.xyz/v1/databases/645c032960cb9f95212b/collections/total_stats/documents/artist
please run docker compose logs -f appwrite
and then press enter a bunch of times to create some space
let me know once you've done that
done
k now please share screenshot of the logs
again?
I am seeing the same issue:
2023-08-30T21:37:14.377301536Z [Error] Type: Error
2023-08-30T21:37:14.377306618Z [Error] Message: Call to a member function label() on null
2023-08-30T21:37:14.377310760Z [Error] File: /usr/src/code/app/controllers/general.php
2023-08-30T21:37:14.377315005Z [Error] Line: 50```
ok can you try this?
docker compose exec appwrite sed -i 's/getRoute()->label/getRoute()?->label/g' app/controllers/general.php
docker compose restart appwrite
that fixed it for me
what cases were you seeing the error?
I will in an hour, thanks!
Anything through custom domain, pulling docs, auth, even pulling it up in a web browser
and it works now for you?
Still doesn't work just going to the custom domain in browser, but it works in my app
ya i think this will be the expected behavior
This fixed my issue
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Get team fail in appwrite function
I try to get team of a user inside appwrite function, but i get this error: `AppwriteException: User (role: guests) missing scope (teams.read)` If i try on cl...