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
- Function running for more than 2 hours i...
This is my projectID: 669fe01b003800dd0503 Cloud functionID is 696ea05400147eb8eb3b I hope this doesn't count against my GB-hours?
- Session not found. Please run appwrite l...
I have encounter an issue with appwrite CLI They asking for a login session but in the doc, itβs mention that only setup client with endpoint / api key is enou...
- SELF HOSTING ISSUE, DATA NOT MIGRATING T...
Hey, devs, I recently tried to migrate my cloud instance to a self hosted version but my data is not transferred fully only the table structure is transferred ...