SteamDesktopAuthenticator icon indicating copy to clipboard operation
SteamDesktopAuthenticator copied to clipboard

the remote server returned an error:403

Open zettok opened this issue 10 months ago • 16 comments

Hello, with the update that steam made a few hours ago, I get this error, “the remote server returned an error:403”. Jessecar96 announced that he will not support anymore, but I hope he will fix this error, thank you in advance. Does anyone know how to solve this problem?

zettok avatar Feb 12 '25 08:02 zettok

same problem(

vadikFv avatar Feb 12 '25 09:02 vadikFv

https://github.com/DoctorMcKay/node-steamcommunity/issues/351 you need add a origin header to the ajaxop/multiajaxop request https://github.com/geel9/SteamAuth/blob/4ccfa2e9258dda67f6e8baefe3e2833419a565de/SteamAuth/SteamGuardAccount.cs#L193C34-L193C55 https://github.com/geel9/SteamAuth/blob/4ccfa2e9258dda67f6e8baefe3e2833419a565de/SteamAuth/SteamGuardAccount.cs#L210

giterhug avatar Feb 12 '25 11:02 giterhug

I guess I don't know how to do this :/.

zettok avatar Feb 12 '25 11:02 zettok

Same problem :(

rib3r avatar Feb 12 '25 12:02 rib3r

same problem

M4CH1N31 avatar Feb 12 '25 12:02 M4CH1N31

Does this only happen on automatic confirmations?

therepower avatar Feb 12 '25 14:02 therepower

Does this only happen on automatic confirmations?

yes

zettok avatar Feb 12 '25 14:02 zettok

Quick fix for this: File: SteamAuth/SteamGuardAccount.cs

     private async Task<bool> _sendMultiConfirmationAjax(Confirmation[] confs, string op)

    {
        string url = APIEndpoints.COMMUNITY_BASE + "/mobileconf/multiajaxop";
        // tag is different from op now
        string tag = op == "allow" ? "accept" : "reject";
        string query = "op=" + op + "&" + GenerateConfirmationQueryParams(tag);
        foreach (var conf in confs)
        {
            query += "&cid[]=" + conf.ID + "&ck[]=" + conf.Key;
        }
        string response;
        using (CookieAwareWebClient wc = new CookieAwareWebClient())
        {
            wc.Encoding = Encoding.UTF8;
            wc.CookieContainer = this.Session.GetCookies();
            wc.Headers[HttpRequestHeader.UserAgent] = SteamWeb.MOBILE_APP_USER_AGENT;
            wc.Headers.Add("Origin",APIEndpoints.COMMUNITY_BASE);
            wc.Headers[HttpRequestHeader.ContentType] = "application/x-www-form-urlencoded; charset=UTF-8";
            response = await wc.UploadStringTaskAsync(new Uri(url), "POST", query);
        }
        if (response == null) return false;

        SendConfirmationResponse confResponse = JsonConvert.DeserializeObject<SendConfirmationResponse>(response);
        return confResponse.Success;
    }

If you are familiar with coding you can fix it this way. I would not recommend asking or downloading files from strangers to keep your account safe. Wait for Jessecar to push this fix.

therepower avatar Feb 12 '25 14:02 therepower

I don't know anything about coding unfortunately. so I guess we'll wait for Jessecar to fix it. hopefully he will.

zettok avatar Feb 12 '25 16:02 zettok

He said its not supported anymore but lets hope.

M4CH1N31 avatar Feb 12 '25 16:02 M4CH1N31

Version 1.0.14 worked for me

M4CH1N31 avatar Feb 12 '25 21:02 M4CH1N31

You can check this fork It’s modified version by developer of market.csgo.com He fixed this trouble

https://github.com/MakcStudio/SteamDesktopAuthenticator

subbotinb avatar Feb 12 '25 22:02 subbotinb

@therepower

Quick fix for this: File: SteamAuth/SteamGuardAccount.cs

sorry, is this file part of SDA ? if not, how to make it work with SDA ?

AsadAlrafidain avatar Feb 12 '25 22:02 AsadAlrafidain

@M4CH1N31

Version 1.0.14 worked for me

thank you very much for suggesting this.....the issue is solved now for me (1.0.13 --> 1.0.14)

@zettok try this solution

AsadAlrafidain avatar Feb 12 '25 23:02 AsadAlrafidain

Hi. All who not know coding... download ver. 1.0.14 (not 1.0.13). Extract archiv to new directory (for example "1.0.14") (not open exe.file) Directory "myFiles" from ver. 1.0.15 copy to directory with ver 1.0.14. open exe file, ignore banner "have new ver.1.0.15" and we have good warking SDA with all function. Thanks @M4CH1N31 & Jessecar96

19kanon69 avatar Feb 13 '25 14:02 19kanon69

Hi. All who not know coding... download ver. 1.0.14 (not 1.0.13). Extract archiv to new directory (for example "1.0.14") (not open exe.file) Directory "myFiles" from ver. 1.0.15 copy to directory with ver 1.0.14. open exe file, ignore banner "have new ver.1.0.15" and we have good warking SDA with all function. Thanks @M4CH1N31 & Jessecar96

worked, thanks

zettok avatar Feb 17 '25 10:02 zettok