Skip to content

SendCountExceedException: Max send count 20 exceeded #859

@harry248

Description

@harry248

Please complete the following information:

  • Library Version: 2.9.5
  • Affected Device(s): Pixel 9 API 36

Describe the Bug:

Passing an url to LandscapistImage that does a redirect the failure callback is executed with the following exception:

Failure(reason=io.ktor.client.plugins.SendCountExceedException: Max send count 20 exceeded. Consider increasing the property maxSendCount if more is required.)

However, there is only one redirect (not 20) and NetworkConfig.maxRetries is 3 (also tried with 100 - no luck, same message).

Expected Behavior:

The image the redirect leads to is successfully loaded (like it does in the browser).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions