Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClientException: Redirect limit exceeded #448

Open
1 task
rootd opened this issue Feb 26, 2024 · 2 comments
Open
1 task

ClientException: Redirect limit exceeded #448

rootd opened this issue Feb 26, 2024 · 2 comments

Comments

@rootd
Copy link

rootd commented Feb 26, 2024

🐛 Bug Report

Trying to download from the following uri:

https://traffic.megaphone.fm/ROOSTER7204211183.mp3?updated=1708735557

results in the exception:

ClientException: Redirect limit exceeded, uri=https://traffic.megaphone.fm/ROOSTER7204211183.mp3?updated=1708735557

Expected behavior

Download the file.

Reproduction steps

DefaultCacheManager()
        .getFileStream("https://traffic.megaphone.fm/ROOSTER7204211183.mp3?updated=1708735557", withProgress: true)

Configuration

Version: v3.3.0

Platform:

  • 📱 iOS
  • [X ] 🤖 Android
@rootd
Copy link
Author

rootd commented Dec 21, 2024

..any news? This is still relevant :(

@rootd
Copy link
Author

rootd commented Dec 21, 2024

I now edited file_service.dart function "get" and added:

req.maxRedirects = 20;

In my opinion this should be configurable by default using some sort of parameter. Should I create a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant