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

OpenMHz went down today and SDRTrunk wouldn't start after that.. #1948

Closed
ghost opened this issue Aug 12, 2024 · 7 comments · Fixed by #1968
Closed

OpenMHz went down today and SDRTrunk wouldn't start after that.. #1948

ghost opened this issue Aug 12, 2024 · 7 comments · Fixed by #1968
Labels

Comments

@ghost
Copy link

ghost commented Aug 12, 2024

sdrtrunk Version
any with Openmhz feature

Describe the bug
OPENMhz went down today for whatever reason and it took my other broadcastify feeds with it. Sdrtrunk wouldn't even restart. When restarting my it kept failing on "Connecting to OpenMhz feeds.."

I had to manually edit my playlist XML file with a XML editor, and change the Openmhz server startup to false.

Desktop (optional - complete the following information):
-Linux Mint

Additional context
Need some kind of option to retry openmhz server 3 times at start up and then continue without it, if it fails.

@ghost ghost added the bug label Aug 12, 2024
@ghost
Copy link
Author

ghost commented Aug 14, 2024

Happened again today. I have 5 Openmhz and 8 broadcastify streams. When Openmhz goes down it forces sdrtrunk to disconnect my other broadcastify streams and no other streams will restart until either openmhz is responsive, or I disable my openmhz streams.

I can see sdrtrunk tries to reconnect but can't get past that many down openmhz servers in time to reconnect to broadcastify servers. It gets stuck in a loop.

So a simple tweak may be needed in the reconnect timing of streams so it doesn't take down everything if openmhz goes down.

@DSheirer
Copy link
Owner

Can you please post the application log from when this happens so I can see if there are any logged errors.

@ghost
Copy link
Author

ghost commented Aug 14, 2024

sdrtrunk_app.log

@ghost
Copy link
Author

ghost commented Aug 19, 2024

Had to shut down my Openmhz streams until this can be fixed. It keeps happening. Some kind of skew issues apparently. If Openmhz website goes down for even one second it takes all my other feeds with it. Not sure if Openmhz is being DDOSed or just overwhelmed. Either way it shouldn't be tied at the hip to my other streams. Thanks for taking a look at this.

@tadscottsmith
Copy link
Collaborator

Are you on at least v0.6.1-beta-1? There were some OpenMHz reconnection issues addressed in that version.

@ghost
Copy link
Author

ghost commented Aug 26, 2024

Are you on at least v0.6.1-beta-1? There were some OpenMHz reconnection issues addressed in that version.

Yes, on a recent nightly. Doesn't matter which version. Happen on all. Just happened again today. Openmhz goes down and my other feeds won't reconnect until I disable Openmhz. The log I provided above seems to explain whats happening. Thanks

DSheirer pushed a commit that referenced this issue Sep 3, 2024
… prevent any initial stream connections from delaying the application startup.
@DSheirer
Copy link
Owner

DSheirer commented Sep 3, 2024

OpenMHz is configured to take up to 20 seconds trying to connect before it fails with a timeout. This was happening on the main application thread and may have been what was causing the perception that the application was failing to start.

I've updated the code to spin off all stream configuration startups into their own threaded startup so that they don't cause any delay in the main application start sequence.

I'm not sure what was causing the Broadcastify Calls streaming delays with the call time skew. From the posted log file, it appears that OpenMHz was at least partially responding from the nginx gateway timeout responses.

DSheirer added a commit that referenced this issue Sep 3, 2024
… prevent any initial stream connections from delaying the application startup. (#1968)

Co-authored-by: Dennis Sheirer <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants