dcs_on_linux icon indicating copy to clipboard operation
dcs_on_linux copied to clipboard

Authorization error code 500 on login

Open socallmemaeb opened this issue 3 years ago • 2 comments

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

socallmemaeb avatar Jul 06 '21 15:07 socallmemaeb

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.

becky-soda avatar Feb 09 '22 07:02 becky-soda

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

Aterfax avatar Feb 12 '22 11:02 Aterfax