Eosu 404 auth token reauth p2p disconnects v3#1279
Open
JessTello wants to merge 3 commits intorelease-6.1.0from
Open
Eosu 404 auth token reauth p2p disconnects v3#1279JessTello wants to merge 3 commits intorelease-6.1.0from
JessTello wants to merge 3 commits intorelease-6.1.0from
Conversation
Detect EpicIdToken credential type in the expiration callback and call StartConnectLoginWithEpicAccount instead, which fetches a fresh JWT via CopyIdToken from the already-renewed Auth interface token.
…ortManager Add Subscribe/Unsubscribe methods for AddNotifyPeerConnectionEstablished and AddNotifyPeerConnectionInterrupted notifications following the existing pattern. Register them in Initialize() and clean them up in Shutdown(). Handlers log connection type (new vs reconnect), network type (direct vs relay), and socket name on establishment, and warn on interruption so interrupted sessions can be distinguished from full connection closures.
- Save AddNotifyPeerConnectionInterrupted and AddNotifyPeerConnectionEstablished notifications handles and clean them up in OnLoggedOut. - Register AddNotifyPeerConnectionInterrupted in Initialize alongside the existing established listener. Add type and network info to the OnPeerConnectionEstablished log so direct vs relay connections are visible without digging into EOS SDK logs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix auth token re-auth and add P2P connection state callbacks
Fix Connect re-authentication using a stale JWT when the EOS Connect token expires mid-session. The expiration callback was reusing the JWT string captured at login time, which is also expired by the time the callback fires. Now fetches a fresh JWT via CopyIdToken for EpicIdToken credentials.
Add AddNotifyPeerConnectionEstablished and AddNotifyPeerConnectionInterrupted callbacks to EOSTransportManager and EOSPeer2PeerManager. Both managers were missing the interrupted callback entirely, and EOSPeer2PeerManager was discarding the established callback handle (preventing cleanup on logout). Connection logs now include network type (direct vs relay) to aid diagnosis of P2P connectivity issues between specific player pairs.