'Ssl Protocol error after deploying netty socket application frontend over heroku

I have built one socket application using netty socket and timme.js (for frontend). My backend is deployed over AWS's EC2 and the frontend is deployed over Heroku.

While running my project's frontend locally with HTTP socket gets connected with the server. But after deploying over Heroku I tried with https but I am getting net::ERR_SSL_PROTOCOL_ERROR error.

My backend is hosted with SSL, I think Heroku also provides SSL so what is causing this issue. How can I resolve this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source