login vsi company logo login vsi company logo 250x40
  • Home
  • Blog
  • Login VSI
  • Troubleshoot Citrix Web Interface when using Login VSI and CTXConnector

Troubleshoot Citrix Web Interface when using Login VSI and CTXConnector

Troubleshoot Citrix Web Interface when using Login VSI and CTXConnector

In my previous post, I discussed common errors when using SFConnect. Here I will focus on errors and troubleshooting issues related to CTXConnector and the Citrix Web Interface. The first step in setting up Login VSI tests in a Citrix XenApp or XenDesktop environment is to know which Login VSI Citrix connector to use. This is pretty simple. If you are using Citrix Web Interface, you will use CTXConnector. If you have Citrix StoreFront, you will use SFConnect.

CTXConnector

So what happens when a session is initialized usting CTXConnector? The CTXConnector opens up the Citrix Web Interface and inputs the user credentials. Here, it looks for and clicks on the published desktop shown in the Citrix Web Interface. CTXConnector then downloads the ICA file and opens it up in the launcher. The Citrix Receiver then takes the file, connects to a target machine, and boots off a test. This process is fairly simple and straightforward. But the issue is that CTXConnector is not as robust and reliable as SFConnect. CTXConnector does work, but there is usually some kind of tweaking in the command line that must be done.

What are the most common issues seen with CTXConnector?

1. A timeout while waiting 30 seconds for document to contain text ‘User name’

troubleshoot citrix web interface when using login vsi and ctxconnector a timeout while waiting 30 seconds for document to contain text user name

What happened here is that the Citrix Web Interface was opened, but the "error" was that the user credentials could not be input. The reason for this is probably that the Citrix Web Interface URL was not placed into the Local Intranet and Protected Mode was not set to Enabled. By putting the URL into the Local Intranet with Protected Mode enabled, Internet Explorer security will not block CTXConnector from interacting with the Web Interface.

troubleshoot citrix web interface when using login vsi and ctxconnector internet options enable protected modeThese are the steps to resolve this issue:

  • Open Internet Explorer
  • Go to Internet Options
  • Click the Security tab
  • Select Local Intranet
  • Check the box next to Enable Protected Mode
  • Click Sites
  • Click Advanced
  • Add your URL to the field and click Add
  • Apply your settings

2. Closing Internet Explorer before the test resources started

troubleshoot citrix web interface when using login vsi and ctxconnector closing internet explorer

Get a window like this and see Internet Explorer close? This is an issue with timing. CTXConnector has timers to be able to log in to the user, as the time waiting to be able to log on is important to user experience. If it takes a long time for the Citrix Web Interface to appear on Internet Explorer, you will reach a time out and the Web Interface will close. In order to overcome this, timer parameters need to be placed into the Login VSI command line: -t1 and –t2.

T1 is the time between the Web Interface presenting the available resources and CTXConnector trying to start the specified resource. If the parameter is not specified it defaults to 25 seconds.

T2 is the time between the resource being started and CTXConnector trying to log off from the Web Interface.

So how do you use it? Just add the parameters to the end of the command line like this:

\\Server\VSIshare\_VSI_Binaries\Connectors\CTXConnector.exe -s http://totallylegitserver.com –u Loginvsi1 –p -tab “Desktops –r -t1 5 –t2 5

As each environment is different, your times for the timers will probably be different as well. Find the sweet spot that works for you.

While these are very useful to be able to connect onto the Citrix Web Interface, putting the timers too high can skew the results of your test. Each user signing on increases the overall test time.

Conclusion

Make sure CTXConnector can interact with the Citrix Web Interface. The timer is an important part of this, and I hope these tips will help you overcome any issues that arise. If not then we are there to help at support@loginvsi.com.

Tags: How-to, Login VSI, Citrix, XenApp, XenDesktop, Best Practices, Support

Popular Blogs

login-vsi-vdi-performance-summit

The VDI Performance Summit - Virtual Conference and Expo

Visit the VDI Performance Summit to gain knowledge and experience about performance and tuning VDI, improving End-User Experience and IT service. Join us at the ONLY virtual event 100% dedicated to VDI performance and tuning | May 2, 2019 This 1-day event offers key-notes presented by the best VDI performance experts in the world, technical and business oriented breakout sessions, the possibility to chat with experts directly to discuss your own situation, and a virtual exhibit hall featuring… Continue Reading

Scalability testing Parallels Remote Application Server with Login VSI

Recently I went to VMworld in Barcelona where Login VSI had a booth on the expo... While I can’t remember exactly how many conversations I had - there had been so many that I lost my voice on day one. What was new this year is that quite a few people asked if our software is compatible with the solutions from Parallels specifically their Remote Application Server (RAS) (Datasheet). Continue Reading
Login VSI Blog Article - Microsoft Windows 10 Default FTA Associations - Teaser Image

Windows 10 Default File Type Associations and Login VSI

When Login VSI 4.1 was released, the majority of desktops were running Windows 7 and life was easy. We’d set the default filetype for an application and it would simply work. The default and industry standard workloads in Login VSI include launching and using Adobe Reader as part of the virtual user simulation. Because Login VSI doesn’t always know which version of Adobe Reader is installed, or where it’s installed, the workload relies on the file type association (FTA) for .pdf documents to be… Continue Reading
Login VSI - Press Release - IGEL - Login VSI Partner to Optimize End User Computing Experience Image

[Press Release] IGEL Partners with Login VSI to Optimize the End User Computing Experience

Login PI enables organizations to better protect the performance and availability of their IGEL OS-powered virtual desktop environments San Francisco, USA, Feb. 6, 2019: IGEL, a world leader in software-defined endpoint optimization and control solutions for the secure enterprise, today announced that it is partnering with Login VSI, provider of software solutions to test and actively monitor the performance and availability of virtual desktop environments, including VDI and… Continue Reading
Login VSI - Blog - Login PI Blog Teaser Image - Windows Virtual Desktop: How To Monitor User Experience With Login PI

Windows Virtual Desktop – How to Monitor User Experience?

Microsoft has just announced the public preview of their new Windows Virtual Desktop (WVD) offering at Microsoft Ignite on Tour in Amsterdam today. For those of you who’ve not followed the rumors or the private beta, here’s the outline... Continue Reading
Investigating Online Application Performance with Login PI

Investigating Online Application Performance with Login PI

As many companies do, we use a CRM system. Recently, I have been getting complaints about our cloud CRM system, Microsoft Dynamics, being slow. I tried to investigate this by shadowing one of our users to see what was wrong. As expected, everything was fast. 15 minutes later, the same user reported slowness again. How could I investigate this without bothering the users? Continue Reading
Cookie Settings