The ngrok setup is complex and disturbing arrangement, what you should do is to deploy your nextjs app to vercel or any server of your choice, them make post/get request using the online URL, if it works then update VAPI with that url, it should work