Able to send messages A->B, but unable to send B->A with ISteamNetworkingMessages
I've spotted strange thing with ISteamNetworkingMessages. I have 2 computers. When computer A started connection by sending messages to computer B, all fine, connection established via web rtc (ICE) and data transferred A<->B bidirectionally. But when computer B started connection by sending messages to A, connection is not established. I have web rtc & GameNetworkingSockets logs. Where i need to look to understand what's going on?
Sorry for the delayed reply. Just getting all caught back up after holidays.
It might be easiest to just share the logs you have.
Sorry for the delayed reply. Just getting all caught back up after holidays.
Merry Christmas and happy new year!)
It might be easiest to just share the logs you have.
Ok, here they are) gns_p2p_msgs_connect.zip
Hello, @fletcherdvalve! Any news on this?
Looking at the logs I think the rendezvous messages might not always be getting through, and this is causing NAT traversal to fail?
You might try adding a line like this:
SteamNetworkingUtils()->SetGlobalConfigValueInt32( k_ESteamNetworkingConfig_LogLevel_P2PRendezvous, k_ESteamNetworkingSocketsDebugOutputType_Debug );
And making sure that when one side sends a message, the other side always receives the message.
@fletcherdvalve Hello and thanks for support!
I've just checked rendezvous messages - all fine with them. There are new logs with P2PRendezvous Debug log level. And I've also added rendezvous messages size & CRC info.
Seems connection is timed out?
debug: "Timed out attempting to negotiate rendezvous"
Is there are 10 seconds timeout?