unity photon webgl error
I set up my own server address and port in PhotonServerSettings, running in the PC mode is normal, but switching to the webGL mode is abnormal. My address is a IP.
Abnormal records: UriFormatException: URI scheme must start with a letter and must consist must, start, '+', '-' '' '.
Abnormal records: UriFormatException: URI scheme must start with a letter and must consist must, start, '+', '-' '' '.
0
Comments
-
Hi @qiaonifengxue,
Thank you for choosing Photon!
You need to use WebSocketSecure protocol and not WebSocket.
Also, you need a certificate with a Fully Qualified Domain Name and not an IP address.
Here is our guide for a WSS setup using a self-signed certificate.0 -
Hi!Thank for you answer!But there is still a problem,I have already obtained the SSL certificate of the server provider, and have installed IIS and SSL according to the document. Now photon service can not start.Give me a mail address. I'll send you the installation information on the server. Please help me. Thank you!
0 -
Hi @qiaonifengxue,
Send config AND log files to
developer@photonengine.com
with link to this discussion.0