osc icon indicating copy to clipboard operation
osc copied to clipboard

Zeroconf OSC announcements with loopback IP from different machine.

Open lcb01a opened this issue 10 months ago • 0 comments

When running an OSC query application on another computer in the same LAN which announces its loopback address as server address VRChat tries to connect to it and fails.

To Reproduce Start some OSC Query application on another PC in the same network that announces its loopback address for the service it provides. Then start VRC on a different PC and you will get an error in the logs:

Log example from the second PC trying to connect to a service running on the loopback interface of 172.16.1.170.

2025.03.07 00:22:24 Debug - no SRV Records found in not parse answer from 172.16.1.170:5353 2025.03.07 00:22:24 Debug - Found new OSC Service: VRCFT-NHM5HG at 127.0.0.1:57440 2025.03.07 00:22:26 Error - Could not make new OscClient: An error occurred while sending the request

Expected behavior VRC should either discard any OSC query packages from other machines that hold the loopback address in its information or listen on all interfaces so that the application in question can only announce zeroconf packages on the loopback which currently does not work.

Info:

  • Type: Desktop
  • Latest stable release

Additional context I tried to announce the service on the loopback interface only to mitigate this issue but VRC only picks up services that seem to be announced on the LAN or wireless LAN connection.

lcb01a avatar Mar 07 '25 11:03 lcb01a