Rank 3: Container
The local IP address.. I checked that the ip added as endpoint works when accessing appwrite instance from a browser
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 3: Container
The local IP address.. I checked that the ip added as endpoint works when accessing appwrite instance from a browser
Rank 3: Container
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?
Rank 3: Container
Let me test and confirm in 10 minutes
Rank 3: Container
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
Rank 3: Container
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?
Rank 3: Container
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
Rank 3: Container
I did and will but due to it not working I really stripped everything fr the function
Rank 3: Container
Nope .. Doesn't work even with /v1 added
Rank 3: Container
You're missing https://
Rank 3: Container
Ah ok wait
Rank 3: Container
Ok now I am embarresed .. That indeed worked 🫣🫣
Rank 3: Container
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
Rank 3: Container
It must be https, or can we use http?
I highly recommend always using https in case of redirect issues
Rank 3: Container
Time to change all my functions envs! 😅