Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_p2p client failing #315

Open
lolriven opened this issue Apr 5, 2024 · 0 comments
Open

test_p2p client failing #315

lolriven opened this issue Apr 5, 2024 · 0 comments

Comments

@lolriven
Copy link

lolriven commented Apr 5, 2024

I'm running on a MacOS M1 compiling for ARM64

I have the trivial_signaling_server running on 0.0.0.0:10000

The client is executing with the following arguments
./test_p2p --client --identity-local str:vel --identity-remote str:lev --signaling-server 0.0.0.0:10000

The test immediately fails with the following message.

0.007345 Initialized low level socket/threading support.
0.010410 Connecting to 'str:lev', virtual port 0, from local virtual port 0.
0.010421 Creating signaling session for peer 'str:lev'
0.013193 [#7097424 P2P str:lev vport 0] Relay candidates enabled by P2P_Transport_ICE_Enable, but P2P_TURN_ServerList is empty
0.019533 SteamNetworkingSockets lock held for 9.0ms. (Performance warning.) ConnectP2PCustomSignaling,Base::BInitConnection,GetIdentity,FinalizeLocalCrypto,CSteamNetworkConnectionP2P::CheckInitICE,CConnectionTransportP2PICE_Valve::Init
This is usually a symptom of a general performance problem such as thread starvation.
0.019549 Sending msg 'Greetings!'
0.019630 [#7097424 P2P str:lev vport 0] Entered connecting state
0.068053 src/steamnetworkingsockets/steamnetworkingsockets_thinker.cpp(199): Processed thinkers 10001 times -- probably one thinker keeps requesting an immediate wakeup call.
Assertion failed: (!"TEST FAILED"), function DebugOutput, file test_common.cpp, line 50.
zsh: abort ./test_p2p --client --identity-local str:vel --identity-remote str:lev

I have tried compiling both USE_STEAMWEBRTC=ON and OFF

Note:
I tested this on a Windows x64 machine and the client and server executed correctly.

@lolriven lolriven mentioned this issue Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant