By using AWS re:Post, you agree to the Terms of Use

Windows 10 Client can't connect via DCV

0

One of our Windows 10 clients can't connect via Nice DCV to an EC2 Server. Connection for different other clients is fine. Necessary Ports are also open. The logfile says dvsasl.dll is missing on the client but it's in the installation folder of Nice DCV.

Topics
asked 2 months ago43 views
2 Answers
0

Hello,

Can you please share logs from the NICE DCV Client as well as the NICE DCV Server? You can check these logs and find out exactly what is missing. It may not necessarily be the missing library but any additional error. What is the error on the client side prompt ?

Client Logs: https://docs.aws.amazon.com/dcv/latest/userguide/troubleshooting-logs.html

Server Logs: https://docs.aws.amazon.com/dcv/latest/adminguide/troubleshooting-logs.html

Also, Normally DCV uses TCP with HTTP transport unless you are using QUIC. Check to make sure you have TCP port 8443 open. Can you change the Security Group and add TCP port 8443.

SUPPORT ENGINEER
answered 2 months ago
0

Hej, Thank you for the answer. I couldn't find a way to atach logfiles so here is the client log:

bug|                    DcvWpf.Dcv| Failed to find 'dcvviewer.resources, Version=2022.1.8261.0, Culture=en-US, PublicKeyToken=null' library, forcing path: C:\Program Files (x86)\NICE\DCV\Client\bin\AnyCPU\dcvviewer.resources.dll
2022/08/08 10:46:22.497 |  Debug|                    DcvWpf.Dcv| Failed to find 'dcvviewer.resources, Version=2022.1.8261.0, Culture=en, PublicKeyToken=null' library, forcing path: C:\Program Files (x86)\NICE\DCV\Client\bin\AnyCPU\dcvviewer.resources.dll
2022/08/08 10:46:22.497 |  Debug|                    DcvWpf.Dcv| Failed to find 'dcvviewer.resources, Version=2022.1.8261.0, Culture=en, PublicKeyToken=null' library, forcing path: C:\Program Files (x86)\NICE\DCV\Client\bin\AnyCPU\dcvviewer.resources.dll
2022/08/08 10:46:22.854 |   Info|           ViewerApp.DpiWindow| Startup DPI setting of ViewerApp.MainWindow is 125% (120 dpi)
2022/08/08 10:46:22.856 |   Info|           ViewerApp.DpiWindow| Current DPI setting of ViewerApp.MainWindow is 125% (120 dpi)
2022/08/08 10:46:22.857 |  Debug|          ViewerApp.MainWindow| MainWindow is Loaded
2022/08/08 10:46:40.362 |   Info|   ViewerApp.PreSessionControl| Start authentication
2022/08/08 10:46:40.368 |  Debug|               viewer.Endpoint| Setting proxy None
2022/08/08 10:46:40.374 |   Info|      viewer.DcvAuthentication| Authenticating with endpoint 3.108.51.60:8443 
2022/08/08 10:46:40.422 |  Debug|         viewer.ChannelFactory| Registering type viewer.RedirectionChannel for channel dcv::redirection
2022/08/08 10:46:40.424 |  Debug|         viewer.ChannelFactory| Registering type viewer.UsbChannel for channel dcv::usb
2022/08/08 10:46:40.424 |  Debug|         viewer.ChannelFactory| Channel Type viewer.CustomDataChannel does not provide a Name static field and will be ignored
2022/08/08 10:46:40.424 |  Debug|         viewer.ChannelFactory| Registering type viewer.SmartCardChannel for channel dcv::smartcard
2022/08/08 10:46:40.424 |  Debug|         viewer.ChannelFactory| Registering type viewer.FileStorageChannel for channel dcv::filestorage
2022/08/08 10:46:40.425 |  Debug|         viewer.ChannelFactory| Registering type viewer.AudioChannel for channel dcv::audio
2022/08/08 10:46:40.425 |  Debug|         viewer.ChannelFactory| Registering type viewer.ClipboardChannel for channel dcv::clipboard
2022/08/08 10:46:40.425 |  Debug|         viewer.ChannelFactory| Channel Type viewer.DataChannel does not provide a Name static field and will be ignored
2022/08/08 10:46:40.428 |   Info|                  viewer.Utils| Loading decompressors.dll from C:\Program Files (x86)\NICE\DCV\Client\bin\Win64
2022/08/08 10:46:40.430 |   Info|                  viewer.Utils| Library decompressors.dll loaded
2022/08/08 10:46:40.431 |   Info|              decompressor.dll| Using DCP with {cpu-manufacturer:Intel,instruction-set:Avx2}
2022/08/08 10:46:40.431 |  Debug|         viewer.ChannelFactory| Registering type viewer.DisplayChannel for channel dcv::display
2022/08/08 10:46:40.431 |  Debug|         viewer.ChannelFactory| Registering type viewer.InputChannel for channel dcv::input
2022/08/08 10:46:40.432 |   Info|                  viewer.Utils| Loading dvsasl.dll from C:\Program Files (x86)\NICE\DCV\Client\bin\Win64
2022/08/08 10:46:40.434 |  Error|                  viewer.Utils| Failed to load library dvsasl.dll. Error 126
2022/08/08 10:46:40.436 |  Debug|                 ViewerApp.App| First Chance Exception
   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at ViewerApp.App.CurrentDomain_FirstChanceException(Object sender, FirstChanceExceptionEventArgs e)
   at viewer.AuthenticationChannel.NativeMethods.dvsasl_initialize_logging(DcvLogFunction log_function)
   at viewer.AuthenticationChannel..cctor()
   at viewer.AuthenticationChannel..ctor(ICredentialsProvider credentialProvider)
   at viewer.ChannelFactory.CreateAuth(ValidateCertificateDelegate cerManager, UserCertificateSelectorDelegate userCertSelector, ICredentialsProvider credProvider, Endpoint endpoint)
   at viewer.DcvAuthentication.GetSessionCredentials(Endpoint endpoint, ICredentialsProvider credentialProvider, CertificateManager certManager, String& sessionId, String& authToken, X509Certificate& clientCertificate)
   at ViewerApp.PreSessionControl.<>c__DisplayClass20_0.<StartAuthentication>b__0()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
