my DefaultEngine.ini file is :`[/Script/OnlineSubsystemEOS.EOSSettings]
CacheDir=CacheDir
DefaultArtifactName=Eos Session Demo
TickBudgetInMilliseconds=0
bEnableOverlay=True
bEnableSocialOverlay=True
bEnableEditorOverlay=False
bShouldEnforceBeingLaunchedByEGS=False
TitleStorageReadChunkLength=0
+Artifacts=(ArtifactName=“Eos Session Demo”,)
bUseEAS=False
bUseEOSConnect=False
bMirrorStatsToEOS=True
bMirrorAchievementsToEOS=True
bUseEOSSessions=True
bMirrorPresenceToEAS=True
[OnlineSubsystemEOS]
bEnabled=true
[OnlineSubsystem]
DefaultPlatformService=EOS
[/Script/Engine.GameEngine]
+NetDriverDefinitions=(DefName=“GameNetDriver”,DriverClassName=“OnlineSubsystemEOS.NetDriverEOS”,DriverClassNameFallback=“OnlineSubsystemUtils.IpNetDriver”)
[/Script/OnlineSubsystemEOS.NetDriverEOS]
bIsUsingP2PSockets=true
`
create session parameter is:
const bool bIsLANMatch = false, | ||
---|---|---|
const int32 NumPublicConnections = 3, | ||
const bool bAllowJoinInProgress = true, | ||
const bool bAllowJoinViaPresence = true, | ||
const bool bShouldAdvertise = true, | ||
const bool bUsesPresence = false, | ||
const bool bUseLobbiesIfAvailable = false |
the last error log is :
[2024.04.02-16.59.52:617][505]LogEOSSDK: LogEOSAuth: LaunchAccountPortalWithPlatformBrowser: Launching with platform browser: <Redacted>
[2024.04.02-16.59.52:620][505]LogEOSSDK: LogEOSAuth: LaunchAccountPortalWithPlatformBrowser: Successfully launched with platform browser
[2024.04.02-16.59.53:031][553]LogEOSSDK: Warning: LogEOS: Error response received from backend. ServiceName=[OAuth], OperationName=[TokenGrantv2], Url=[<Redacted>], HttpStatus=[400], ErrorCode=[errors.com.epicgames.account.oauth.authorization_pending], NumericErrorCode=[1012], ErrorMessage=[The authorization server request is still pending as the end user has yet to visit and enter the verification code.], CorrId=[EOS-jugygkEs5EqM2O3RFRzX5A-5OYTk-F4lE6CGw18OdGPLg]
[2024.04.02-17.00.03:452][600]LogEOSSDK: Warning: LogEOS: Error response received from backend. ServiceName=[OAuth], OperationName=[TokenGrantv2], Url=[<Redacted>], HttpStatus=[400], ErrorCode=[errors.com.epicgames.account.oauth.authorization_pending], NumericErrorCode=[1012], ErrorMessage=[The authorization server request is still pending as the end user has yet to visit and enter the verification code.], CorrId=[EOS-jugygkEs5EqM2O3RFRzX5A-jt5rG5KsLkOMelG29hMjWA]
[2024.04.02-17.00.13:750][632]LogEOSSDK: LogEOSAuth: UpdateUserAuthToken: User ClientId: xyz...zDo AccountId: 5cb...7b8 Access[Expires: 2024.04.02-19.00.13 Remaining: 7200.80] Refresh[Expires: 2024-09-29T17:00:13.799Z Remaining: 15552000.80] State: Valid
[2024.04.02-17.00.13:759][633]LogEOSSDK: LogEOSAuth: UserAuthGenerated: Received FUserAuthToken
[2024.04.02-17.00.14:051][662]LogEOSSDK: LogEOSAuth: UserAuthGenerated: Login complete: EOS_Success
[2024.04.02-17.00.14:409][698]LogEOSSDK: LogEOSMessaging: Attempting connection to Stomp. LocalUserId=[000...960] Url=[<Redacted>]
[2024.04.02-17.00.14:409][698]LogEOSSDK: LogEOSP2P: Requesting new TURN relay credentials for 000...960.
[2024.04.02-17.00.14:418][699]LogBlueprintUserMessages: [WB_ChooseWithInterface_C_0] Success
[2024.04.02-17.00.15:833][841]LogEOSSDK: LogEOSPresence: Updating Presence to Online. LocalUserId=[5cb...7b8] RichText=[]
[2024.04.02-17.00.15:862][844]LogEOSSDK: LogEOSMessaging: Successfully connected to Stomp. LocalUserId=[000...960]
[2024.04.02-17.00.33:502][886]LogOnlineSession: Warning: EOS: Upgrade note: OSSEOS is updating how Session and Lobby presence information is tracked to match other OSS implementations. For more information, search for bUseSessionPresenceAttribute in the release notes.
[2024.04.02-17.00.33:503][886]LogEOSSDK: LogEOSSessions: The Social Overlay will not know about this session (Test Session).
[2024.04.02-17.00.33:783][945]LogEosSession: Error: UEosSessionSubSystem::OnJoinSessionComplete(): 234 Join session: traveling to EOS:0002ddd0f0da4e689ae86ae8a1c54960:GameNetDriver:26
[2024.04.02-17.00.33:783][945]LogNet: Browse: EOS:0002ddd0f0da4e689ae86ae8a1c54960:GameNetDriver:26/Game/ThirdPerson/Maps/Login
[2024.04.02-17.00.33:784][945]LogNet: NetConnectionEOS_0 setting maximum channels to: 32767
[2024.04.02-17.00.33:784][945]PacketHandlerLog: Loaded PacketHandler component: Engine.EngineHandlerComponentFactory (StatelessConnectHandlerComponent)
[2024.04.02-17.00.33:793][945]LogHandshake: Stateless Handshake: NetDriverDefinition 'GameNetDriver' CachedClientID: 2
[2024.04.02-17.00.33:795][945]LogNetVersion: EosSessionDemo 1.0.0.0, NetCL: 27405482, EngineNetworkVersion: 32, GameNetworkVersion: 0 (Checksum: 3226534292)
[2024.04.02-17.00.33:795][945]LogEOSSDK: LogEOSP2P: A new connection closed listener has been bound. LocalUserId=[000...960] SocketId=[GameNetDriver]
[2024.04.02-17.00.33:795][945]LogEOSSDK: LogEOSP2P: Added new peer. LocalUserId=[000...960] RemoteUserId=[000...960]
[2024.04.02-17.00.33:796][945]LogEOSSDK: LogEOSP2P: Connection established. LocalUserId=[000...960] RemoteUserId=[000...960] SocketId=[GameNetDriver] ConnectionType=[EOS_CET_NewConnection] NetworkType=[EOS_NCT_DirectConnection]
[2024.04.02-17.00.43:788][ 39]LogNet: Initial Connect Diagnostics: Sent '10' packets in last '10.005152' seconds, no packets received yet.
[2024.04.02-17.00.53:789][ 43]LogNet: Initial Connect Diagnostics: Sent '10' packets in last '10.000898' seconds, no packets received yet.