seanime
seanime copied to clipboard
bug: playback issues while playing proxied hls streams
Checklist
- [x] My version of the app is the latest available
- [x] I have checked open and closed issues
- [x] I have checked the docs for a fix
Bug Severity
Usability is affected
Bug Area
Online Streaming
Bug Description / Steps to Reproduce
$ ffplay "https://vault-10.uwucdn.top/stream/10/16/5231e219e1b9c26424c0572d32e5872891db121b89603b1e4ea4045daf17152d/uwu.m3u8"
... plays normally
$ ffplay "<seanime>/api/v1/proxy?url=https%3A%2F%2Fvault-10.uwucdn.top%2Fstream%2F10%2F16%2F5231e219e1b9c26424c0572d32e5872891db121b89603b1e4ea4045daf17152d%2Fuwu.m3u8&headers=%7B%22Referer%22%3A%22https%3A%2F%2Fkwik.cx%22%7D"
...
[https @ 00000203306f8ec0] HTTP error 500 Internal Server Error
[crypto @ 000002033042c3c0] Unable to open resource: <seanime>/api/v1/proxy?url=https%3A%2F%2Fvault-10.uwucdn.top%2Fstream%2F10%2F16%2F5231e219e1b9c26424c0572d32e5872891db121b89603b1e4ea4045daf17152d%2Fsegment-95-v1-a1.jpg&headers=%7B%22Ref
[hls @ 0000020329fedec0] Failed to open segment 93 of playlist 0
[hls @ 0000020329fedec0] Segment 93 of playlist 0 failed too many times, skipping
... only plays a single segment from the middle of the episode
Expected Behavior
$ ffplay "https://vault-10.uwucdn.top/stream/10/16/5231e219e1b9c26424c0572d32e5872891db121b89603b1e4ea4045daf17152d/uwu.m3u8"
... plays normally
$ ffplay "<seanime>/api/v1/proxy?url=https%3A%2F%2Fvault-10.uwucdn.top%2Fstream%2F10%2F16%2F5231e219e1b9c26424c0572d32e5872891db121b89603b1e4ea4045daf17152d%2Fuwu.m3u8&headers=%7B%22Referer%22%3A%22https%3A%2F%2Fkwik.cx%22%7D"
... plays normally
Screenshots
No response
Logs
ERR - proxy > Error unmarshalling headers error="json: string unexpected end of JSON input"
although, this didn't get logged on every attempt to reproduce
Debugging Checklist
- [x] I have included error messages
- [x] I have included server logs
- [ ] I have included browser console logs
App Version
v2.9.10
Operating System
Linux