Pages

Showing posts with label CAG. Show all posts
Showing posts with label CAG. Show all posts

Tuesday, 19 March 2013

An error occurred while making the requested connection

Please check out www.kaztechsolutions.co.uk for more of my technical posts, alternately please call us on 01932 268289. 

Recently I had an issue where I was getting the following error when trying to launch a Virtual Desktop via a CAG.


Upon looking closer at the issue I noticed that the Web Interface config had not been setup right and the URL for the STA was actually missing the correct path (http://IPAddressOfDDC/scripts/ctxsta.dll) to the STA and once it was changes to the correct format the Virtual Desktops could launch successfully.



If you have the same issue check the event logs of the Web Interface and see if event ID's 30016 and 30205 are being logged.

Hope this helps someone out.

Monday, 4 February 2013

Citrix Access Gateway - Recovery Mode

Please check out www.kaztechsolutions.co.uk for more of my technical posts, alternately please call us on 01932 268289. 

I had an issue this week where I'd setup a XenDesktop environment and everything was looking good and internal testing showed everything was working as it should be.  I moved on to the configuration of the CAG VPX and after configuring just the hostname, Licensing, STA, Access List, Logon Points and the Date and time the CAG would restart it self over and over again until it went in to Recovery Mode.

Upon troubleshooting I started to configure the CAG bit by bit and I found that once I configured the STA the CAG would then restart - very strange.

So I enabled logging on the DDC using the Log EnablerV3 and I could see that I was getting STA error's logged in the broker log, so i started to think that this must have been a dodgy install even though XD installer didn't highlight anything once it had finshed.

So I had a quick peek in the registry and i could see under the following key that the STA identifier wasn't created correctly.

HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\DesktopServer


So I re-ran the Broker_Service_x64.msi from the XD iso and then refreshed the registry and I could now see that the STA identifier was now correctly configured in the registry.



Hope this helps someone out.


Tuesday, 14 August 2012

Mobile Devices and CAG VPX

Please check out www.kaztechsolutions.co.uk for more of my technical posts, alternately please call us on 01932 268289. 

Ok have you run in to the lovely issue with trying to configure a mobile device such as an iOS device or android to connect to a XenApp service site via a CAG VPX?  We'll after reading all the edocs, multiple forums posts and just at of playing I finally got it working.

You may run in to an error and be presented with the following message
"The address given did not provide a valid App list. Please check the address, gateway settings, and your network connection.”"
I've spent a load of time on this and i could never find any documentation that specified what exactly was needed..... do I need to add config.xml to the basic logon point? Do use FQDN or Netbios....Ahh!

Anyways lets begin

Before you start
  1. A Web Interface of 5.4 but at least 5.x.
  2. Access Gateway 5.02 or above.
  3. FQDN certs and intermediate cert.
Web Interface
  1. Create a service site called /mobile but can be anything you choose.
  2. Name farm and add Servers to the site along with XML port and transport type.
  3. Configure the mobile site with "Gateway Direct" in secure access
  4. Add address of externally FQDN (cagaddress.domain.com)
  5. Set STA as http://XASrv.domain.com:port/scripts/ctxsta.dll
  6. Authentications point at Web Interface
  7. Set Authentication Method to Prompt
Access Gateway
  1. Configure ICA Access Control List - ICA and SR. 
  2. Configure STA - Exact setting you configured for the WI.
  3. Configure authentication profile you require.
  4. add cert and make sure you also add the intermediate cert and then Chain the certs.
  5. Create a Basic Logon Point called Mobile and check Authenticate with Web Interface
  6. Website Configuration:

  • Home Page - http://XASrv/mobile/config.xml
  • Web Address - http://XASrv/mobile/config.xml

Note: for the Web Address also try just "http://XASrv"

Citrix Receiver mobile
  1. The Root CA certificate that created the AG certificate must be present on the mobile device.
  2. iPad - URL https://cagaddress.domain.com/lp/mobile 
  3. iPhone - URL https://cagaddress.domain.com/lp/mobile/http/XASrv/mobile/config.xml



Use the Online URL Generator http://bit.ly/URL_Generator to create simple way of setting up the receiver. 

If you think i've missed something off please dont hesitate to let me know.