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
- Cant use dotnet-8.0 and Deno 2.0 Runtime...
Hi, i cant get up and running any .net and deno 2.0 runtimes. Steps i tried: 1. Added in .env: _APP_FUNCTIONS_RUNTIMES=deno-2.0,php-8.3,python-3.9,dotnet-8.0 2....
- can’t log in after launching to the inte...
I built a database for a client, and though i’m a novice, the process wasn’t so bad. It worked great with localhost. When i put it on the web, i changed the A...
- `appwrite push functions` doesn't commit...
When using the cli, appwrite push deploys the function but somehow doesn't commit it? If it does commit, where can I see my commits (they are not visible in my ...