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

any way to fix this?/ can u add a retry option for channels fails? #98

Closed
aniel300 opened this issue Aug 24, 2024 · 4 comments
Closed
Labels
enhancement New feature or request

Comments

@aniel300
Copy link

aniel300 commented Aug 24, 2024

2024/08/23 21:54:34 [DEBUG] Successfully fetched stream from xxx
2024/08/23 21:54:34 [DEBUG] Headers set for response: map[Access-Control-Allow-Origin:[] Cache-Control:[no-cache] Content-Type:[video/mp2t] Date:[Sat, 24 Aug 2024 01:54:34 GMT]]
2024/08/23 21:54:34 Proxying xxx:10653 to xxx
2024/08/23 21:54:34 Current number of connections for M3U_1: 1
2024/08/23 21:54:34 Received request from xxx:10655 for URL: /stream/dXMtYWJjLWhk
2024/08/23 21:54:35 [DEBUG] Successfully fetched stream from xxx
2024/08/23 21:54:35 [DEBUG] Headers set for response: map[Access-Control-Allow-Origin:[
] Cache-Control:[no-cache] Content-Type:[video/mp2t] Date:[Sat, 24 Aug 2024 01:54:34 GMT]]
2024/08/23 21:54:35 Proxying xxx:10655 to xxx
2024/08/23 21:54:35 Current number of connections for M3U_1: 2
2024/08/23 21:55:01 Stream ended (EOF reached): xxx:10653
2024/08/23 21:55:01 Exit code 1 received from xxx
2024/08/23 21:55:01 Retrying other servers...
2024/08/23 21:55:01 Skipping M3U_1: marked as previous stream
2024/08/23 21:55:01 [DEBUG] All streams skipped in lap 0
2024/08/23 21:55:01 Error reloading stream for us-aande-hd: Error fetching stream. Exhausted all streams.
2024/08/23 21:55:01 http: superfluous response.WriteHeader call from main.streamHandler (stream_handler.go:164)
2024/08/23 21:55:01 Current number of connections for M3U_1: 1

@aniel300 aniel300 added the enhancement New feature or request label Aug 24, 2024
@aniel300 aniel300 changed the title any way to fix this?/ can u add a retry option for channels fail? any way to fix this?/ can u add a retry option for channels fails? Aug 24, 2024
@aniel300
Copy link
Author

aniel300 commented Aug 24, 2024

can u add a on the fly retry option for the same failed channels?

@sonroyaalmerol
Copy link
Owner

Merged #99 with the additional MAX_RETRIES config option

@aniel300
Copy link
Author

aniel300 commented Aug 24, 2024

sorry i wasn't sure if this was a duplicate or not. keep me update on this and keep up the good work, thanks

@sonroyaalmerol
Copy link
Owner

No problem, i've included it in the 0.12.0 release

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

No branches or pull requests

2 participants