Some Cantabile Features block the Network Services

Hi @brad

The built in network server is somehow blocked when I use some features in Cantabile. The error message in the browser is “WebSocket connection to ‘ws://localhost:35007/api/socket/’ failed: cantabile-js.min.js”

The features I have observed to cause the issue are:

  • Tools | Options
  • Help | About
  • Tools | Scan Plugin Folders (Quick and Full - while scanning)
  • ‘Power Button’ - when Off
  • and maybe some others I did not test

Paul

That’s correct - most of the network server is shutdown when the audio engine is stopped - and the audio engine is stopped whenever the options dialog is open (which also includes the about box).

The exception to this is the “/engine” endpoint - it works even if the engine is stopped. (But if you use it to start the engine while the options dialog is displayed something will probably explode - I should prevent that).

OK, thank you for that information.

I’m fine with that as long as the engine end point can be used for for starting and stopping the engine. My WebUI is ‘disconnected’ when the options dialog is open. so the user would not be able to restart the engine anyway.

Paul