The local IP address.. I checked that the ip added as endpoint works when accessing appwrite instance from a browser
But just the IP address and not /v1 unless that's needed ?
LAN IP?
You need the /v1. It should be https://[LAN IP]/v1. Make sure to call client.setSelfSigned() too
Do you have an Ubuntu server?
Let me test and confirm in 10 minutes
I can provision one in DO in 5 mins .. Why do you ask ?
No I'm trying to find out more information about your dev server
Oh na just a Dev windows desktop with docker desktop running appwrite .. Very basic
And you're using your LAN IP and not some private docker IP right?
LAN IP indeed.. But if /v1 is required then thats the first issue .. I'll share an update in 5
Btw, I'd use the user id as the document Id if this is supposed to be a collection of users
And some error handling in here would be good
I did and will but due to it not working I really stripped everything fr the function
Nope .. Doesn't work even with /v1 added
You're missing https://
Ah ok wait
Ok now I am embarresed .. That indeed worked 🫣🫣
Thanks so much and apologies for being a dummy
No worries. I'm glad it's resolved
[SOLVED] Updating Users Collection When Anon Session is Created
It must be https, or can we use http?
I highly recommend always using https in case of redirect issues
Time to change all my functions envs! 😅
Recommended threads
- Setup Permissions to only allow resource...
I would like to know how you do this in Appwrite Databases. Any ideas?
- Error: Timed out waiting for runtime
I am trying to call a function on appwrite cloud (python 3.9), but I keep getting the above error (Timed out waiting for runtime) saying it timed out after 30 s...
- Random function timeouts
Sometimes my function runs without issue and I can see my logs in the Logs tab on cloud.appwrite.io. Other times, the function fails with a 500 status code, the...