I want to control the XR18 (X Air Edit) using Open Stage Control

hello. I found out about a program called OSC through a search, but I know so little about computers that I can't get it to start properly.

  1. currently my system
    I have my macbook connected to 2 networks, one for internet (192.168.0.x) and one for controlling the XR18 (192.168.1.x).

  2. how I want to do it
    How to send a message periodically & other questions
    The post above says that I need to send an OSC message.
    So I created a module.js in /Users/***/Documents/Open Stage Control/custom_modules.
    The content of the module.js is as follows (my xr18's address is 192.168.1.2)

setInterval(()=>{
    send('192.168.1.2', 10024, '/xremotefb')
}, 1000)

    1. problem
      After executing open stage control and loading the module.js I created in custom-module, when I start it, the following warning message appears every 1 second and does not work.
(ERROR, UDP) Error: send EHOSTUNREACH 192.168.1.2:10024
    at doSend (node:dgram:714:16)
    at defaultTriggerAsyncIdScope (node:internal/async_hooks:433:18)
    at afterDns (node:dgram:660:5)
    at processTicksAndRejections (node:internal/process/task_queues:84:21) {
  errno: -65,
  code: 'EHOSTUNREACH',
  syscall: 'send',
  address: '192.168.1.2′,
  port: 10024
}

I'm a computer novice and I can't solve it, but I'm sure you're smart enough to figure it out.
I would like a guide to solve this problem.

My end goal is to have
adjust the X-AIR EIDT through the SMC MIXER (midi controller).
I am desperately waiting for your help.
Thanks in advance:)

I suspect you are having trouble reaching the XR18 due to the two networks. Are they both Ethernet or is one WiFi and the other Wired?

Please post screenshots of each adapter settings under System Settings-> Network.

Unrelated to the error message you are getting, '/xremotefb' is not a valid message/ for the XR18. It needs to either be '/xremote' or '/xremotenfb' (no feedback). For now just use '/xremote'.

1 Like

Hello! Thank you for leaving a comment.
Share a picture of the adapter settings on your network.

Just as a test, try disabling your WiFi and see if you can reach the XR18. The other way to do it is to drag the USB Ethernet interface in System Settings->Network, up above the WiFi so it has higher priority. Both of these will break your WiFi internet connect so this is just for testing, not a solution.

Also, can you open a terminal window and try to ping the XR18 at 192.168.1.2?

Hello, the network connected to XR is 192.168.1.2.

I conducted the ping test and I can confirm that it is connected properly.

Finally, I changed it to xremote as you gave me feedback, and the network only connected the console (XR18), but OSC still gets the same error.

Under System Settings->Network, please click on WiFi and post a screenshot of that. Then click on 'Details' on the right side of the connection and post a screenshot of that as well.

EHOSTUNREACH implies that there's no route to the XR18. This could be because your wired and WiFi networks have overlapping netmasks.

I also noticed that you are connected to a VPN. As another test, try disabling that connection as well.

Thank you for your hard response so far.
But, I'm sorry for you. My problem hasn't been solved yet.

  1. There is nothing even if I look at the details because you told me to turn off the Wi-Fi.
    2024-12-15-10-58-38 hosted at ImgBB — ImgBB

  2. I turned off the VPN. For USB 10/100/1000 Lan, it's a network connected to XR18. Only one network connected to xr18 is active.
    2024-12-15-11-02-46 hosted at ImgBB — ImgBB

  3. The same problem happens as a result. I think 127.0.0.1:8000 here is the problem. The wired/wireless router connected to XR18 is 192.168.1. Isn't it because 127.0.0.1:8000 is different from my wired/wireless router?
    2024-12-15-11-02-33 hosted at ImgBB — ImgBB

127.0.0.1 is your loopback network address (computer addressing itself without using the actual network), it should not conflict with other networks. As far as I can see your OSC config is fine, there must be something forbidding OSC to send messages on this network.

So if you know how to solve it, can you let me know?

Unfortunately I don't, I don't use Mac OS and I'm not familiar with how it handles networking, my naive guess would be to look into firewall settings if there's one. It's the first time this error has been reported, but maybe someone else will have a clue.

The MacOS firewall only blocks inbound connections, not outbound.

In a terminal, enter "netstat -rn | grep 192.168.1 |grep default" without the double-quotes. Please post the output.

Also enter "ifconfig", again without the double-quotes, and post the output.