FreeRDP / FreeRDP-WebConnect

A gateway for seamless access to your RDP-Sessions in any HTML5-compliant browser
514 stars 1.6k forks source link

FreeRDP openstack integration doesn't support TLS enabled keystone. #149

Open Priyatham-Khaspa opened 8 years ago

Priyatham-Khaspa commented 8 years ago

I have liberty based cloud controller with TLS enabled keystone.

On my Hyper-V compute, below is the snippet of keystone [keystone_authtoken] admin_password = **** admin_tenant_name = admin_user = auth_uri = https://:5000 cafile = C:\nova\ca-certificates.crt identity_uri = https://:5000

With the above snippet nova boot, volume attach and detach was working without any issue.

To support instance console using FreeRDP, on my windows machine, I have installed FreeRDP stable msi downloaded from https://cloudbase.it/downloads/FreeRDPWebConnect.msi by providing the details from the above the keystone snippet. When i tried to access instance console, it was not accessible and I found the below error from event viewer of the FreeRDP machine.

The description for Event ID 256 from source wsgate cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer. If the event originated on another computer, the display information had to be saved with the event. The following information was included with the event: send: enpoint-state not OPENsend: enpoint-state not OPENsend: enpoint-state not OPENOpenStack token authentication failed: Error in: WinHttpSendRequest

c64cosmin commented 8 years ago

@Priyatham-Khaspa I've been able to reproduce the problem. Did some debugging around the issue, and saw that it's related to cpprestsdk. I will return with a solution.