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

posta 3 anni fa2337 visualizzazioni
2 Risposte
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/

con risposta 3 anni fa
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

AWS
con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande