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年前2342ビュー
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