Workspace App Android "restoring data connection" message when EDT is enabled

Workspace App Android "restoring data connection" message when EDT is enabled

book

Article ID: CTX253776

calendar_today

Updated On:

Description


On the GUI we see a  "restoring data connection" message but the connection is not restored. This happens when EDT is enabled via HDXoverUDP=preferred Studio Policy (and  NetScaler DTLS enabled setting if connecting from outside the network).


On the logs we might see similar messages as the following:
12-04 08:43:32.679 E/UDTInputSteam(16457): read error.
12-04 08:43:32.679 E/UDTInputSteam(16457): com.citrix.udtlibrary.UDT_JNI$UDTException
12-04 08:43:32.679 E/UDTInputSteam(16457):     at com.citrix.udtlibrary.UDT_JNI.udt_recv_native(Native Method)
12-04 08:43:32.679 E/UDTInputSteam(16457):     at com.citrix.udtlibrary.UDT_JNI.udt_recv(UDT_JNI.java:247)
12-04 08:43:32.679 E/UDTInputSteam(16457):     at com.citrix.client.io.net.ip.udt.UDTInputStream.read(UDTInputStream.java:142)
12-04 08:43:32.679 E/UDTInputSteam(16457):     at com.citrix.client.io.net.ip.udt.UDTInputStream.read(UDTInputStream.java:82)
12-04 08:43:32.679 E/UDTInputSteam(16457):     at com.citrix.sdk.cgp.CGPSocket.pumpData(Unknown Source:6)
12-04 08:43:32.679 E/UDTInputSteam(16457):     at com.citrix.sdk.cgp.CGPSocket.getMoreData(Unknown Source:34)
12-04 08:43:32.679 E/UDTInputSteam(16457):     at com.citrix.sdk.cgp.CGPSocket.access$1500(Unknown Source:0)
12-04 08:43:32.679 E/UDTInputSteam(16457):     at com.citrix.sdk.cgp.CGPSocket$CGPInputStream.read(Unknown Source:28)
12-04 08:43:32.679 E/UDTInputSteam(16457):     at com.citrix.client.module.td.tcp.TCPTransportDriver.pumpData(TCPTransportDriver.java:519)
12-04 08:43:32.679 E/UDTInputSteam(16457):     at com.citrix.client.module.td.TransportDriver.run(TransportDriver.java:219)
12-04 08:43:32.679 E/UDTInputSteam(16457):     at java.lang.Thread.run(Thread.java:764)
12-04 08:43:32.679 D/UDTInputSteam(16457): closeSocket.in

Resolution


Disable EDT in Workspace App for Android.

On the Storefront Server
1.       Edit the default.ica file located on the Web Server at \inetpub\wwwroot\Citrix\[Your Store Name]\App_Data directory
2.       In the default.ica file, locate the following lines: [Application].
3.       Create a new line after [Application] and add the following lines:
WfAndroidEdt=on    // for switching EDT On  
 or 
WfAndroidEdt=off    // for switching EDT off
4.       Save the file. (After Saving the file please a while to take effect)
   

Note: 
1.       The Above configuration is only applicable for Android Workspace
2.       The Above configuration will override All the EDT setting configured in DDC policy/ Android Workspace UI Settings

Problem Cause


Workspace App for Android does not support custom MTU in the network, thus entering a crash loop that does not allow the connection to complete and also does not fallback to TCP as the policy suggests.