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

Issues with steam when we recreate the ClientConnection multiple times #243

Open
cBournhonesque opened this issue Apr 15, 2024 · 0 comments
Labels
A-Netcode C-Bug Something isn't working

Comments

@cBournhonesque
Copy link
Owner

cBournhonesque commented Apr 15, 2024

Issues with NetworkingConfigEntry

There are several issues with NetworkingConfigEntry:

Issues when recreating the ClientConnection

  • I tried dropping the existing ClientConnection (which calls steam api's shutdown) before re-creating the new one. Looks like this doesn't work because steams "shutdown" api pretty much does nothing; steam api is running until the program is shutdown: OnDestroy SteamAPI.Shutdown() is NOT working rlabrecque/Steamworks.NET#187 (comment))
  • I tried initializing the steamworks clients only once via OnceCell, the client is able to connect, but is then disconnected immediately with reason: RemoteBadCert
    • I tried adding a background system that just runs steam callbacks at all times even if we're not connected, but that didn't help either
    • in the file 'cef_log.previous, i See logs saying Error parsing cert retrieved from AIA (as DER). Couldn't read tbsCertificate as SEQUENCE. Failed parsing Certificate`
    • If I connect immediately when starting the app, it works (for some unknown reason)
    • If I don't connect immediately; on the first connection attempt I get disconnected with an error RemoteBadCert, but future connection attempts work!

TODO:

@cBournhonesque cBournhonesque added A-Netcode C-Bug Something isn't working labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Netcode C-Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant