VRay for Sketchup Won't Launch

Hi whenever I click on V-Ray’s Asset Editor or Chaos Cosmos neither of its windows would pop up. I have been un-installing, and re-installing from scratch a few times without luck. Within the last 2 weeks of trialing the software I have only been able to launch these windows twice but there aren’t any patterns associated with why it work or doesn’t work.

The license server is working by checking on either of the following:
License Server

PS C:\Program Files\Chaos\VRLService> .\vrlctl.exe online status
[  OK  ] Online licensing is available.
PS C:\Program Files\Chaos\VRLService>

Checked firewall settings per Troubleshooting - License Server - Chaos Help and see all Chaos services are permitted through firewall.

Found the following in C:\Users\peter\AppData\Roaming\Chaos\VRLService\logs\user.log.

{"component":"app","error":"failed to register application in ULA: failed to register application in ULA: [accounts RegisterApplication]: Post \"http://127.0.0.1:30301/api/v1/register\": dial tcp 127.0.0.1:30301: connectex: No connection could be made because the target machine actively refused it.","message":"Failed to register License Server in ULA","severity":"warning","time":"2023-04-16T21:20:29.1087553+08:00"}
{"component":"app","error":"failed to execute unified login: failed to register with unified login: failed to register application in ULA: [accounts RegisterApplication]: Post \"http://127.0.0.1:30301/api/v1/register\": dial tcp 127.0.0.1:30301: connectex: No connection could be made because the target machine actively refused it.","message":"Error executing unified login. Falling back to SSO token activation...","severity":"warning","time":"2023-04-16T21:20:36.0298039+08:00"}

Looks like whatever service is supposed to be listening on 30301 is not there, and the process PID1784 trying to reach port 30301 fails.

PS C:\Program Files\Chaos\VRLService> netstat -aon | findstr ":30304"
  TCP    0.0.0.0:30304          0.0.0.0:0              LISTENING       1784
  TCP    127.0.0.1:30304        127.0.0.1:55027        ESTABLISHED     1784
  TCP    127.0.0.1:30304        127.0.0.1:55072        ESTABLISHED     1784
  TCP    127.0.0.1:30304        127.0.0.1:55367        ESTABLISHED     1784
  TCP    127.0.0.1:55027        127.0.0.1:30304        ESTABLISHED     1664
  TCP    127.0.0.1:55072        127.0.0.1:30304        ESTABLISHED     1664
  TCP    127.0.0.1:55367        127.0.0.1:30304        ESTABLISHED     2388
  TCP    [::]:30304             [::]:0                 LISTENING       1784
PS C:\Program Files\Chaos\VRLService> netstat -aon | findstr ":30301"
  TCP    127.0.0.1:55621        127.0.0.1:30301        SYN_SENT        1784
PS C:\Program Files\Chaos\VRLService> netstat -aon | findstr ":30301"
  TCP    127.0.0.1:55623        127.0.0.1:30301        SYN_SENT        1784
PS C:\Program Files\Chaos\VRLService> netstat -aon | findstr ":30301"
  TCP    127.0.0.1:55623        127.0.0.1:30301        SYN_SENT        1784
PS C:\Program Files\Chaos\VRLService> netstat -aon | findstr ":30301"
PS C:\Program Files\Chaos\VRLService> netstat -aon | findstr ":30301"
  TCP    127.0.0.1:55626        127.0.0.1:30301        SYN_SENT        1784
PS C:\Program Files\Chaos\VRLService>

Any pointers?

Thanks.

Are you using it with a virtual machine as your profile says? If so that may be the problem.

In a browser, type ‘localhost:30304’ in the address bar and see what happens.

Hi yes I’m running in a Windows 11 VM within Parallels. Which part of the profile says that? Didn’t recall having seen anything complaining it being in a VM. But I don’t see how running in a VM would be an issue though. Is there anything specific related to VRay not being able to run in a VM?

There is nothing wrong with 30304.

Problem is on 30301. For some reasons the error is complaining about not being able to reach 30301 but I’m unable to find any documentation explaining what it is.

Your profile says that the OS you’re using is Windows 11 on an M1 Mac. It might be an issue cause Vray doesn’t tun natively on windows with an arm cpu, so it must be translated from an x86 architecture to an arm architecture while it’s being emulated on the background. It’s not the most effective way to use it.

I can say that I tried to run V-Ray on Parallels on my Macbook a few years ago and it did not work… that may be your problem.

Okay the strangest part is that it does render in V-Ray Vision and the lights work. It’s just the Asset Editor and Cosmos don’t launch which is surprising as these are just HTML based panels.

I did have a look at System Requirements - V-Ray for SketchUp - Chaos Help and it appears that ARM is supported although they weren’t clear on whether it works with Windows on ARM.

The official Sketchup install guide assumes we are going to download and install a Windows based V-Ray for Sketchup. Does V-Ray for Sketchup on Mac downloaded directly from Chaos instead of from Trimble work?

Weird question, Why are you running V-Ray in parallels? You are throwing away performance and increasing your render-time?
SketchUp and V-Ray both run on Mac ARM

I’m trialing both at the moment and have a habit of doing it in VMs. Will try running on the Mac directly.

Does it only show the nodes?
If you go to mychaos, does it show a V-Ray for SketchUp license?
You will need both.