josephdadams / midi-relay

Listens for HTTP request with JSON payload and relays MIDI/MSC commands on local ports.
MIT License
58 stars 9 forks source link

Midi-Relay 3.3.0 Constantly Opening Ports, Realizing Ports Are Already Open, Repeat #59

Open Brotuulaan opened 6 months ago

Brotuulaan commented 6 months ago

Describe the bug I've been migrating our church over to a new PC the past few weeks (from 10 to 11), and I finally set it up to leave it up yesterday. Found today this app wasn't installed yet and did so. After opening it clean, I started getting Windows notifications from the app. I figured it was just seeing everything for the first time and would stop. 15 minutes later, it's still cycling in the corner. The messages read, "MIDI Port Opened: X," then "MIDI Port Alread Opened: X." It's going through all 3 of my ports over and over, including itself. I restarted midi-relay and it's still doing the same thing. No user changes of any sort after installation. The other two ports are loopMIDI and rtpMIDI. I also have Bome Network Pro installed but not activated yet. Because of it constantly running, I also can't interact with the task tray without turning these notifications off. If I do that, I'm afraid I'll lose them/forget about them, and then I'll run into connectivity issues having left it alone. The version installed on the old PC was several versions back. I'm not in front of the old computer at the moment, but my batch file lists it as being 2.2.0, so I'm going with that despite the relases page not explicitly listing that version. Never had this issue with whatever that older version was plus Win 10. Issue persists with both loopMIDI rtpMIDI, and Bome closed.

To Reproduce Steps to reproduce the behavior:

  1. Install midi-relay 3.3.0 on Windows 11
  2. Run midi-relay

Expected behavior Opening the application would enable its activity in the background to recognize what is there and communicate between existing systems. Ports would not be repeatedly opened and closed, causing Windows notifications every few seconds with brief multi-second pauses after a full cycle.

Screenshots image

Desktop: