VR Streaming via Virtual Desktop - Oculus software "Cannot reach server" when attempting install - Solution

  • 14 October 2020
  • 4 replies
  • 2140 views

This is a success story, I swear! Just read until the end. I also have a few suggestions of how to better handle the topics covered.

I attempted to install the Oculus runtime so I can use Virtual Desktop game streaming with my Quest 2, however I had some issues.

When I tried to download the software, I got a 404 error on the Oculus website. I resolved this by transferring the installer (which I had no trouble downloading from Oculus.com on my local machine) to the shadow box via Google Drive. Now the issue is that when I run the installer, I get the error “Looks like we can’t reach the Oculus server. Please check your connection”.

I suspect that Oculus may be blocking the IP range which the datacenter uses, which is not a great sign for compatibility. :rolling_eyes:  Also, yes, I had added firewall rules for the installer and tried other common fixes.

I have a personal VPN I use for all of my internet traffic that runs through a datacenter in Dallas, and I know for sure Oculus isn’t blocking it because I can access the services fine through it locally. I thought I might use it to see if I can get the setup to continue, but I suspected it might interfere with the streaming ability of the Shadow client. It very much did, which is unfortunate.

HOWEVER, I had control over the VPN service (since it’s running on my private VPS), so I just killed the server for a few minutes until the client started responding again. I thought this would be an issue, but then I remembered that I had installed the Virtual Desktop streaming service on the Shadow Box, which is not IP bound (it uses a third party server to bounce the client connection to the Oculus ID you provide, which I guess makes it VPN proof). So, I started the VPN service again after running the VD server, and I was able to begin downloading Oculus software successfully!

Streaming wasn’t at all smooth, but I still very much loved using the shadow box for VR streaming!

I can say I thoroughly enjoyed the experience of troubleshooting this issue, however I understand that most people probably wouldn’t, so I have a few thoughts on how the service could be improved:

  1. There should be an ability to hot-reboot the VPS without needing to completely reset it. I don’t know how you have the VM clusters configured, but I can’t think of any configuration under which this wouldn’t be possible to implement. The “Shut Down Shadow” feature doesn’t seem to be consistently able to reach the VM, so having something in the client area to just force a reboot (kinda like you’d get with most VPS services) would be a good idea.
    1. Failing this, some sort of safe-mode boot would suffice. One which mounts the VM drive and gives access to the registry or something like that. Getting locked out of a VPS is a fairly common issue, and having a solution that isn’t “Nuke the SSD” would be a good idea.
  2. VPN passthrough should probably be a thing, even if it’s some janky feature to use your local IP to do stuff. I imagine there are a great many services that will have blocked some or most of the datacenter IPs you are using to host the VMs.

4 replies

Badge

Is there a simpler solution to this? Just got a Quest 2, and CANNOT install the Oculus software for the same reason. Frustrating since I got shadow just for VR.

Badge

Ok so here's the solution for us computer noobs. Basically a dumbed down version of OP's post. Thanks to him I got it fixed.

 

**IF DONE WRONG, YOU WILL HAVE TO COMPLETELY RESET YOUR SHADOW. FOLLOW AT YOUR OWN RISK.**

 

On shadow, install chrome remote desktop, and set it up so you can access your shadow pc through the chrome remote desktop software. Leave chrome open.

 

Then set up a vpn software of your choice and install it to shadow. I used Mullvad. I chose a US server.

 

Shadow will immediately stop streaming. Your inputs are no good. This is where chrome remote desktop comes into play 

 

Now acess the shadow through chrome remote desktop (I used the app on my phone), and download the oculus software, and run it. Let it install and set it up as you would.

 

 

Now it's ready!

 

Disable the VPN and you should be able to access shadow normally. I'd then uninstall the VPN to not risk it going on.

Badge

So heres a different better solution from reddit:

 

1) Go to your Windows Firewall setting on the Shadow Box
2) Disable the firewall for "Public Networks"
3) Restart your box (not 100% needed, but just to be safe)
4) Everything should work now.

So heres a different better solution from reddit:

 

1) Go to your Windows Firewall setting on the Shadow Box
2) Disable the firewall for "Public Networks"
3) Restart your box (not 100% needed, but just to be safe)
4) Everything should work now.

Interesting, I’m glad you found a simpler solution!

I don’t really use Windows, so I unfortunately can’t provide much input about it. If this were a Linux VPS, then I’d have just used IPTables to route the Oculus traffic through another IP using openVPN (which is technically similar to what I did, but I wouldn’t have needed to route all the traffic at once, since I don’t know if Windows has something like IPTables).

However, if this were a Linux VPS, then We also wouldn’t be talking about using Oculus software :sweat_smile:

Reply