bitfocus / companion-module-renewedvision-propresenter

Renewed Vision Pro Presenter
MIT License
31 stars 19 forks source link

PP7 Communications issue: "Child is not running, unable to send message: " #186

Open tacvideo opened 4 months ago

tacvideo commented 4 months ago

Describe the bug/issue One of our 2 Macs (MacOS 14.4.1) running Pro7.16.2 (has happened in previous couple releases too) stops communicating with Companion/Streamdeck - "Slide Advances" don't happen and throw errors in the logs, Slide Info is not updated in buttons. Doesn't happen on both Macs at the same time, but has happened on both at different times, and usually during our worship sets where it's critical to be in-sync.

To Reproduce For the most part it's been pretty random, doesn't happen every Sunday, and haven't noticed a pattern (like a particular song), but in trying to determine where the problem is by enabling the "Connection" with ProPresenter closed, and then in PP Settings enabling/disabling the "Network" or "PP Remote App" Steps to reproduce the behavior:

  1. Generally, in the above circumstances, the errors reported in Companion Logs were different than what's reported when we "lose communications"
  2. But, a couple times when I had 1 or both settings in "Network" Settings disabled - don't remember which, and since it only happened a couple times I can't remember the exact sequence - the exact scenario was "created" where we lost communications, saw the same errors in the Logs, I did test the ProPresenter Network API and worked fine.

The only way to recover from this "condition" is to disable and reenable the "ProPresenter Connection", sometimes had to do it twice to get communications working again.

I don't believe the issue is solely with ProPresenter - it may be involved in setting up the circumstances - but ultimately I think there's something causing/preventing Companion from "recovering"...

Expected behavior We have a "ProPresenter Next" button on the Streamdeck to advance slides on both Macs simultaneously which fails to advance on one of the Macs, and another Button that displays the current "Slide Count" of each Mac: "_Slide\nS:$(pp_slave:current_slide) of $(pp_slave:total_slides)\nM:$(pp_master:current_slide) of $(pp_master:totalslides)" The "current_slide" fails to update as we manually advance slides

Screenshots ProPresenter playlist/presentations

ProPresenter Playlist Screenshot 2024-05-15 at 2 16 13 PM

ProPresenter module config.

Connection-Module Config Screenshot 2024-05-15 at 2 17 03 PM

The config of any Buttons used.

Next Button Screenshot 2024-05-15 at 2 19 23 PM

Config of any variables used.

Versions/Environment (please complete the following information):

Complete Logs Issue occurs at "2024-05-12T16:09:48.376Z" VideoMaster-iMac_companion_log_20240512-1013.csv

tacvideo commented 2 months ago

This is still happening, any ideas yet?

Screenshot 2024-07-12 at 3 06 05 PM PP_Master Crash_Screenshot 2024-07-12 at 3 03 38 PM

As I mentioned above the PP API website (http://localhost:49296/v1/doc/index.html#/Presentation/presentationActiveNextTrigger) still works fine when this is happening... Also, I just rebooted the Mac this is happening on.

tacvideo commented 1 week ago

Moved Companion software/host to an older machine a few weeks back, have updated ProPresenter to 17, but still happening, except now it freezes for up to 10 minutes before the module crashes.

Versions/Environment (please complete the following information): ProPresenter Version: 17 OS of ProPresenter Machine MacOS 14.6.1 Companion Version 3.3.1 OS of Companion Machine MacOS 13.6.9

Also, as before the PP API works fine, this has to be a [companion-module-renewedvision-propresenter] issue, how can I help troubleshoot?

VideoSwitcher_companion_log_20240904-1133.csv

tacvideo commented 1 week ago

I've restarted the Companion software and entire machine, now pp_master and pp_slave connections are frozen/unresponsive

Screenshot Companion-Master   Slave Frozen