Hi, I know this issue has had discussion earlier but I think this is new angle.
I just updated my PUN from 1.6.5 to 1.6.6. After the update I'm having connection time of 5 minutes. Firstly it always tries to connect to wss://ns.exitgames.com:19093 and it stops at ConnectingToNameServer status for 5 minutes and after that program gets ExceptionOnConnection. After that it tries to connect wss://SLAMS034.exitgames.com:19090 and this time connection establishing time is under second.
This might be a firewall related issue, but then it is on my ISP side and I can't do much about it. It's very frustrating wait 5 minutes every time I want to test my game.
Is there a way to start the connection with the later address? Or is there a way to decrease this timeout time?
I'm using Unity 5.3.2f1 and my build target is WebGL.
The full error I get from first address connection:
I just updated my PUN from 1.6.5 to 1.6.6. After the update I'm having connection time of 5 minutes. Firstly it always tries to connect to wss://ns.exitgames.com:19093 and it stops at ConnectingToNameServer status for 5 minutes and after that program gets ExceptionOnConnection. After that it tries to connect wss://SLAMS034.exitgames.com:19090 and this time connection establishing time is under second.
This might be a firewall related issue, but then it is on my ISP side and I can't do much about it. It's very frustrating wait 5 minutes every time I want to test my game.
Is there a way to start the connection with the later address? Or is there a way to decrease this timeout time?
I'm using Unity 5.3.2f1 and my build target is WebGL.
The full error I get from first address connection:
-TkokExiting receive thread due to error: An exception has occurred while connecting. / WebSocketSharp.WebSocketException: An error has occurred during a TLS handshake. ---> Mono.Security.Protocol.Tls.TlsException: Couldn't complete EndRead
at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (IAsyncResult asyncResult) [0x00000] in :0
at System.Net.Security.SslStream.EndAuthenticateAsClient (IAsyncResult asyncResult) [0x00000] in :0
at System.Net.Security.SslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, SslProtocols sslProtocolType, Boolean checkCertificateRevocation) [0x00000] in :0
at WebSocketSharp.WebSocket.setClientStream () [0x00000] in :0
--- End of inner exception stack trace ---
at WebSocketSharp.WebSocket.setClientStream () [0x00000] in :0
at WebSocketSharp.WebSocket.doHandshake () [0x00000] in :0
at WebSocketSharp.WebSocket.connect () [0x00000] in :0 Server: wss://ns.exitgames.com:19093
UnityEngine.Debug:LogError(Object)
NetworkingPeer:DebugReturn(DebugLevel, String) (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/NetworkingPeer.cs:1102)
ExitGames.Client.Photon.c__Iterator3:MoveNext() (at Assets/Photon Unity Networking/Plugins/PhotonNetwork/SocketWebTcp.cs:174)