'WebSocket connection to 'wss://bazaretala.com:7777/' failed but connecting to ws protocol works fine

how can i connect to WSS protocol?

when i trying to connect to WSS protocol on HTTPS i recieve this error but when i connect to WS protocol on HTTP it works perfectly

WebSocket connection to 'wss://bazaretala.com:7777/' failed

Connection closed! (1006)

when i try to open https://bazaretala.com:7777/ i get following error in browser

bazaretala.com took too long to respond.

my domain has valid SSL certificate

my firewall is disabled

i tried proxying WSS to WS but i don't know why ProxyPass not working in my server, it's wierd...

what i need to connect to WSS without reverse proxying to WS?



Sources

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

Source: Stack Overflow

Solution Source