bitfocus / companion-module-tow-mixeffect

MIT License
8 stars 5 forks source link

Mix Effect companion connection issue #25

Open AVProductions opened 9 months ago

AVProductions commented 9 months ago

Suddenly incapable of connecting to MixEffect from companion:

Companion [3.1.2 (3.1.2+6243-stable-05c37a10)] MixEffect: 1.9.1 Mac OS: 14.1.2 Hardware: M3 Max MBP and also M1 Max MPB same issue for both: I was able to connect on December 3 but on December 4 2023 connection is always getting error message: Connection Failure TypeError: fetch failed

I have only one instance of Companion and MixEffect opened at the same time, stream deck plugin disabled, and IP address and port configured correctly as it was working 1 day before.

Thanks for support!

adamtow commented 8 months ago

This is probably because you have the HTTP Feedback Server enabled in Companion. If you're not using it, you can turn it off in the Connection tab. Otherwise, make sure that the Port is matches the Port in MixEffect's Switcher Connection entry for the HTTP Feedback Server.

waglerit commented 5 months ago

I just added Mix Effect to Companion and encountered the same problem. It connects to the device, but gives me a subsequent error 500ms later. When I turn off feedback polling, there is no error. I can control Mix Effect just fine through Companion, but there's obviously no feedback.

adamtow commented 5 months ago

I just added Mix Effect to Companion and encountered the same problem. It connects to the device, but gives me a subsequent error 500ms later. When I turn off feedback polling, there is no error. I can control Mix Effect just fine through Companion, but there's obviously no feedback.

Can you confirm that you've entered the right port number in MixEffect's Switcher Connection entry? If the HTTP Server is running on the MixEffect device, it should be able to send/receive feedback from Companion.

waglerit commented 5 months ago

Yes. Sorry if I was a bit unclear. I can send commands to Mix Effect through Companion, so I have to assume IP and port are correct (plus I double checked). It's just the feedback polling that's giving me the error.

I would have changed ports etc., but I cannot do that in Mix Effect, so I stuck to the IP and port that were given. It works just fine for controlling Mix Effect, there is just no feedback.

adamtow commented 5 months ago

Yes. Sorry if I was a bit unclear. I can send commands to Mix Effect through Companion, so I have to assume IP and port are correct (plus I double checked). It's just the feedback polling that's giving me the error.

I would have changed ports etc., but I cannot do that in Mix Effect, so I stuck to the IP and port that were given. It works just fine for controlling Mix Effect, there is just no feedback.

The IP address would be the same, but you should be able to change the port in the Switcher Connection section. Tap Edit in the upper-right corner to edit the entry, change the port, and tap Save. You may need to stop and restart the connection for changes to take effect. Also make sure that there isn't another device that's using the same feedback port. You can also see if setting a higher polling interval works, like 750ms. What kind of device are you running MixEffect on? Mac, iPad, or iPhone?

waglerit commented 5 months ago

Okay. I was able to change the port, to no effect. I increased the polling interval to different values, to no effect. Still getting

I am using an iPad for MixEffect. Companion is running on a Windows PC.

image

adamtow commented 5 months ago

Okay. I was able to change the port, to no effect. I increased the polling interval to different values, to no effect. Still getting

I am using an iPad for MixEffect. Companion is running on a Windows PC.

If you go to IP_ADDRESS_OF_MIXEFFECT:PORTNUMBER/feedback what happens? For instance:

http://10.0.1.19:8080/feedback where 10.0.1.19 is the IP of MixEffect and 8080 is the port number. If a JSON blob appears, things are working properly. If you get any other error, let me know.

waglerit commented 5 months ago

Thanks for the hint to check that. It helped me realise that the http server was "red". Killing Mix Effect completely and restarting did the trick. Now both OSC and http server are running as they're supposed to.

PostArchitekt commented 3 months ago

I'm currently having a similar situation. OSC and http server are running. IP addresses are correct in Companion. Elgato software is enabled. MixEffect on iPhone is working. I see my mixeffect streamdeck profile on the streamdeck. Yet, nothing happens when I hit the keys. Any thoughts?

adamtow commented 3 months ago

I'm currently having a similar situation. OSC and http server are running. IP addresses are correct in Companion. Elgato software is enabled. MixEffect on iPhone is working. I see my mixeffect streamdeck profile on the streamdeck. Yet, nothing happens when I hit the keys. Any thoughts?

Does this article help? https://labs.mixeffect.app/article/2022/05/companion-profile-installation-troubleshooting/