3.3.3 not working with rasa webchat

I have two different environments, one is my developing env and the server env which will be serving the bot.

Thing is, i cant get the server to work with socket-io using NGROK link when i set the localhost it works, but i cant access the webchat through ngrok link.

It works fine in Twilio

It works fine in my developing environment.

Python 3.9.13

rasa==3.3.3 rasa-sdk==3.3.0 python-engineio==4.3.4 python-socketio==5.7.2 sanic==21.12.2 Sanic-Cors==2.0.1 sanic-jwt==1.8.0 sanic-routing==0.7.2