How to Join a Steam Game Via Steam Sockets? Getting k_EResultAccessDenied

#Access Denied

Well actually I am not using bits and pieces right now,

I am actualing using CreateSession and all the standard ShooterGame code from beta 5, and the server travel is never occurring

In my logs it is saying that access is denied from steam!

[0002.50][  1]LogLoad:  Loading Game Modules: 0.68 seconds
[0002.50][  1]LogLoad:  Loading Game Modules: 0.00 seconds
[0002.51][  1]LogObj: 28181 objects as part of root set at end of initial load.
[0002.51][  1]LogUObjectAllocator: 6923640 out of 0 bytes used by permanent object pool.
[0002.73][  1]LogAutomationTest: FPlatformVerificationTest: Success
[0002.73][  1]LogAutomationTest: FDateTimeFormattingRulesTest: Success
[0002.73][  1]LogAutomationTest: FNumberFormattingRulesTest: Success
[0002.73][  1]LogAutomationTest: FTextTest: Success
[0002.73][  1]LogAutomationTest: FRangeBoundTest: Success
[0002.73][  1]LogAutomationTest: FRangeSetTest: Success
[0002.73][  1]LogAutomationTest: FRangeTest: Success
[0002.73][  1]LogAutomationTest: FVectorRegisterAbstractionTest: Success
[0002.73][  1]LogAutomationTest: FCircularBufferTest: Success
[0002.73][  1]LogAutomationTest: FCircularQueueTest: Success
[0002.73][  1]LogAutomationTest: FDateTimeTest: Success
[0002.74][  1]LogAutomationTest: FGuidTest: Success
[0002.74][  1]LogAutomationTest: FQueueTest: Success
[0002.74][  1]LogAutomationTest: FTimespanTest: Success
[0002.74][  1]LogAutomationTest: FVectorVMTest: Success
[0002.74][  1]LogAutomationTest: FJsonAutomationTest: Success
[0002.74][  1]LogAutomationTest: FIntSerializationTest: Success
[0002.74][  1]LogAutomationTest: FTextPropertyTest: Success
[0002.74][  1]LogAutomationTest: FIPv4AddressTest: Success
[0002.74][  1]LogLoad: Engine Pre-Initialized: 2.73 seconds
[0002.74][  1]LogEngine: Initializing Engine...
[0002.75][  1]LogHMD:Warning: No Oculus HMD detected!
[0002.75][  1]LogHMD:Warning: No Oculus Sensor detected!
[0002.75][  1]LogHMD: Oculus Latency Tester not found.
[0002.85][  1]LogInit: XAudio2 using 'Speakers (Realtek High Definition Audio)' : 2 channels at 48 kHz using 32 bits per sample (channel mask 0x3)
[0002.94][  1]LogInit: FAudioDevice initialized.
[0003.07][  1]LogDerivedDataCache: Saved boot cache 0.12s 61MB C:/ProgramData/Epic/Rocket/DerivedDataCache/Boot.ddc.
[0003.07][  1]LogInit: Texture streaming: Enabled
[0003.11][  1]LogAnalytics: Creating configured Analytics provider AnalyticsMulticast
[0003.11][  1]LogAnalytics: Creating configured Analytics provider AnalyticsSwrve
[0003.11][  1]LogAnalytics: Swrve APIKey = TWn7EDcoV0xHSxGhYwCd. APIServer = https://api.swrve.com/. AppVersion = 1.5.0.0.1904627
[0003.11][  1]LogAnalytics: Creating configured Analytics provider AnalyticsET
[0003.11][  1]LogAnalytics: ET APIKey = Rocket.Release. APIServer = http://udkprofiler.epicgames.com/ETAP/. AppVersion = 1.5.0.0.1904627
[0003.11][  1]LogAnalytics: SetUserId 08c29e28bb8f7cbc212a9a391fc21ebc
[0003.11][  1]LogAnalytics: SetUserId 08c29e28bb8f7cbc212a9a391fc21ebc
[0003.11][  1]LogAnalytics: AnalyticsSwrve::StartSession [TWn7EDcoV0xHSxGhYwCd]
[0003.12][  1]LogAnalytics: AnalyticsET::StartSession [Rocket.Release]
[0003.13][  1]LogInit: Selected device profile: Win 64
[0003.13][  1]LogLoad:  Engine Initialized: 0.39 seconds
[0003.16][  1]LogNet: Browse: /Game/Maps/Victory?Name=Player
[0003.16][  1]LogLoad: LoadMap: /Game/Maps/Victory?Name=Player
[0003.17][  1]
[0003.17][  1]Memory allocations reported by the OS: 386.24 MB (with 0.00 MB waste)
[0003.17][  1]Virtual memory tracked in the allocators: 346.91 MB (with 346.91 MB used, 0.00 MB slack and 0.00 MB waste)
[0003.17][  1]Physical memory tracked in the allocators: 386.24 MB (with 386.24 MB used, 0.00 MB slack and 0.00 MB waste)
[0003.58][  1]LogWorld: Game class is 'VictoryGameGameInfo'
[0003.63][  1]LogWorld: Bringing World /Game/Maps/Victory.TheWorld up for play (0) at 2013.11.20-10.52.25
[0003.64][  1]LogWorld: Bringing up level for play took: 0.041764
[0003.64][  1]LogOnline: Starting session Game on server
[0003.64][  1]LogOnline:Warning: STEAM: Can't start an online game for session (Game) that hasn't been created
[0003.64][  1]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0
[0003.64][  1]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0
[0003.64][  1]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0
[0003.64][  1]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0
[0003.64][  1]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0
[0003.64][  1]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0
[0003.64][  1]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0
[0003.64][  1]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0
[0003.64][  1]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0
[0003.64][  1]LogPlayerController: ClientRestart_Implementation WarriorBP_C_0
[0003.65][  1]LogPlayerController: ServerAcknowledgePossession_Implementation WarriorBP_C_0
[0003.65][  1]LogLoad:  Loading URL /Game/Maps/Victory?Name=Player: 0.49 seconds
[0003.65][  2]LogInit:Display: Game Engine Initialized.
[0003.65][  2]LogLoad: UGameEngine::Init: 0.92 seconds
[0003.66][  2]LogLoad: Full Startup: 3.66 seconds (BP compile: 0.20 seconds)
[0003.68][  2]LogAssetRegistry: FAssetRegistry took 0.000000 seconds to start up
[0003.76][  4]LogRenderer:Warning: Reallocating scene render targets to support 1280x960.
[0004.54][ 23]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0
[0004.55][ 23]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0
[0004.55][ 23]LogVisual:Display: Binding DragonHumanBP_C_0 to log PinkStorage_0
[0007.16][186]LogOnline: Async task 'FOnlineAsyncTaskSteamCreateLobby bWasSuccessful: 0 LobbyId: 0 LobbyType: 2 Result: '15' k_EResultAccessDenied (access denied)' completed in 0.180100 seconds with 0
[0007.16][186]LogOnline:Verbose: OnCreateSessionComplete Game bSuccess: 0
[0007.16][186]LogOnline:Warning: STEAM: Can't destroy a null online session (Game)
[0007.16][186]LogOnline:Verbose: OnDestroySessionComplete Game bS

