AidsMcGhee
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. AidsMcGhee
It's faster to stop and start the function than it is to hot-reload
Recommended threads
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- delete document problems
i don't know what's going on but i get an attribute "tournamentid" not found in the collection when i try to delet the document... but this is just the document...
- Update User Error
```ts const { users, databases } = await createAdminClient(); const session = await getLoggedInUser(); const user = await users.get(session.$id); if (!use...