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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...