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

질문됨 3년 전2204회 조회
2개 답변
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/

답변함 3년 전
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
답변함 3년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