TheZoq2 / dcs_on_linux

Instructions for running DCS World on linux. Mostly extracted from https://github.com/ValveSoftware/Proton/issues/1722
89 stars 6 forks source link

Authorization error code 500 on login #11

Open socallmemaeb opened 3 years ago

socallmemaeb commented 3 years ago

Due to the error I'm unable to use any modules other than the Su-25T and the TF-51 on the Caucuses map. The game worked fine on this set up before, but this issue arose after reinstalling recently. The system time on my PC matches all the clocks i can find, so I'm pretty sure that's not the issue. I'm running standalone on Lutris 6.10 7 x86_64, same as before. Installed through Lutris also, with fixes from ProtonDB Log attached. dcs.log

becky-soda commented 2 years ago

I was getting this exact fault today and yesterday. It seems to be something to do with gunzip reading the authentication properly:

2021-07-06 15:47:58.821 INFO    NET: Login success.
2021-07-06 15:47:59.583 ERROR   NET: Bad auth data: Gunzip: header decoding error
2021-07-06 15:47:59.586 ERROR   NET: Getting auth data failed becase server returned invalid reply.
2021-07-06 15:47:59.589 ERROR   DCS: Failed to get authorization data. Error code is: 500

After reinstalling from the Lutris website, I followed some of the steps in the readme.md for this Github repo. I first ran this command:

WINEPREFIX=/home/user/Lutris/dcs-world-open-beta/ winetricks vcrun2017 corefonts xact d3dcompiler_43

(Make sure you change the wine prefix to point to your own.)

Then I added two DLL Overrides (in Configure > Runner Options): key msdmo with a value of n, and key wbemprox with a value of n.

Lastly, I added a system link. I opened a bash terminal window, cd'ed to the install folder (cd "/home/user/Lutris/dcs-world-open-beta/drive_c/Program Files/Eagle Dynamics/DCS World OpenBeta/" or similar) and created a symlink for ./bin/webrtc_plugin.dll as ./webrtc_plugin.dll (ln -s ./bin/webrtc_plugin.dll ./webrtc_plugin.dll).

This fixed it for me, but I'm not sure which of these particular commands fixed the fault.

Aterfax commented 2 years ago

The config on the server installer for Lutris might want porting across to the game installer as the server installer contains the overrides. See: https://lutris.net/games/install/28163/view

Vs:

https://lutris.net/games/install/15226/view