Skip to content

Getting frequent timeouts while fetching split changes #628

Description

@akhiljain-rabo

Hi Team,
From last few days we are getting frequent timeouts during the day. Sample error
SplitFetcherImp failed: Problem fetching splitChanges since 1782299980924: java.lang.IllegalStateException: Problem in http get operation: split.org.apache.hc.client5.http.ConnectTimeoutException: Connect to https://sdk.split.io:443 failed: Read timed out.

Not sure if its related but we upgraded to latest version 4.18.3 with spring boot4. Also there are multiple applications which fails with same error at particular time. Could be related to server closing the connection or the corporate firewall. What should be the best connection settings to avoid these. We just set these properties
SplitClientConfig.builder()
.setBlockUntilReadyTimeout(splitProperties.blockUntilReadyTimeout)
.featuresRefreshRate(splitProperties.featuresRefreshRate)
.segmentsRefreshRate(splitProperties.segmentsRefreshRate)
.impressionsRefreshRate(splitProperties.impressionsRefreshRate)
.metricsRefreshRate(splitProperties.metricsRefreshRate)
.streamingEnabled(splitProperties.streaming)

BlockUntil ready timeout is 10 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions