I want to connect photons with javaSctipt client,but " Failed to locate certificate "

Options
I setting the server and certificate reference ( https://doc.photonengine.com/en-us/onpremise/current/operations/websockets-ssl-setup),but server can`t running.




Comments

  • hmok
    Options
    Excuse my poor English,:)
  • hmok
    hmok
    edited August 2018
    Options
    Server can running,If setting the server to Secure = "false",but log show "Adding WebSocket TCP listener on: 0.0.0.0: 9090 with a listen backlog of: 150",It have not other ip address.So,I can`t connect to server with "ws://127.0.0.1:9090".
    i can connect to server with "ws://0.0.0.0:9090",but get a error:"Connection error: Event {isTrusted: true, type: "error", target: WebSocket, currentTarget: WebSocket, eventPhase: 2…}"

  • chvetsov
    Options
    hi, @hmok.
    it could be that you have used your local user storage. that is why the server cannot find your certificate

    best,
    ilya