Jump to content
Welcome to our new Citrix community!
  • 0

Browser Content Redirection not redirecting


Martin Koumlnig

Question

Hello Experts,


I´m wanted to test "Browser Content Redirection" on XA7.17, but it wont work for me :-(

(FYI: HTML5 Videoredirection works fine.)

 

Here is what i tried so far:
- enabled Policies for Browser Content Redirection and its ACLs. (whitelist)
- enabled/disabled Browser Content Redirection Proxy (and verified that the XA Server can use the proxy anonymously)
- enabled debugging in HdxVideo.js
- run 32bit as admin
- checked browser settings (third party extensions and extended security options)

 

but instead of redirecting it always falls back to server rendering!

 

I see that the "Citrix HDXJsInjector" addon is running in IE.
I see that browing a whitelisted site is proccessed for redirection. (Browser Tab Name changes to "CitrixVideo:{...." for a few seconds.
I also See WebSocketService.exe is using CPU when a Browser Content Redirection Proxy is set via policy.

But on the client side (Receiver 4.11) no hdxbrowser.exe is started.
 

I also tried to trace HDX* CDF modules (as in CTX230052) but there are some .tmf files missing in CDFControl (db5fd8b1-f87c-a983-833e-802f0d7d8d8a and 8cce7a8a-5323-94ad-cafc-43d9e332623c) which ends in an unreadable output.

 

So all I have is debugging output from HdxVideo.js

 

Maybe someone can give some further hints?!

thanks for help
Martin


Here is the debug output: (www.google.de is whitelisted)

www.google.de
[HdxVideo.js] OnUnload (window): [object Window]
[HdxVideo.js] DocumentBodySuppressor.start()
[HdxVideo.js Events] interceptEventListeners()
[HdxVideo.js] DocumentBodySuppressor.trySetBodyStyle(): stopping observer
[HdxVideo.js] OnLoad (window): [object HTMLDocument]
[HdxVideo.js] Unredirected video count: 0
[HdxVideo.js] HDX_DO_PAGE_REDIRECTION: true
[HdxVideo.js] infallback: undefined
[HdxVideo.js] Installing event listeners.
[HdxVideo.js] msexitFullscreen - Found!
[HdxVideo.js] onWSOpen:
[HdxVideo.js] >>> {"v":"pageurl","url":"https://www.google.de/"}
[HdxVideo.js] onVisibilityChange:
[HdxVideo.js] >>> {"v":"vis","vis":true}
[HdxVideo.js] onResize:
[HdxVideo.js] >>> {"v":"pageredir"}
[HdxVideo.js] sendClientSize:  w: 1316  h: 755
[HdxVideo.js] >>> {"v":"clisz","w":1316,"h":755}
CSI/tbsd_: 15.599,072ms
CSI/_tbnd: 15.658,128ms
[HdxVideo.js] <<< {"v":"winid","title":"CitrixVideo:{1b83a2dc-39ae-4455-ad7d-d56e71fbb45d}"}
[HdxVideo.js] onWSMessage: winid: CitrixVideo:{1b83a2dc-39ae-4455-ad7d-d56e71fbb45d}
[HdxVideo.js] setWindowTitle: CitrixVideo:{1b83a2dc-39ae-4455-ad7d-d56e71fbb45d}
[HdxVideo.js] documentTitleMutator.start()
[HdxVideo.js] >>> {"v":"winid"}
[HdxVideo.js] <<< {"v":"pageredir"}
[HdxVideo.js] onWSMessage: pageredir
[HdxVideo.js] Redirecting page -- 화이팅! https://www.google.de/
[HdxVideo.js] localClientScreenOffset: {0, 55}
[HdxVideo.js] clientScreenOffset: {0, 55}
[HdxVideo.js] >>> {"v":"cso","x":0,"y":55}
[HdxVideo.js] <<< {"v":"winid"}
[HdxVideo.js] onWSMessage: winid: undefined
[HdxVideo.js] setWindowTitle: undefined
[HdxVideo.js] setWindowTitle: No titles remain.  Reverting to original title.
[HdxVideo.js] <<< {"v":"error","svrender":true}
[HdxVideo.js] onWSMessage: error: undefined
[HdxVideo.js] OnErrorNotification(undefined): true
[HdxVideo.js] Setting hdxMediaStream.fallback = true
[HdxVideo.js] Showing content -- suspendRedirection.

www.google.de
[HdxVideo.js] OnUnload (window): [object Window]
Trennzeichen für Navigationsereignisse
Trennzeichen für Navigationsereignisse
HTML1300: Navigation wurde ausgeführt.
www.google.de
CSI/tbsd_: 18.039,969ms
CSI/_tbnd: 18.040,357ms
[HdxVideo.js] In page redirection fallback mode.
[HdxVideo.js Events] interceptEventListeners()
[HdxVideo.js] OnLoad (window): [object HTMLDocument]
[HdxVideo.js] Unredirected video count: 0
[HdxVideo.js] HDX_DO_PAGE_REDIRECTION: true
[HdxVideo.js] infallback: true
[HdxVideo.js] onClick: page: 564,702 client: 564,702 screen: 564,757

 

Link to comment

17 answers to this question

Recommended Posts

Hi Martin,

 

looks like client receiver traces are not having traces for the modules 

 

IcaClient_Multimedia_HdxBrowser_CtlGuid

IcaClient_DriversVd_BrowserRedir_CtlGuid

IcaClient_DriversVd_PortForward_CtlGuid

 

Can you check with the process explorer tool if the vdbrowsern.dll is loaded or not (something like below). If you see this being loaded. Please capture the cdftraces once again with the above modules and share these traces.

image.thumb.png.f9ecd0349df9f8894cb3e43d3e7e8194.png

 

Thanks

Kishore

Link to comment

I am trying BCR with VDA 7.15.3 and "Receiver" 1812.


For Chrome BCR works. HdxBrowserCef.exe starts on the Client and Youtube is nearly ok, i can't change resolution in Videos.

 

Anyone who has this issue?

 

On the same VDA BCR for IE does not work.
HdxVideo.js debuging tells:

 

[HdxVideo.js] <<< {"v":"error","svrender":true}
[HdxVideo.js] onWSMessage: error: undefined
[HdxVideo.js] OnErrorNotification(undefined): true
[HdxVideo.js] Setting hdxMediaStream.fallback = true
[HdxVideo.js] Showing content -- suspendRedirection.

 

IE starts rendering on VDA.

Does anyon has an Idea or a simmilar Problem?

 

thx!

Link to comment
On 3/22/2018 at 7:15 PM, Kishore Kunisetty said:

Team has tried and confirmed that it is failing due to one of the registry is not being set properly on the upgrade of 4.9 to 4.11 scenario.

 

Work around is as the following:

On the client, update the following registry value:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\ICA Client\Engine\Configuration\Advanced\Modules\ICA 3.0\VirtualDriver

Add the following string to the end of this registry value

WebPageRedirection,PortForward

 

Please give it a try and keep us informed.

Thanks,

Kishore

 

Thanks Kishore and team, this got it going.

 

Unfortunately, I'm running into another issue. The viewport is messed up. Perhaps due to high resolution / scaling settings on local client?

The cursor is also significantly offset (not clicking where I'm pointing), making it impossible to use.

 

Using Citrix Receiver 4.11 against VDA 7.17. Local system is Windows 10 Pro at 2560 x 1440 pixels @ 125% scaling.

 

image.png

 

EDIT: Yeah, going down to 1920x1080 @ 100% scaling and it all works great!

Link to comment

Team has tried and confirmed that it is failing due to one of the registry is not being set properly on the upgrade of 4.9 to 4.11 scenario.

 

Work around is as the following:

On the client, update the following registry value:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\ICA Client\Engine\Configuration\Advanced\Modules\ICA 3.0\VirtualDriver

Add the following string to the end of this registry value

WebPageRedirection,PortForward

 

Please give it a try and keep us informed.

Thanks,

Kishore

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...