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
[BUG] Game Client API isn't working on the PBE #356
Comments
With Uli's help, determined that the game client API is working but it's just starting up on a random port instead of 2999. We believe we've identified the issue and there's a fix checked in. We believe this will affect patch 10.18. Currently, the bug doesn't have a high enough impact to warrant an additional deploy of the game client (game breaking bugs are typically high impact) but if the game client is redeployed in the next 2 weeks this fix should get included in that redeploy. Will keep the thread updated. |
There's a fix on the PBE, so this shouldn't be an issue on the PBE or for patch 10.19. As expected, this should be affecting all live regions in 10.18. I've confirmed it's affecting NA. The release team is tentatively planning on a redeploy this upcoming Editted because Monday is a US holiday, which means the redeploy would happen Tuesday. |
LAS is also affected by the bug |
@fabran99 I'll update my comment so it's clear, but yes this bug should affect all regions in patch 10.18. I only confirmed it was affecting NA. |
Wasn't this used by that twitch extension that gave you live updates on the game via an overlay? Isn't that a valid reason to micropatch this into live? |
This issue is unfortunately not micropatchable :( |
So it's normal that I can't access my replay via GET https://127.0.0.1:2999/replay/render on the live server due to the bug ? Because before the 10.18 patch, everything was working for me and it seems that since the patch, I can't make that request anymore |
Yes. You can manually get the port you need to use using this powershell command: Get-NetTCPConnection -OwningProcess $(Get-Process 'League of Legends').Id | Where-Object { $_.LocalAddress -EQ '127.0.0.1' -And $_.RemoteAddress -EQ '0.0.0.0' } | Select-Object LocalAddress,LocalPort |
Ah yes indeed, thank you. But wasn't it always on port 2999 before ? First time I see it change so I'm surprised |
Yes its a bug |
Get-NetTCPConnection
Get-NetTCPConnection doesnt work in windows lower than 8 , another solution? |
@Querijn had this recommendation (from the discord). You can also follow these steps manually from cmd:
|
If you've got access to the windows API GetExtendedTcpTable might do the trick Here's @MingweiSamuel's comment in NodeJS (requires "node-fetch"):
|
Alright update friends. The TFTM client needs to be re-released along with the game client, so we're just waiting on those. The fix should be out soon. |
Unfortunately, I have to walk back this last update :( As we get closer to the 10.19 patch, we've made the tough call to forego the 10.18 redeploy to fix this issue due to concerns that the redeploy will impact the timelines for 10.19. This issue has already been resolved on the PBE for patch 10.19. Without a redeploy to fix the randomized port for the game client API, there are a couple options for using the replay API in patch 10.18:
|
@RiotTuxedo Can you give us detailed explanation for the first option "Download and build the source code for League Director accounting for the randomized port in the game client." |
@lokoko99 I was thinking of one of the following:
As a heads up, the 10.19 patch is starting to roll out. Which means you'd need to save the 10.18 game client if you want to watch replays from games played during 10.18 as well as follow one of the options listed above; rebuild League Director or use an alternative tool. |
I think I will wait 10.19 since I am not developer so this is too complicated for me. I just make content. :) |
@lokoko99 should be fixed. I confirmed on the PBE last week. 10.19 is rolling out now. Give me a few minutes and I'll confirm. EDIT: Confirmed the issue is resolved on OCE. |
Why in https://127.0.0.1:2999/liveclientdata/eventdata i don't see events about Drake and Baron kills? Only champion and turrets destroying info. In this patch it be disabled or what? |
Some of the events are currently bugged, see #236 |
"Any update? it have been almost half a year" |
I recommend complaining about an issue in the comment section of the issue in question |
Bug Description
I have made a request to https://127.0.0.1:2999/swagger/v2/swagger.json on both PBE and live (in my case EUW) servers.
While live servers returned the expected behaviour, I didn't get a response on PBE servers. It has worked before.
The text was updated successfully, but these errors were encountered: