Skip to content

Gateway Time-out - getAccessToken #908

@olimortimer

Description

@olimortimer

I regularly receive timeouts from Xero when getting an access token, but can't see how to extend the timeout period - old issues mention a config file, but that doesn't seem to exist any now?

        Calcinai\OAuth2\Client\Provider\Exception\XeroProviderException
        Gateway Time-out
        $accessToken = $provider->getAccessToken('client_credentials', [
            'scope' => $scope,
        ]);

Around the same time as the above, I also receive the following;

        GuzzleHttp \ Exception \ ConnectException
        cURL error 35: OpenSSL SSL_connect: Connection reset by peer in connection to identity.xero.com:443 (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://identity.xero.com/connect/token

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions