aws / res

Research and Engineering Studio (RES) is an AWS supported open source product that enables IT administrators to provide an easy-to-use web portal for scientists and engineers to run technical computing workloads on AWS.
https://github.com/aws/res
Apache License 2.0
81 stars 15 forks source link

Issue launching desktop sessions on RES 2024.06 [BUG] #51

Open bnelson-iv opened 4 months ago

bnelson-iv commented 4 months ago

Describe the bug I am seeing the "The connection has been closed. Transport error" message while trying to connect to RHEL 8 instances. I have reviewed the troubleshooting documentation and ensured the correct DHCP options are in place.

Steps to reproduce Steps to reproduce the behavior:

  1. Launch a RHEL 8 Virtual Desktop
  2. When session becomes "Ready", click "Connect" link

Expected behavior Expected a web-based DCV client load and show the desktop session.

Actual behavior A new tab opens and there is a short pause while the "Connecting" spinner shows, then the "The connection has been closed. Transport error" message appears.

Environment (please complete the following information):

Additional context Using AWS Directory Service AD - confirmed DHCP options set includes AmazonProvidedDNS and domain is set to ec2.internal

Thank you

Mohjeet commented 3 months ago

Could you provide us with any errors that you see in the following log group when a connection attempt was made: <envname>/vdc/dcv-connection-gateway

patrick-commit-us commented 3 months ago

@Mohjeet I'm getting the same error but with Ubuntu. Here are my logs. Note - I'm just running the standard res-demo environment with my own custom images following the HPC recipe exactly.

Connection initiated fault: internal error during websocket connection: [Internal] Routing Error: Unexpected status code: 500 Internal Server Error: Unexpected status code: 500 Internal Server Error >> Unexpected status code: 500 Internal Server Error

dcv-error-log.txt