mirror of
https://github.com/koel/koel.git
synced 2026-04-25 00:36:03 +03:00
[GH-ISSUE #1228] Playback randomly fails #702
Labels
No labels
Authentication
Dependencies
Documentation
Feature Request
Flac
Help Wanted
Installation/Setup
Integration
Mobile
PR Welcome
Pending Release
Performance
Playlist
S3
Search
Sync
[Pri] Low
[Pri] Normal
[Status] Keep Open
[Status] Needs Author Reply
[Status] Needs Review
[Status] Stale
[Status] Will Implement
[Type] Blessed
[Type] Bug
[Type] Duplicate
[Type] Enhancement
[Type] Help Request
[Type] Question
[Type] Task
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/koel-koel#702
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @neemzy on GitHub (Jun 1, 2020).
Original GitHub issue: https://github.com/koel/koel/issues/1228
Describe the bug
While listening, Koel sometimes randomly skips to the next song (or stops playing if there isn't any). The error seems to be ServiceWorker-related:
Unable to load "https://[url]/api/8c84750b0b91259f5b784afe8f3379e3/play?jwt-token=[token]". A ServiceWorker intercepted the request and encountered an unexpected error.. This would corroborate my belief this happens when the song has already been played recently.To reproduce
Steps to reproduce the behavior:
Expected behavior
The song plays normally and doesn't skip/stop.
Environment
v4.3.1(b1aad4891904d8c52e325c807de72cd8cc2a3bde)Additional context
My Koel instance is served through Cloudflare (which provides HTTPS). The correct scheme wasn't used by the application so I slightly hacked around it upon installation:
I also rollbacked the frontend submodule (
resources/assets) fromfa6aefad054ffad3faf84fe85732f04c6ddd742atob1b17d093aff6c1351e9d1f50c46ed48a45dc277because Webpack wouldn't correctly build the TypeScript version.@BrookeDot commented on GitHub (Dec 30, 2020):
This is likely caused by the same issue as #1255 where the token expires. I've seen it a few times as well. I'm going to close this as a duplicate (although technically it was reported first) since the other issue has a better description.
@BrookeDot commented on GitHub (Dec 30, 2020):
also related #847