-
Notifications
You must be signed in to change notification settings - Fork 24
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
In version above rc9 league client is never found #107
Comments
Hi, is this issue different from #106? |
I might add to this. Have been running into the same issue. When using rc10 or above, neither an existing nor a newly launched LeagueClient is discovered (using authenticate / web sockets). Downgrading to rc9 worked for me. Since r10 is also not working, this is probably unrelated to Get-CimInstance, but not sure. Tried running Node.js as Administrator, but that didn't resolve this. Code with awaitConnection: trueconsole.log("Looking for League client");
clientCredentials = await authenticate({
awaitConnection: true,
pollInterval: 1000,
});
console.log("Obtained League client credentials:", clientCredentials); Results with League client running:On rc11, rc10On rc9Code with awaitConnection: falseconsole.log("Looking for League client");
clientCredentials = await authenticate();
console.log("Obtained League client credentials:", clientCredentials); Results with League client running:On rc11, rc10On rc9System detailsWindows 11 22H2 |
yes, exactly as Janerjak is saying. Its not related to #106. After upgrading version to above rc9 it cant find process of LeagueClientUx. Tried running Get-CimInstance command as well as wmic one from your code and League process is found. I was looking through commits and nothing much changed but dependency versions - maybe there is a problem? |
Interesting. I was running on rc10 and rc11 just fine for a while. No longer the case. |
Maybe Riot changed something in the latest patch? |
It's strange that rc10 has also changed the ability to connect to the client, as that update only changed the WebSocket connection. If someone could get the actual error that's thrown instead of just the ClientNotFoundError (should be here https://github.com/matsjla/league-connect/blob/master/src/authentication.ts#L160) that may be able to tell us more about what's going on. |
Catching error results in:
where 110 line in index.cjs at tryAuthenticate is:
|
there was an commit #103 which changed regex for getting password |
Does the patch from Eugene in #108 fix it? Try rc-12 |
No description provided.
The text was updated successfully, but these errors were encountered: