Skip to content

[BUG] - Unable to connect to specific device #69

@ac2323

Description

@ac2323

I am able to connect to all devices just fine except for this one. I get the following in the browser when trying to preview the desktop:

info: System.Net.Http.HttpClient.IControlrApi.LogicalHandler[100]
      Start processing HTTP request GET https://contoso.com/api/desktop-preview/cc62ef81-57f4-495a-9220-c9f11011bce2/22848 dotnet.runtime.0j6ezsi0n0.js:3:175113
info: System.Net.Http.HttpClient.IControlrApi.ClientHandler[100]
      Sending HTTP request GET https://contoso.com/api/desktop-preview/cc62ef81-57f4-495a-9220-c9f11011bce2/22848 dotnet.runtime.0j6ezsi0n0.js:3:175113
XHRGET
https://contoso.com/api/desktop-preview/cc62ef81-57f4-495a-9220-c9f11011bce2/22848
[HTTP/3 503  106ms]

info: System.Net.Http.HttpClient.IControlrApi.ClientHandler[101]
      Received HTTP response headers after 142ms - 503 dotnet.runtime.0j6ezsi0n0.js:3:175113
info: System.Net.Http.HttpClient.IControlrApi.LogicalHandler[101]
      End processing HTTP request after 143ms - 503 dotnet.runtime.0j6ezsi0n0.js:3:175113
warn: ControlR.Libraries.Shared.Services.Http.ControlrApi[0]
      Failed result. Reason: An error occurred while requesting desktop preview. dotnet.runtime.0j6ezsi0n0.js:3:175113
fail: ControlR.Web.Client.Components.Dialogs.DesktopPreviewDialog[0]
      Failed to get desktop preview: An error occurred while requesting desktop preview. dotnet.runtime.0j6ezsi0n0.js:3:175113

The docker container just gives this error: Desktop preview request for device cc62ef81-57f4-495a-9220-c9f11011bce2 and process 22848 failed: An error occurred while requesting desktop preview. dbug: Microsoft.AspNetCore.HttpOverrides.ForwardedHeadersMiddleware[1] Unknown proxy: 104.23.209.83:0

Trying to connect yields this error and no logs in browser console or Docker logs: An error occurred on the agent while creating remote control session.

Client Info

Browser: Firefox 146.0.1
Language/Locale of Browser: en-us

Agent Version: 0.16.28.0
Agent OS: Windows 11 x64
Language/Locale of Agent OS: en-us

Host Info (if self-hosting)

Host OS: Ubuntu 22.02
Language/Locale of Host OS: en-us
Docker image tag: latest

Additional Context/Info

Running behind Cloudflare proxy. I noticed that "Unknown proxy:" error in the docker logs, but this occurs with the working devices as well so I'm not sure if it's related. I do have the Cloudflare cache bypass rule set up.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions