Baseflow / Baseflow/flutter_cache_manager

ClientException: Redirect limit exceeded

オープン
#448 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
809
フォーク
510
平均マージ
6分
マージ済み PR(30日)
1

説明

## 🐛 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:**
- [ ] :iphone: iOS
- [X ] :robot: Android

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start by reproducing the Android failure through DefaultCacheManager().getFileStream with the reported Megaphone URL and inspect the redirect handling it reaches. Done means the file downloads successfully instead of raising ClientException: Redirect limit exceeded, with coverage for this regression if the project’s existing tests support it.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
dart, flutter
領域
mobile, networking
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。