Skip to content

proxy authentication #1554

@esicuwa

Description

@esicuwa

I connect a proxy to create a link between accounts, but I still catch rate limits, etc.

var config = SteamConfiguration.Create(b => b
    .WithHttpClientFactory((httpMessage) =>
    {
        var handler = new HttpClientHandler()
        {
            Proxy = new WebProxy($"http://127.0.0.1:{local_port_t}"),
            UseProxy = true,
            UseCookies = true,
            CookieContainer = new CookieContainer(),
            AutomaticDecompression = DecompressionMethods.GZip | DecompressionMethods.Deflate
        };

        return new HttpClient(handler)
        {
            Timeout = TimeSpan.FromSeconds(30)
        };
    })
    );

SteamClient steamClient = new SteamClient(config);

and after that I already log in using a proxy, checked the IP and it matches the proxy, but I constantly catch rate limits and often letters do not arrive about authorization and binding

```
CredentialsAuthSession authSession;

authSession = await steamClient.Authentication.BeginAuthSessionViaCredentialsAsync(new AuthSessionDetails
{
    Username = data_account.Login,
    Password = data_account.Password,
    IsPersistentSession = false,
    PlatformType = EAuthTokenPlatformType.k_EAuthTokenPlatformType_MobileApp,
    ClientOSType = EOSType.Android9,
    Authenticator = new UserEmailAuthenticator(mailCheckerMafile, data_account, Imap, local_port_t)
    
    

    //Authenticator = new UserConsoleAuthenticator()



});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions