Jump to content


Photo

Citrix Receiver for HTML5 SDK - Black Screen

Started by Patrice Jacques-Gustave , 04 January 2017 - 12:00 PM
7 replies to this topic

Best Answer Patrice Jacques-Gustave , 04 January 2017 - 04:01 PM

Well done !!! 

 

Everything is working now. The issue was in CitrixHTML5SDK.js file.

 

After we change this /*throw DHxTl;*/ is ok.

Patrice Jacques-Gustave Members

Patrice Jacques-Gustave
  • 14 posts

Posted 04 January 2017 - 12:00 PM

Hi All,

 

We have a black screen when we try to open an ICA session with the Citrix Receiver for HTML5 SDK 2.2.

 

We use Citrix StoreFront 3.6 and Citrix XenApp 7.6. We have created a test web Store "http://x.x.x.x/Citrix/testWeb" and activated the HTTP Basic Authentication.

 

We have copied CitrixHTML5SDK.js, HDXEngine.html, HDXLauncher.js and SDKExample.html in Store Web Root Folder (http://x.x.x.x/Citrix/testWeb).

 

we have copied the complete CitrixReceiverHTML5Hosting_2.2 folder in the Store Web Root Folder.

 

we can lauch the SDKExample, and enter a credential. We have the list of published application but when we click on icons we have always a black screen, either in embbeded  or new tab mode.

 

Thank in advance.



Patrice Jacques-Gustave Members

Patrice Jacques-Gustave
  • 14 posts

Posted 04 January 2017 - 12:08 PM

More info;

 

When we track the web session in Chrome F12 tool we can see this :

 

Receiver Error -  type: invalidToolbarData description: Invalid/missing imageUrl value.

 

and 

 

Uncaught KGzIN {type: "invalidToolbarData", description: "Invalid/missing imageUrl value."}

 

update 2 ; 2017 01 04 : 15:37

 

Now I have this in plus : 

 

This appears to be Chrome

<url>/Citrix/testWeb/HTML5SDK2/src/Business/IcaClient55550622042016.js

 

currentLng set to: en

<url>/Citrix/testWeb/HTML5SDK2/ThirdPartyLibrary/JQuery/i18next-1.6.0.min.js

 

loaded:

<url>/Citrix/testWeb/HTML5SDK2/ThirdPartyLibrary/JQuery/i18next-1.6.0.min.js

<url>/Citrix/testWeb/HTML5SDK2/locales/en.js

 

and after that always black screen

 

 

 

 

Do you know if there is correlation with these and the black screen ?

 

Thank



Patrice Jacques-Gustave Members

Patrice Jacques-Gustave
  • 14 posts

Posted 04 January 2017 - 02:36 PM

More info;

 

Now I have this in plus : 

 

This appears to be Chrome

http://192.168.1.3/Citrix/testWeb/HTML5SDK2/src/Business/IcaClient55550622042016.js

 

currentLng set to: en

http://192.168.1.3/Citrix/testWeb/HTML5SDK2/ThirdPartyLibrary/JQuery/i18next-1.6.0.min.js

 

loaded:

http://192.168.1.3/Citrix/testWeb/HTML5SDK2/ThirdPartyLibrary/JQuery/i18next-1.6.0.min.js

http://192.168.1.3/Citrix/testWeb/HTML5SDK2/locales/en.js

 

and after that always black screen



Patrice Jacques-Gustave Members

Patrice Jacques-Gustave
  • 14 posts

Posted 04 January 2017 - 04:01 PM

Well done !!! 

 

Everything is working now. The issue was in CitrixHTML5SDK.js file.

 

After we change this /*throw DHxTl;*/ is ok.


Best Answer

Trentent Tye Members

Trentent Tye
  • 60 posts

Posted 05 April 2017 - 09:22 PM

Just to add, I had this same issue with ImageURL not found throwing up an error.  I commented out the

// sessionObject.addToolbarBtns(cst);

 

in the SDKExample.html file.



Silvio Balduzzi Members

Silvio Balduzzi
  • 55 posts

Posted 14 April 2017 - 08:54 AM

Hi Patrice,
 
I have the same problem with the black screen. Can you explain me the / * throw DHxTl; * / solution?
I have searched "throw DHxTI" in my CitrixHTML5SDK but there isn't.
 
Thank you
 
Silvio


Patrice Jacques-Gustave Members

Patrice Jacques-Gustave
  • 14 posts

Posted 05 May 2017 - 10:04 AM

Hi Silvio Balduzz

 

Have you found or you need help ? 

 

I was a little busy sorry for my delay. Tell me if you need more details.

 

Patrice Jacques-gustave



Felix Marte Members

Felix Marte
  • 8 posts

Posted 05 May 2017 - 08:13 PM

I wanted to add a scenario to this thread that just occurred to us this week.  A couple of days ago we started getting reports of users not being able to launch sessions via the HTML5 Receiver and the symptom was the same black screen.  While troubleshooting the issue and scratching my head - since nothing changed with my Citrix servers or NetScaler Gateways, our information security team reached out to me asking about strange blocking behavior they observed.

 

It turned out that after a recent update on our firewalls, it was blocking the IcaClient*.js file being send to the clients PC as part of the HTML5 session launch. The labelled vulnerability was called "Mozilla FireFox SharedWorker MessagePort Handling Memory Corruption Vulnerability" and is associated with CVE-2014-1548.  Although the vulnerability is documented for FireFox, it should be noted that the affect of the block was produced on multiple browsers.  

 

We had to resolve this at the firewall level.  It should also be noted that we have SSL inspection capability on our firewall, which enabled it to see the otherwise encrypted traffic between the client and the NetScaler in order to block what it thought was malicious behavior.

 

 

Cheers,

Felix Marte