wine icon indicating copy to clipboard operation
wine copied to clipboard

League of Legends is not working after a fresh install

Open droslean opened this issue 3 years ago • 14 comments

I tried to debug this and also open an issue to RIOT, but it seems that something is happening with wine there.

The main problem is

000005.105|  ERROR| ClientWebSocketTransport: After SSL_connect SSL_get_error returned 5...
000005.105|  ERROR| ClientWebSocketTransport: SSL_ERROR_SYSCALL - The underlying BIO reported an I/O error.
000005.105|  ERROR| ClientWebSocketTransport: SSL_ERROR_SYSCALL - errno is 10054: Connection reset by peer.

Which causes the LOL client not to start after the RIOT authentication.

It worth telling that this was broken after the last update of league of legends.

droslean avatar Sep 26 '20 19:09 droslean

The ClientWebSocketTransport error 5 issue isn't even anything new https://forums.lutris.net/t/lol-doesn-t-work/7572/3

I'm wondering if your connection chain, system, Wine, or whatever simply doesn't support the update https://stackoverflow.com/questions/15525344/ssl-connect-and-ssl-error-syscall

But, its obviously saying "10054: Connection reset by peer."

In the end, I believe you need to debug Wine or your system in relation to the connection. At least in my opinion its too difficult to say what the problem is without running the game and having the same exact problem with the same exact reason. The errors are not specific enough.

Maybe the game update was bad and another will fix it but I'm thinking that didn't happen. And I feel this isn't a Lutris issue unless it started on an update of Lutris which it sounds like it didn't.

ghost avatar Oct 02 '20 12:10 ghost

@byte1024 This is lutris related because it's using a specific version of wine for lol. However, there is also an option to change it but that will break other functionalities.

My first guess was that I need somehow to install a new iexplore and configure the SSL setting since the LOL clients are using them. I didn't have much luck though.

Until we find further information, we can consider the LOL in lutris is broken.

droslean avatar Oct 02 '20 12:10 droslean

Personally, like I said above, I do not agree with that reasoning. The Lutris wine is Wine. It just has some extra patches on top and that's all.

If you want to argue its Lutris Wine patches, you would have to find a non-Lutris wine that can play it. I'm sure TKG's Wine or some other will. The Lutris Wine is nothing special. There are better ones available. Its just simply the one they include for the easiest way to run Wine through Luris (along with a few improvements for games as well over plain).

I don't even use theirs anymore once I understood how to get the others working fine.

ghost avatar Oct 02 '20 12:10 ghost

Can you let me know what version of wine you are using to make the game work? I did a completely fresh install using lutris and its not working. I am not directly blaming lutris, but the fact that it has different dependencies in different workstations doesn't sound right. At least lutris should have a way to detect these dependencies.

droslean avatar Oct 02 '20 12:10 droslean

Can you let me know what version of wine you are using to make the game work? I did a completely fresh install using lutris and its not working. I am not directly blaming lutris, but the fact that it has different dependencies in different workstations doesn't sound right. At least lutris should have a way to detect these dependencies.

I don't play or have this game so can't help you there, like I said above "At least in my opinion its too difficult to say what the problem is without running the game and having the same exact problem with the same exact reason.".

There's a lot of Wine flavor's available. A bunch can be easily installed from Lutris runners configuration. You can edit the Wine runner and see a list of a bunch. Personally, I use WineHQ (not explaining how to do that) or distro Wine (eg $ sudo apt install wine) which is technically system Wine in Lutris regardless of what they say.

If you have tested system Wine in Lutris, beware if you didn't fully install distro Wine or manually install selected packages, as Lutris's system Wineso-called "system Wine" can have missing packages. (Possibly, other Wine from the runners could be affected here as well.)

About all I can do is give you these hints.

ghost avatar Oct 02 '20 12:10 ghost

Thanks @byte1024 . I will try to play with different versions of wine to detect the actual problem.

droslean avatar Oct 02 '20 12:10 droslean

Thanks @byte1024 . I will try to play with different versions of wine to detect the actual problem.

By the way, I have a feeling you have a problem with the other Wine's (probably definitely system Wine at least) simply because of LoL is 32 bit https://www.reddit.com/r/leagueoflegends/comments/5ywa9n/does_lol_have_a_64_bit_client/

The system Wine in Lutris for example will probably have a problem there without a full or manual selection of the distro Wine install as it tends to not install the required packages for that in my experience.

[I'm assuming that you didn't do a distro Wine install before.]

ghost avatar Oct 02 '20 12:10 ghost

@byte1024 I tried alsmost all wine versions availbale on lutris and I have the same problem. When I run the client with any wine version using the prefix that lutris created, I still have the same problem.

In different prefix everything are ok, but still some stuff are missing but at least I can connect to the client.

My understanding sto far is that lutris is doing something bad in the PREFIX. I also tried to remove all the libraries from the lutris prefix to make sure if any of the libraries is creating the problem.

droslean avatar Oct 04 '20 14:10 droslean

@byte1024 I tried alsmost all wine versions availbale on lutris and I have the same problem. When I run the client with any wine version using the prefix that lutris created, I still have the same problem.

In different prefix everything are ok, but still some stuff are missing but at least I can connect to the client.

My understanding sto far is that lutris is doing something bad in the PREFIX. I also tried to remove all the libraries from the lutris prefix to make sure if any of the libraries is creating the problem.

It sounds like it's only happening with lutris wine?

I haven't seen this [type of] problem though I know they can have problems with what they add on top of wine. It could be something specific with their patches.

You could try a different lutris wine version. Otherwise, the lutris wine dev would have to fix a patch they add on top.

ghost avatar Oct 04 '20 15:10 ghost

@tannisroot Why this issue is closed? Is it fixed?

droslean avatar Jun 16 '21 14:06 droslean

I closed all stale issues

tannisroot avatar Jun 16 '21 14:06 tannisroot

But this is not stale. League of Legends is still not playable via Lutris.

I am suggesting removing the game from the list or add a warning?

droslean avatar Jun 17 '21 09:06 droslean

LoL is very much playable via Lutris.

If you just run the installer, let it finish the download but do not login, then after the download is done you close it. Let the script finish its work and click launch. It will ask you to enable some settings if this was not done before and start the launcher.

Now you can login and click play.

This is where you are going to need: PATIENCE!

Just let it run, it will take a few minutes.

sfjuocekr avatar Jul 17 '21 16:07 sfjuocekr

It looks like the underlying WINE bugs that were causing this may have been fixed in wine-staging. I'm sure there's more to it in terms of verifying nothing breaks, but it may just be a matter of updating WINE/ pulling in those fixes.

devmattrick avatar Jan 15 '22 12:01 devmattrick