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
- Function domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Paused project can't activate
I have failed to reactivate one my projects which had been paused
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...