Well hey, that’s progress :slight_smile:

Ok, did you try changing the app id to 480? We may be running into an access wall that requires your own Steam app id. Just quickly try changing the app id and let me know.

yup, I am using only 480 now, in config and in the steam_appid.txt in the binaries directory

so at least we know that Steam is rejecting my connection attempts!

any ideas what to do about it?

Thanks Josh!

Rama

[OnlineSubsystemSteam]
bEnabled=true
SteamDevAppId=480
;SteamDevAppId=212960

I would go back to your original thread for now and try to get the steam information directly from the net driver. Using Steam’s matchmaking API may not be possible under app id 480 (their example app) or ours (without being an Epic employee atm).

I’ll get back to you on that when I have more information.

#Major Progress

heeyyyy

I used

Optimize(GetWorld()->GetNetDriver()->LowLevelGetNetworkNumber());

and this was the output!

that number looks reallly familiar, could I use that for the # in

open steam.#

?

:slight_smile:

Rama

majorprogress.jpg

haha you were writing it as I already did it and was writing my happy results to you

Thanks so much Josh!

:heart:

Rama

Just as aside note for those who still get the access denied error. When using steam sockets for joining/hosting Valve must have enabled lobby support for your AppId. I had this issue often on previous titles using steamworks and the final solution was just sending an email to valve or a post in the steamworks dev group.

Hello,

This is a question from the beta version of the engine. We are marking this answered for tracking purposes. If you are experiencing an issue similar to this please post a new question.

Thank you.