Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

WebGL Socket SSL Issue, with Facebook Canvas

Discussion in 'Multiplayer' started by Illusive_Justin, Jul 28, 2016.

  1. Illusive_Justin

    Illusive_Justin

    Joined:
    Jul 28, 2016
    Posts:
    1
    I'm experiencing an issue where I receive an error:

    Uncaught SecurityError: Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS


    I can't find a set of parameters which allows me to tell the NetworkManager to connect over WSS.

    This post from April implies that it isn't a feature implemented by the network team.
    https://community.unity.com/t5/Mult...-in-WebGL-ws-does-not-work-under/td-p/2516621

    Is there a way to resolve this without using a proxy to bypass secure connections entirely?
     
  2. Gameccino

    Gameccino

    Joined:
    Aug 1, 2012
    Posts:
    40
    did you found any solution/workaround?
     
  3. ShantuApps

    ShantuApps

    Joined:
    Apr 25, 2016
    Posts:
    14
    Hi, Do you have any solution for that ? I am having the same problem :/(