VMware Horizon Community
koutaku
Contributor
Contributor

Domain-attached proxy authentication does not work on horizon

In my environment, I use a proxy with a domain.
When connecting to the internet through proxy authentication, Horizon is unable to read the credentials and fails with a 407 error.

Proxy authentication is domained authentication. It is in the following format

ID:<Domain>\<User ID>
Pass:xxxx

We are using Horizon version 2209 (8.7.0 build).
Could you please tell us how to solve this problem?

Logs are sent during communication. Some parts are masked.

--------------

2023-09-29T13:15:28.328+09:00 INFO (01) [client] : Log for "vmware-view" pid = 544 version = "8.7.0-Build20649873" runtime = "6.0.18", start at "13:15:28.085".
2023-09-29T13:15:28.330+09:00 INFO (01) [MainApplication] InstallFIPSModule:79 FIPS mode is not enabled.
2023-09-29T13:15:28.799+09:00 INFO (01) [ApplicationResources] InitializeResources:56 The rich client visual experience is disabled.
2023-09-29T13:15:28.816+09:00 INFO (01) [client] PrintOptions:207 The options from URI:
2023-09-29T13:15:28.818+09:00 INFO (01) [client] PrintOptions:243 "ServerURL" = "xxx.co.jp:443"
2023-09-29T13:15:28.819+09:00 INFO (01) [client] PrintOptions:243 "DesktopName" = "cn=t8g036hmm01,ou=applications,dc=vdi,dc=vmware,dc=int"
2023-09-29T13:15:28.819+09:00 INFO (01) [client] PrintOptions:243 "AppName" = "cn=t8g036hmm01,ou=applications,dc=vdi,dc=vmware,dc=int"
2023-09-29T13:15:28.819+09:00 INFO (01) [client] PrintOptions:243 "UseExisting" = False
2023-09-29T13:15:28.819+09:00 INFO (01) [client] PrintOptions:240 "SamlArtifact" = "F5WE****ae3b"
2023-09-29T13:15:28.884+09:00 INFO (01) [ProcessIdentity] SendMessage:340 My connection info:
{
  "isFromURI": true,
  "serverAddress": "https://xx.co.jp:443/",
  "unattended": false
}.
2023-09-29T13:15:28.887+09:00 WARN (01) [ServerService] RequestEntitlementAction:434 Ignore an entitlement action ("GetAuthStatusRequest": null) due to the current server is null.
2023-09-29T13:15:28.888+09:00 INFO (01) [ServerService] RequestConnect:285 Request connection to https://xxx.co.jp/ by URI
2023-09-29T13:15:28.889+09:00 INFO (01) [MainApplication] SetApplicationMode:690 The application is in normal mode.
2023-09-29T13:15:29.167+09:00 INFO (01) [MainWindow] OnLoaded:164 The main window loaded.
2023-09-29T13:15:29.194+09:00 INFO (01) [libcdk] : Log for pid=544 version=8.7.0-20649873
2023-09-29T13:15:29.196+09:00 INFO (01) [libcdk] : CdkKillSwitch_SetClientInfoSkipMachineDN: Client info will not skip the Machine Distinguished Name.
2023-09-29T13:15:29.198+09:00 INFO (01) [libsdk] : Client::Init:112: Client is initializing...
2023-09-29T13:15:29.198+09:00 INFO (01) [libsdk] : Platform::RegisterExceptionHandlers:126: Dump count is set to 5 and dump flags is set to Full: 0x00001826.
2023-09-29T13:15:29.201+09:00 INFO (01) [libsdk] : Platform::Init:219: View client is running in non-FIPS mode.
2023-09-29T13:15:29.201+09:00 INFO (01) [libsdk] : Platform::Init:226: OleInitialize returns 0x00000001.
2023-09-29T13:15:29.259+09:00 INFO (01) [libsdk] : PartnerAppMgrWin::ServiceInstall:260: Service started
2023-09-29T13:15:29.272+09:00 INFO (01) [libsdk] : PartnerAppMgrWin::ServiceInstall:302: There are currently 0 active controller queue(s).
2023-09-29T13:15:29.276+09:00 INFO (01) [libcdk] : CdkUtil_SetIpProtocolUsage: setting IPv4 as the addressing mode.
2023-09-29T13:15:29.277+09:00 INFO (01) [libcdk] : Using the WSAPoll() API Implementation for polling sockets.
2023-09-29T13:15:29.282+09:00 INFO (01) [libcdk] : Using libcurl/7.84.0 OpenSSL/1.0.2zf-fips zlib/1.2.12 WinIDN
2023-09-29T13:15:29.282+09:00 INFO (01) [libcdk] : SSL settings from Client: TLSv1Disabled = 1, TLSv1_1Disabled = 0, TLSv1_2Disabled = 0, Cipher String = :!aNULL:!eNULL:!EXPORT:kECDH+AESGCM:ECDH+AESGCM:RSA+AESGCM:kECDH+AES:ECDH+AES:RSA+AES, Signature Algorithms = , Support Groups =
2023-09-29T13:15:29.282+09:00 INFO (01) [libcdk] : CdkKillSwitch_SetBENITServerConnectionMode: BENIT server connection mode setting:
2023-09-29T13:15:29.282+09:00 INFO (01) [libcdk] : CdkKillSwitch_SetBENITServerConnectionCounts: BENIT server connection mode counts: TCP 1, UDP 0
2023-09-29T13:15:29.282+09:00 INFO (01) [libcdk] : Set local language as ja-jp.
2023-09-29T13:15:29.301+09:00 INFO (01) [udppxy] : UDPProxy_Initialize: UDP proxy listening on local port 63557...
2023-09-29T13:15:29.301+09:00 INFO (01) [libcdk] : CdkConnection_SetLoopbackPort: loopback port: 63557.
2023-09-29T13:15:29.301+09:00 EROR (01) [libsdk] : Platform::Init:338: Init VmwProtectClient failed
2023-09-29T13:15:29.303+09:00 INFO (01) [ServerService] RequestConnect:285 Request connection to https://xxx.co.jp/ by URI
2023-09-29T13:15:29.303+09:00 INFO (01) [ServerService] RequestConnect:298 No existing connection, request connection directly.
2023-09-29T13:15:29.303+09:00 INFO (01) [MainAppService] StartServices:275 Starting services...
2023-09-29T13:15:29.314+09:00 INFO (01) [AutoUpdateService] Startup:142 Scheduled a task to check update that will run in 30 seconds.
2023-09-29T13:15:29.388+09:00 INFO (01) [MainApplication] ApplyLoggingPoliciesAsync:722 Scheduled a task to apply logging policy that will run in 10 seconds.
2023-09-29T13:15:29.390+09:00 INFO (01) [MainWindow] RegisterTypes:105 Registering types and views...
2023-09-29T13:15:29.392+09:00 INFO (01) [RegionService] NavigateTo:94 "MainRegion" is navigating to "ServersView"
2023-09-29T13:15:29.472+09:00 INFO (01) [client] Connect:172 Connecting to https://xxx.co.jp/ by URI
2023-09-29T13:15:29.493+09:00 INFO (01) [ServerService] Handoff:1069 The server is not in Workspace One mode.
2023-09-29T13:15:29.493+09:00 INFO (01) [client] : Current connection is Unattended? False
2023-09-29T13:15:29.493+09:00 INFO (01) [Preference] AnonymousLoginEnabled:310 current anonymousLoginEnabled is False
2023-09-29T13:15:29.495+09:00 INFO (01) [Preference] LoginAsCurrentUser:286 current loginAsCurrentUser is False
2023-09-29T13:15:29.495+09:00 INFO (01) [client] Connect:224 LoginAsCurrentUser: False, LastLoginAsCurrentUser: False
2023-09-29T13:15:29.498+09:00 INFO (01) [libsdk] : Server::Disconnect:1814: Disconnecting server https://xxx.co.jp:443/
2023-09-29T13:15:29.498+09:00 INFO (01) [libsdk] : Server::HandoffToWorkspaceOne:1616: (1BFB97F94D0) The server is not in Workspace ONE mode.
2023-09-29T13:15:29.502+09:00 INFO (01) [libcdk] : CdkConnection_SetHostnameType: Connection hostname type: Unknown (0)
2023-09-29T13:15:29.520+09:00 INFO (01) [libcdk] : Icon cache root dir will be: C:\Users\4959003\AppData\Local\VMware\VMware Horizon View Client\Icon Cache\.
2023-09-29T13:15:29.526+09:00 INFO (01) [libcdk] : Code cache root dir will be: C:\Users\4959003\AppData\Local\VMware\VMware Horizon View Client\Code Cache\.
2023-09-29T13:15:29.526+09:00 INFO (01) [libcdk] : CdkConnection_SetHostnameType: Connection hostname type: Unknown (0)
2023-09-29T13:15:29.526+09:00 INFO (01) [libcdk] : CdkConnection_SetUrlAndQueries: Connection url: https://xxx.co.jp:443/.
2023-09-29T13:15:29.526+09:00 INFO (01) [libcdk] : CdkConnection_SetHostnameType: Connection hostname type: Unknown (0)
2023-09-29T13:15:29.527+09:00 INFO (01) [libcdk] : CdkConnection_SetHostnameType: Connection hostname type: Name (1)
2023-09-29T13:15:29.527+09:00 INFO (01) [libcdk] : CdkConnection_SetEffectiveUrl: Connection protocol: https, host: xxx.co.jp, hostname type: Name, port: 443, path: /, secure: true.
2023-09-29T13:15:29.527+09:00 INFO (01) [libcdk] : CdkConnection_SetEffectiveUrl: Synthetic url: xxx.co.jp:443, interface: (null), scope: -1.
2023-09-29T13:15:29.535+09:00 INFO (01) [libsdk] : Cdk::SetVerificationMode:85: SSL security mode: 3.
2023-09-29T13:15:29.535+09:00 INFO (01) [libcdk] : Using libcurl/7.84.0 OpenSSL/1.0.2zf-fips zlib/1.2.12 WinIDN
2023-09-29T13:15:29.535+09:00 INFO (01) [libsdk] : Cdk::SetTunnelConnectionCertificateMode:669: tunnel connection certificate checking mode : 0.
2023-09-29T13:15:29.541+09:00 INFO (01) [client] RequestEntitlementAction:1617 Request action "EntitlementLaunchRequest" for '"cn=t8g036hmm01,ou=applications,dc=vdi,dc=vmware,dc=int"' on 'https://xxx.co.jp/'
2023-09-29T13:15:29.613+09:00 INFO (18) [libcdk] : CdkProxy_GetProxyForAutoSettings: Call WinHttpGetProxyForUrl for https://xxx.co.jp:443/.
2023-09-29T13:15:29.615+09:00 INFO (18) [libcdk] : CdkProxy_GetProxyForAutoSettings: Failed to get WinHTTP proxy info with error 0x00002f94.
2023-09-29T13:15:29.615+09:00 INFO (18) [libcdk] : CdkProxy_GetProxyForUrl: Evaluate a semicolon-delimited proxy bypass list for https://xxx.co.jp:443/.
2023-09-29T13:15:29.616+09:00 INFO (18) [libcdk] : CdkProxy_GetProxyForUrl: Found windows proxy string: 'xxx.30:8080'.
2023-09-29T13:15:29.616+09:00 INFO (18) [libcdk] : CdkProxy_HandleFailover: Will go through failover proxy chain: 'xxx.30:8080'.
2023-09-29T13:15:29.616+09:00 EROR (18) [libcdk] : CdkConnection_CheckPeerReachabilityImpl: peer reachability check returns 1 with error 0.
2023-09-29T13:15:29.622+09:00 INFO (01) [RegionService] NavigateTo:94 "MainRegion" is navigating to "ConnectingView"
2023-09-29T13:15:29.657+09:00 INFO (01) [MainAppService] OnClientShow:117 The main window is about to be shown.
2023-09-29T13:15:29.657+09:00 INFO (01) [libcdk] : TaskCombiner: CdkGetConfigurationTask(TODO) added, group task num:1, total task num:1.
2023-09-29T13:15:29.658+09:00 INFO (01) [libcdk] : TaskCombiner: CdkSetLocaleTask(TODO) added, group task num:2, total task num:2.
2023-09-29T13:15:29.658+09:00 INFO (01) [libcdk] : TaskCombiner: Group Tasks(2:disappointed_face:CdkGetConfigurationTask(TODO),CdkSetLocaleTask(TODO),
2023-09-29T13:15:29.715+09:00 INFO (01) [MainWindow] ApplyHWAccelerationPolicies:152 The hardware acceleration is disabled.
2023-09-29T13:15:29.717+09:00 INFO (18) [libcdk] : CdkProxy_HandleFailover: Will use proxy 'xxx.30:8080'.
2023-09-29T13:15:29.772+09:00 INFO (01) [libcdk] : CdkConnection_SetProxy: Proxy: xxx.30:8080, type: 1.
2023-09-29T13:15:29.772+09:00 INFO (01) [libcdk] : CdkConnection_SetAddressType: Connection address type: IPv4 (2)
2023-09-29T13:15:29.772+09:00 INFO (01) [libcdk] : CdkConnection_SetUserMode: Connection user mode: TCP-only.
2023-09-29T13:15:29.772+09:00 INFO (01) [libcdk] : Connection mode: Broker=TCP-only Websocket=TCP-only Data=TCP-only
2023-09-29T13:15:29.834+09:00 INFO (01) [libcdk] : TaskCombiner: CreateRequest for CdkSetLocaleTask(REDY).
2023-09-29T13:15:29.851+09:00 INFO (01) [libcdk] : CdkUtil_SetLocalAddress: address 0.0.0.0 is either a loopback or a wildcard address, not using it.
2023-09-29T13:15:29.851+09:00 INFO (01) [libcdk] : Send request successful: 000001BFB982D2C0
2023-09-29T13:15:29.852+09:00 INFO (01) [libcdk] : CdkUtil_SetLocalAddress: local ip address 172.30.26.34 is being picked.
2023-09-29T13:15:29.883+09:00 INFO (01) [libcdk] : CdkRpc_HandleResponsesAsync: Handle Response with rpc request id: 1.
2023-09-29T13:15:29.883+09:00 INFO (01) [libcdk] : Got a response to request 1.
2023-09-29T13:15:29.883+09:00 INFO (01) [libcdk] : TaskCombiner: CdkGetConfigurationTask(FAIL) removed, group task num:1, total task num:1.
2023-09-29T13:15:29.883+09:00 EROR (01) [libsdk] : Cdk::ErrorCallback:867: The task 'CdkSetLocaleTask' failed with error: エラー: ネットワーク エラーが発生しました (domain=54, code=48).
2023-09-29T13:15:29.883+09:00 EROR (01) [libsdk] : ServerErrorHandler::OnError:70: Handling error 'Error: Network error occurred' (domain=54(CDK_BASIC_HTTP_ERROR), code=48) from task CdkSetLocaleTask.
2023-09-29T13:15:29.884+09:00 EROR (01) [ServerService] GeneralError:724 General error: Error: Network error occurred
2023-09-29T13:15:29.884+09:00 INFO (01) [libcdk] : TaskCombiner: CdkSetLocaleTask(FAIL) removed, group task num:0, total task num:0.
2023-09-29T13:15:29.884+09:00 EROR (01) [ServerService] ConnectionFailed:688 Connection failed: Error: Network error occurred
2023-09-29T13:15:29.885+09:00 EROR (01) [MainAppService] OnServerConnectionFailed:230 https://xxx.co.jp/
2023-09-29T13:15:29.885+09:00 INFO (01) [RegionService] NavigateTo:94 "MainRegion" is navigating to "ConnectFailedView"
2023-09-29T13:15:29.904+09:00 INFO (01) [client] : Connection to server https://xxx.co.jp/ failed: Error: Network error occurred
2023-09-29T13:15:39.389+09:00 INFO (16) [client] ApplyLoggingPolicies:172 Applying loging policies: maxArchives = 10, maxDaysKept = 7.
2023-09-29T13:15:59.323+09:00 INFO (01) [libcdk] : CdkProxy_GetProxyForAutoSettings: Call WinHttpGetProxyForUrl for https://softwareupdate.vmware.com/horizon-clients/.
2023-09-29T13:15:59.324+09:00 INFO (01) [libcdk] : CdkProxy_GetProxyForAutoSettings: Failed to get WinHTTP proxy info with error 0x00002f94.
2023-09-29T13:15:59.324+09:00 INFO (01) [libcdk] : CdkProxy_GetProxyForUrl: Evaluate a semicolon-delimited proxy bypass list for https://softwareupdate.vmware.com/horizon-clients/.
2023-09-29T13:15:59.325+09:00 INFO (01) [libcdk] : CdkProxy_GetProxyForUrl: Found windows proxy string: 'xxx.30:8080'.
2023-09-29T13:15:59.325+09:00 INFO (01) [libcdk] : CdkProxy_HandleFailover: Will go through failover proxy chain: 'xxx.30:8080'.
2023-09-29T13:15:59.325+09:00 EROR (01) [libcdk] : CdkConnection_CheckPeerReachabilityImpl: peer reachability check returns 1 with error 0.
2023-09-29T13:15:59.426+09:00 INFO (01) [libcdk] : CdkProxy_HandleFailover: Will use proxy 'xxx.30:8080'.
2023-09-29T13:15:59.453+09:00 EROR (01) [libsdk] : CdsLogCallback:308: HTTP error 407 received!
2023-09-29T13:15:59.458+09:00 EROR (01) [libsdk] : CdsLogCallback:308: Cds_SearchBulletins: bad client connection
2023-09-29T13:15:59.459+09:00 EROR (01) [libsdk] : SearchBulletins:588: Error looking up available packs: CDS_HTTP_PROXY_AUTHENTICATION_ERROR
2023-09-29T13:15:59.459+09:00 EROR (01) [libsdk] : CdsLogCallback:308: CdsUtil_RemoveFile: Unable to remove file C:\Users\4959003\AppData\Local\Temp\cdstmp_544_0
2023-09-29T13:15:59.460+09:00 EROR (01) [libsdk] : CdsLogCallback:308: Failed to finish active transfer for https://softwareupdate.vmware.com/horizon-clients/index.xml: CDS_HTTP_PROXY_AUTHENTICATION_ERROR
2023-09-29T13:25:38.556+09:00 INFO (01) [client] Disconnect:1174 The server https://xxx.co.jp/ is disconnecting...
2023-09-29T13:25:38.560+09:00 INFO (01) [client] : URI request to launch 'cn=t8g036hmm01,ou=applications,dc=vdi,dc=vmware,dc=int' will be kept.
2023-09-29T13:25:38.591+09:00 INFO (01) [libsdk] : Server::Disconnect:1814: Disconnecting server https://xxx.co.jp:443/
2023-09-29T13:25:38.596+09:00 INFO (01) [libsdk] : Server::CancelLaunching:674: Server (1BFB97F94D0) has no pending launching.
2023-09-29T13:25:38.598+09:00 INFO (01) [libcdk] : Disconnecting from broker https://xxx.co.jp:443/
2023-09-29T13:25:38.598+09:00 INFO (01) [libcdk] : CdkConnection_SetHostnameType: Connection hostname type: Unknown (0)
2023-09-29T13:25:38.598+09:00 INFO (01) [libcdk] : CdkConnection_SetUrlAndQueries: Connection url: .
2023-09-29T13:25:38.598+09:00 INFO (01) [libcdk] : CdkConnection_SetHostnameType: Connection hostname type: Unknown (0)
2023-09-29T13:25:38.599+09:00 INFO (01) [libcdk] : Reseting global state of libcdk.
2023-09-29T13:25:38.599+09:00 INFO (01) [libcdk] : CdkUtil_SetLocalAddress: fd -1 < 0, not retrieving local address.
2023-09-29T13:25:38.601+09:00 INFO (01) [libsdk] : Server::OnLoggedOut:3233: Server (1BFB97F94D0) has logged out.
2023-09-29T13:25:38.601+09:00 INFO (01) [ServerService] LoggedOut:581 The server https://xxx.co.jp/ has been logged out.
2023-09-29T13:25:38.601+09:00 INFO (01) [ServerService] LoggedOut:587 There are no pending actions.
2023-09-29T13:25:38.601+09:00 INFO (01) [ServerService] LoggedOut:591 The client is in background, will quit immediately.
2023-09-29T13:25:38.602+09:00 INFO (01) [RegionService] NavigateTo:94 "MainRegion" is navigating to "LoggingOutView"
2023-09-29T13:25:38.637+09:00 INFO (01) [MainAppService] ShutdownServices:289 Shuting down all services...
2023-09-29T13:25:38.639+09:00 INFO (01) [AutoUpdateService] Shutdown:156 The auto update is about to shutdown...
2023-09-29T13:25:38.640+09:00 INFO (21) [NamedPipeServer] StartAsync:64 "NamedPipeServer" is stopped successfully: "The operation was canceled."
2023-09-29T13:25:38.643+09:00 INFO (01) [MainAppService] OnClientQuit:133 The client is about to quit.
2023-09-29T13:25:38.643+09:00 INFO (01) [MainApplication] Shutdown:494 Shutting down the application.
2023-09-29T13:25:38.643+09:00 INFO (01) [MainWindow] Destroy:256 The main window is going to be destroyed.
2023-09-29T13:25:38.665+09:00 INFO (01) [MainWindow] OnClosed:241 The main window closed.
2023-09-29T13:25:38.686+09:00 INFO (01) [MainApplication] OnExit:523 The application is about to exit ...
2023-09-29T13:25:38.686+09:00 INFO (01) [MainAppService] ShutdownServices:289 Shuting down all services...
2023-09-29T13:25:38.686+09:00 INFO (01) [MainAppService] OnExit:107 The client is about to exit.
2023-09-29T13:25:38.686+09:00 INFO (01) [libsdk] : Client::Exit:152: Client is finalizing...
2023-09-29T13:25:38.686+09:00 EROR (01) [libsdk] : DriveWatcherImpl::Cleanup:161: Hidden window thread not started.
2023-09-29T13:25:39.529+09:00 INFO (23) [libcdk] : Exit poll thread.
2023-09-29T13:25:39.639+09:00 INFO (01) [App] OnExit:87 The application exited with code: OK
--------------

 

Labels (4)
Reply
0 Kudos
0 Replies