Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
API connections fails when used from remote address (outside localhost) #6
You will need to launch the file twice and continue using the .bat file to keep it patched to the hotfixed version.
Then alter connection scripts to connect to data endpoint (headtracking, controller, broadcast) by known IP address of the server instead of the address dispatched by control service. In the hotfixed version, control service will return
You can ignore the
As an example, you would need to alter this line:
// Initialize the proxy headTrackingProxy = new HeadTrackingProxy(response.EndpointAddress, false);
change it to
// Initialize the proxy headTrackingProxy = new HeadTrackingProxy(response.EndpointAddress.Replace("*", remoteServerIP), false);
This is a temporary workaround and v3 will most likely be incompatible with it (
This workaround (a bit altered because we didn't want to break backwards compatibility) is included in latest beta update (1.4.1).