Receive OSC Messages stops working after computer sleep

Steps causing the bug to occur

  1. Start Vuo
  2. Build some Composition with vuo.osc.receive2 node
  3. Put computer to sleep
  4. Wake computer
  5. Start a composition

Have you found a workaround?

Quitting Vuo and opening it again causes the composition to receive OSC messages normally.

Other notes

  • Vuo version: 2.0.0-beta4
  • macOS version: macOS 10.13
  • How severely does this bug affect you? It’s annoying but I can work around it.

When problem occurs Vuo outputs in console:
listenForMessages():315 Unknown OSC exception

@dumski, thanks for letting us know about this problem. So far, we haven’t been able to reproduce it or figure out why it’s happening.

However, between Vuo 2.0.0-beta4 and Vuo 2.0.0 we improved the error reporting a bit for OSC, so now it might say something more descriptive than “unknown OSC exception”. When convenient, could you check the console message that you get with Vuo 2.0.0?

On Vuo 2.0 the erros is:
listenForMessages():315 OSC runtime error: select failed

(changed status)

1 Like

I’m not sure it’s related but sometimes I see a message from macOS, that my hostname is already taken and it needs to pick a new hostname for my machine. It happens only sometimes after computer sleep when Vuo Editor is running. But the the problem with OSC described in the bug report is happening after every sleep with Vuo Editor opened (even if it doesn’t run any composition).

Also, when the problem occurs it prevents only OSC subsystem of the composition from work (composition is running but cannot receive OSC messages) and console keeps outputting the error, also draining a lot of CPU power.  

@dumski, it might be worth trying to fix the “hostname already taken” issue in case it is related. Although that issue only happens some of the time, possibly it indicates some underlying network weirdness that could mess up OSC receiving. Some things to try:

If none of those steps solve the problem, then I think we’ll need more clues to figure this out. My coworkers and I have tried to reproduce the problem and haven’t been able to. We investigated the error message you provided (thanks), but unfortunately that didn’t give much insight into the problem.

Would it be possible for you to make a screen recording of the steps that cause the bug to occur? And/or could you open Console, cause the bug to occur, and send us the full logs?

Have you already checked if it’s only Vuo or also other OSC receivers that fail to receive messages after sleep?

Closing bug report. @dumski, if you’re still having trouble, let us know and we’ll reopen it.