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
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- router_deployment_not_found
I updated my function a few times and now i am getting the error: router_deployment_not_found I even reverted back to my original code but i am still getting th...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...