Closed nlebedenco closed 4 years ago
Hello @nlebedenco ,
Can you elaborate more about the "keep connecting indefinitely"?
Are you seeing in the logs (i) <TARGET_IP> retrying connect ...
or (ii) Sent PING N to Player K at <TARGET_IP_PORT>
?
The BoltConfig.connectionRequestAttempts
configuration is used to limit the number of connection tries when using a Server IP to join a game. When joining a Photon Session, the NAT punch procedure will ensure both ends of the connection can exchange data before trying to connect directly, where the connectionRequestAttempts
is used.
Setting BoltConfig.connectionRequestAttempts ( "Connect Attempts" in Bolt Settings ) has no effect and the client keeps trying to connect indefinitely.
Expected Behaviour: client should stop trying to connect after the configured number of attempts gets exceeded and invoke ConnectFailed.