System.DllNotFoundException: Unable to load DLL 'dvsasl.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at viewer.AuthenticationChannel.NativeMethods.dvsasl_initialize_logging(DcvLogFunction log_function)
   at viewer.AuthenticationChannel..cctor()
2022/08/08 10:46:40.437 |  Debug|                 ViewerApp.App| First Chance Exception
   at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
   at System.Environment.get_StackTrace()
   at ViewerApp.App.CurrentDomain_FirstChanceException(Object sender, FirstChanceExceptionEventArgs e)
   at viewer.AuthenticationChannel..ctor(ICredentialsProvider credentialProvider)
   at viewer.ChannelFactory.CreateAuth(ValidateCertificateDelegate cerManager, UserCertificateSelectorDelegate userCertSelector, ICredentialsProvider credProvider, Endpoint endpoint)
   at viewer.DcvAuthentication.GetSessionCredentials(Endpoint endpoint, ICredentialsProvider credentialProvider, CertificateManager certManager, String& sessionId, String& authToken, X509Certificate& clientCertificate)
   at ViewerApp.PreSessionControl.<>c__DisplayClass20_0.<StartAuthentication>b__0()
   at System.Threading.Tasks.Task.Execute()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot)
   at System.Threading.Tasks.Task.ExecuteEntry(Boolean bPreventDoubleExecution)
   at System.Threading.ThreadPoolWorkQueue.Dispatch()
System.TypeInitializationException: The type initializer for 'viewer.AuthenticationChannel' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'dvsasl.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at viewer.AuthenticationChannel.NativeMethods.dvsasl_initialize_logging(DcvLogFunction log_function)
   at viewer.AuthenticationChannel..cctor()
   --- End of inner exception stack trace ---
   at viewer.AuthenticationChannel..ctor(ICredentialsProvider credentialProvider)
   at viewer.ChannelFactory.CreateAuth(ValidateCertificateDelegate cerManager, UserCertificateSelectorDelegate userCertSelector, ICredentialsProvider credProvider, Endpoint endpoint)
2022/08/08 10:46:50.044 |   Info|          ViewerApp.MainWindow| Main window closing, shut down application
2022/08/08 10:46:50.045 |   Info|      ViewerApp.WindowsSession| WindowsSession disposed
2022/08/08 10:46:50.046 |   Info|                    DcvWpf.Dcv| API - DeInitializing DCV library
2022/08/08 10:46:50.056 |   Info|          ViewerApp.MainWindow| Main window closing, shut down application
2022/08/08 10:46:50.056 |   Info|                    DcvWpf.Dcv| API - DeInitializing DCV library

answered 2 months 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