Gateway v4 is not sending data to online server

I am using the Bluetooth Gateway v4.
When I am testing in the local environment i.e. My laptop is the server and both laptop and gateway are connected to the same Network, everything is working okay and I receive the data in my laptop.
However, if I change the Host to a online server like, the gateway stops transmitting data.
The server is running and I have checked my endpoints with an API tester.
The decoding is running ok, I have tested it online by sending RAW data through PostMan.

This issue is related to server not accepting the msgpack file sent by gateway. In my local server of VPS, this is not an issue, but when using shared hosting, error 406 is generated. Any pointers to solve this would be appreciated!

does your server support HTTPS? Gateway v4 supports http only