
Changed ENV ip address from 10.77 to 10.22
TypeScript
ℹ Info: Hot-swapping function.. Files with change are .env
Preparing for start ...
✓ Success: Visit http://localhost:3000/ to execute your function.
Starting ...
HTTP server successfully started!
Native logs detected. Use context.log() or context.error() for better experience.
ConnectionError: Failed to connect to 192.168.10.77:1433 in 15000ms
Did not reload env
TL;DR
Problem: NodeJS function is not reloading environment variables after a hot swap.
Solution: The developers changed the IP address in the environment variables from 10.77 to 10.22, but the hot swap did not reflect this change. Restarting the function manually is faster than trying to hot-reload.
It's faster to stop and start the function than it is to hot-reload
Recommended threads
- Subject: Persistent 403 Forbidden Error ...
Problem Description: I am developing a web application where users can upload and then view images. While file uploads are working correctly (after resolving in...
- Functions fail to deploy after switching...
Hi <@1087889306208718959> , after switching my self-hosted Appwrite instance to use AWS S3 as the storage backend, my Cloud Functions stopped working. I’m runni...
- Error setting postman body
Good evening, anyone has an idea on how to pass body to appwrite function using postman? this is how I've passed it : { "providerName": "adamu" } and I ke...
