WebSocket connection failed

Hi,
I've successfully written a multiplayer game using photon that runs at http://localhost:8080/. The intended platform is facebook instant games. Upon upload, the build no longer works due to Websocket issues.
Upon attempting to connect, I receive the following error:

Photon-Javascript_SDK.js:442 WebSocket connection to 'wss://ns.exitgames.com:..libversion=4.1.0.0' failed: Error in connection establishment: net::ERR_CONNECTION_RESET

Photon-Javascript_SDK.js:192 PhotonApp: NameServer: PhotonPeer[_onError] - Connection error: Event {isTrusted: true, type: "error", target: WebSocket, currentTarget: WebSocket, eventPhase: 2, …}

How can I get this working in a secure connection?

Comments

  • I guess I'll answer this myself. In cloud-app-info.js edit var AppInfo = {
    Wss: true,
    .
    .
    .

    Simple if you know to do it.
Sign In or Register to comment.