I made a simple express server in Node.Js to reset a password from the link in the email, I first tried hosting the server on my machine but constantly got this error: Uncaught AppwriteException Error: connect ECONNREFUSED 127.0.0.1:80
Then i trued deploying it on render to see if that makes a difference, I now get a different error (second image).
I put the api key in the server as well as correct domain and project id of my self hosted server. I also use cors with express.js on the node.js server. I registered the app in the console with the domain of the server as well as with * .
3rd image is my endpoint with the appwrite function to recover the password. I am using node-appwrite 11.1.0 on node v16.11.0
This all seems to point to an incorrect endpoint
Where is your Appwrite server hosted?
Maybe you can log the endpoint to make sure the value is right. Then, you'd have to make sure the DNS and networking is working
Recommended threads
- Appwrite Sites: ERR_TOO_MANY_REDIRECTS o...
So, my domain was working perfectly fine with Vercel. I was using cloudflare CDN (still am) but CNAME was DNS-only. I switched over to appwrite, CNAME is still ...
- How to disable appwrite/embedding from s...
Hi everyone! I'm currently running a self-hosted instance of Appwrite. For my current use case, I don't need the AI/embedding features, and I noticed the `app...
- Invalid type for attribute 'email': emai...
I'm using the node-appwrite SDK to create a table, the column payload looks like this: ```json [{"key":"email","type":"email","required":true, "size": 512}] ``...