0

i have setup my chat application on https server but it's not working when i try it with https it's working fine for https i have get this error :

GET https://example.com:3000/socket.io/?EIO=3&transport=polling&t=1507097218133-25 net::ERR_INSECURE_RESPONSE socket.io.js:2919

aditi
  • 19
  • 7

2 Answers2

0

Perhaps this?

node.js, socket.io with SSL

You also want to make sure you prefix URLs with wss:\\

Samyok Nepal
  • 535
  • 3
  • 15
  • i think you not read properly my question i am not talking about localhost it's on live server – aditi Oct 05 '17 at 13:09
0

You need to add ssl certificate of your domain not self created because self created only works for localhost not for main site.

vikas vyas
  • 76
  • 1
  • 9