Skip to content
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

Authorization error code 500 on login #11

Open
socallmemaeb opened this issue Jul 6, 2021 · 2 comments
Open

Authorization error code 500 on login #11

socallmemaeb opened this issue Jul 6, 2021 · 2 comments

Comments

@socallmemaeb
Copy link

socallmemaeb commented Jul 6, 2021

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
Copy link

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
Copy link

Aterfax commented Feb 12, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants