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

demandé il y a 3 ans2324 vues
2 réponses
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/

répondu il y a 3 ans
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
répondu il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions