Issue with the Nice DCV server

0

I'm getting an error when trying to connect to an ec2 instance of the `NICE DCV for Windows' AMI. From my client I get an 'Unable to connect: server did not respond' error.

I've configured my default security group to allow traffic on TCP & UDP ports 8443.
I can connect using RDP and notice that the DCVServer service is stuck in 'starting' state. Attempting to stop and re-start the service does not help and the service will never start.

I've spun up 5 ec2s and have this problem with 2 of them but can connect to the rest without any issues.

We're trying to allow these ec2s to be created and connected to via DCV Viewer without having to go onto the machines first.

Any help on this would be greatly appreciated!

Thanks,
Jay

asked 2 years ago464 views
2 Answers
0

For some reason, the ec2 instance could not connect to the ec2 metadata service which prevented the DCV server from starting.

The solution was running this PS1 script on startup:

"Import-Module c:\ProgramData\Amazon\EC2-Windows\Launch\Module\Ec2Launch.psm1 ; Add-Routes
Restart-Service DCVServer"

http://woshub.com/running-powershell-startup-scripts-using-gpo/

answered 2 years ago
0

Hi Jay,

in order to let us better understand your configuration, could you please provide the following information:

  • whether or not you are using a Marketplace AMI or a custom one
  • instance-type
  • region on which the instances were launched
  • AMI id

Thanks,
Fabio

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions