Question

Cannot connect to the citrix XenApp server. Could not find specified Citrix XenApp server.

Asked by: jkim1125

Experts,

Current Setting:
Xenapp4.5  WI5.0  CSG3.0
WI/SG on the same server
Web Interface Site: https://citrix.company.com:444/citrix/xenapp
Gateway Server Detail: servername1.company.com
STAs: http://servername2.company.com/scripts/ctxsta.dll
           http://servername3.company.com/scripts/ctxsta.dll
Gateway Direct for client access method.
WI /CSG (20.x.x.x)
CTX2 server (10.x.x.x), CTX3 server (10.x.x.x)
XML:8080
SSL:444
80, 443 opened for access
telnet 1494 works
No blocks from router.

Issue: Users can hit the WI, however, when they click on apps they all get the same error.
Do I need to setup some kinda WI rules and client access tables?

Thanks,

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-08-27 at 12:08:09ID24687768
Tags

Xenapp4.5 WI5.0 CSG3.0

Topic

Citrix

Participating Experts
3
Points
500
Comments
34

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. WI, CSG, IIS issue
    Right now I have the WI and CSG on one server in the DMZ. On the secure LAN we have 2 presentation servers. Ports open to the secure network are: 80,443,1494 Ports open to the External network are: 80,443 Right now the CSG is configured to listen on port 443 and IIS is co...
  2. There is no citrix ssl server configured on the specified add…
    Hi Im getting the error after I have logged in on the web interface, using username,password, and safeword. I get to see my published applications. When i launch one of the applications from the internet, I get the error: "cannot connect to the citrix metaframe server. ...
  3. Citrix SG and WI running in DMZ what ports?
    I just finished installing our WI and SG (both on same server) in our DMZ. I opened ports 1494 and 2598 and 80 from the DMZ to the internal lan. I still couldn't telnet to port 1494 on the Citrix servers. However if I allow ports 1024-65535 outbound from the dmz to the lan...
  4. Citrix Secure Gateway & WI - can't connect to citrix Xen…
    Hi I have setup a secure Gateway 3.1 and WI 4.6 on the same box. I followed Carl Websters and Patrick Rouses article's to virtually the letter using verisign cert. The only difference iare XML port on port 8080 The Server is going to be internal not on the DMZ (don't ask)...
  5. Citrix CSG Launch.ica file wrong address
    Hi - I have set up CSG using HTTPS . when i log remotly onto the citrix WI i can see all of the published applications . i choose an application....get the connection box followed by "there are no presentation servers specified on this address". investigating this ...
  6. Why is the file CtxSTA.dll missing after I installed Citrix SG?
    I am installing a new web interface and secure gateway (ps 4.0). When I run the SG config wizard I get stuck where it wants me to enter the fqdn of the server. It says the "secure ticket authority specified cannot be contacted". i checked the IIS path specified...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: BLipmanPosted on 2009-08-27 at 12:18:06ID: 25201641

Do they get the same error from the LAN as from outside the network?  Would you post the contents of a launch.ica file so we can see what you are getting out of the WI?

 

by: amichaellPosted on 2009-08-27 at 12:22:30ID: 25201680

Can you determine the IP that is being returned in the .ica file?

 

by: jkim1125Posted on 2009-08-27 at 12:37:25ID: 25201805

NO IP, only the servername...
++++++++++++++++++++++++++++++++++++++

[Encoding]
InputEncoding=UTF8
[WFClient]
CPMAllowed=On
ClientName=WI_f9dT3cgVZhYc6gz5w
ProxyFavorIEConnectionSetting=Yes
ProxyTimeout=30000
ProxyType=Auto
ProxyUseFQDN=Off
RemoveICAFile=yes
TransparentKeyPassthrough=FullScreenOnly
TransportReconnectEnabled=On
VSLAllowed=On
Version=2
VirtualCOMPortEmulation=Off
[ApplicationServers]
Admins - CTX1 Desktop=
[Admins - CTX1 Desktop]
Address=servername.company.com (FQDN):1494
AutologonAllowed=ON
BrowserProtocol=HTTPonTCP
CGPAddress=*:2598
ClearPassword=F3F12AE8438615
ClientAudio=Off
ConnectionBar=1
DesiredColor=8
DoNotUseDefaultCSL=On
Domain=\56373383B3A80A7E
EncryptionLevelSession=EncRC5-128
FontSmoothingType=0
InitialProgram=#Admins - CTX1 Desktop
LPWD=0
Launcher=WI
LocHttpBrowserAddress=!
LogonTicket=F3F12AE843861556373383B3A80A7E
LogonTicketType=CTXS1
LongCommandLine=
NRWD=0
ProxyTimeout=30000
ProxyType=Auto
SFRAllowed=Off
SSLEnable=Off
ScreenPercent=90
SessionsharingKey=-OrDZXz1k3CeQyIerTqyDqB
StartIFDCD=1251384908862
StartSCD=1251384908862
TRWD=0
TWIMode=Off
TransportDriver=TCP/IP
UILocale=en
WinStationDriver=ICA 3.0
[Compress]
DriverNameWin16=pdcompw.dll
DriverNameWin32=pdcompn.dll
[EncRC5-0]
DriverNameWin16=pdc0w.dll
DriverNameWin32=pdc0n.dll
[EncRC5-128]
DriverNameWin16=pdc128w.dll
DriverNameWin32=pdc128n.dll
[EncRC5-40]
DriverNameWin16=pdc40w.dll
DriverNmeWin32=pdc40n.dll
[EncRC5-56]
DriverNameWin16=pdc56w.dll
DriverNameWin32=pdc56n.dll

 

by: jkim1125Posted on 2009-08-27 at 12:43:51ID: 25201868

WI app eventlog

 

by: BLipmanPosted on 2009-08-27 at 12:46:51ID: 25201899

Ok, you are not going through the CSG based on this:
Address=servername.company.com (FQDN):1494
1494 is not used for CSG, everything goes through 443.  The screen shot tells us the issue at hand though.  Edit your STA entries to reflect port 8080:

http://servername2.company.com:8080/scripts/ctxsta.dll

Your entry will use port 80 (http's default port, get it?)

 

by: jkim1125Posted on 2009-08-27 at 12:47:37ID: 25201911

Same error inside or outside. Thx.

 

by: BLipmanPosted on 2009-08-27 at 12:55:06ID: 25202016

You fix this in the AMC, go to Edit Gateway Settings, edit your STA URL to reflect 8080 as I stated above.  That will clear up the one error.  Sometimes we need to peel the errors back in layers one by one.  Let me know where we stand after doing this.

 

by: jkim1125Posted on 2009-08-27 at 13:06:40ID: 25202119

Yes, one error clears up. It works internally, I will have users test from outside tomorrow.
We are making some progress here. Thx. I will let you know.

 

by: BLipmanPosted on 2009-08-27 at 13:28:50ID: 25202350

Excellent!  Let me know if you run into errors from the outside!

 

by: jkim1125Posted on 2009-08-28 at 05:39:17ID: 25206869

OK, outside users get this error:

"Cannot connect to the XenApp server.  SSL Error 61: You have not chosen to trust "DOD CA-21", the issuer of the server's security certificate..

Do I have to push out this DoD CA-21 cert to users? Any simple way to do so?

 

by: amichaellPosted on 2009-08-28 at 05:42:49ID: 25206893

Was the cert issued by a private CA?  If so, consider using a source such as Verisign or RapidSSL for your SSL cert.

 

by: jkim1125Posted on 2009-08-28 at 06:25:27ID: 25207355

Issued by DoD.

 

by: amichaellPosted on 2009-08-28 at 06:51:41ID: 25207623

I don't see them listed as a default trusted root CA in XP or Windows 7 (not sure about Vista), so you'll likely need to distribute that root CA to your customers or use a different root CA.

 

by: jkim1125Posted on 2009-08-28 at 07:24:59ID: 25207967

I am testing with different OS versions, will keep you posted. Thx.

 

by: BLipmanPosted on 2009-08-28 at 08:45:16ID: 25208843

First, make sure that your test machine has its Root Certificates updated.  I see tons of people run Express on their Windows Updates and never get their roots updated.  Now open your mmc, add the certificates snapin and look around the trusted certification authorities for a cert that matches yours.  I use GoDaddy for example (they are cheap and local); here and there I find users who don't have the Intermediate cert we go through but, for the most part, it works without intervention.  That is the whole point of buying certificates.  

Now I did a search for DoD certificates and I immediately found a site telling you how to install the certificates on client machines.  Sounds like they are not preloaded on common operating systems or pushed via Root Certificate updates.  
https://acc.dau.mil/ifc/dod_cert_dwnld.aspx

 

by: jkim1125Posted on 2009-08-28 at 11:07:58ID: 25210144

BLIpman,
I think we are almost there... :)
I have one user manually installed the latest DoD certs and have him test with IE7 and IE8 settings.
I have about 5 ctx server desktops published for the user, right now he say that the connections to the server desktops vary. Sometimes he can connect and sometimes he gets "The Citrix SSL server you have selected is not accepting connections." Again, it is random...
He will update me on Monday with his testing results.
Thanks,

 

by: BLipmanPosted on 2009-08-28 at 11:12:45ID: 25210193

Ok, do you have 5 separate desktops published and each goes to one different server but the problem is random or do you have one desktop published to 5 servers, it load balances, and the problem appears to be random? For testing individual servers I like to publish something like notepad and will label them Notepad on Server 1, Notepad on Server 2, etc.  This is handy for checking servers individually and for testing printing while you are at it.  

 

by: jkim1125Posted on 2009-08-28 at 11:17:00ID: 25210236

I have published apps the same way as you mentioned, ex) desktop_svr1, desktop_svr2 and so on...so that I can identifiy easier. Thx,

 

by: BLipmanPosted on 2009-08-28 at 11:24:50ID: 25210320

Yep, then let me know which ones you are having issues with and we can work them out from there.  Connection issues will often present themselves in the event viewer of the application server and or the web interface/secure gateway server so post anything you see that might be interesting.  Also, compare working launch.ica files to those from servers that are not working.

 

by: jkim1125Posted on 2009-08-28 at 11:36:37ID: 25210428

WI/CSG LOGs

Secure Gateway Logs:
1.Connection was broken by either client or server.                              2:05:39  ID:169  CORE
2.Client IP 10.101.7.172 sent bad ticket, connection dropped.                2:05:43  ID:100  Ticketing
3.Socks Session [3] failed ticket check. Client IP [10.101.7.172].            2:05:43  ID:190  SOCKS
4.Client IP 10.101.7.172 sent bad ticket, connection dropped.                2:07:25   ID:100 Ticketing
5.Socks Session [7] failed ticket check. Client IP [10.101.7.172].            2:07:25  ID:190  SOCKS
Connection was broken by either client or server.                              2:09:47  ID:169  CORE

App Logs:
1. Site path: c:\inetpub\wwwroot\Citrix\XenApp.
A socket has been forcibly destroyed by the transaction layer. [Log ID: bbb31685]     2:05:01 PM
2. Site path: c:\inetpub\wwwroot\Citrix\XenApp.
The Citrix servers sent HTTP headers indicating that an error occurred: 400 Bad Request. This message was reported from the XML Service at address http://CTX5:8080/scripts/wpnbr.dll [com.citrix.xml.NFuseProtocol.RequestCapabilities]. This XML Service could not be contacted and will be temporarily removed from the list of active services. [Log ID: 5425364c]                       2:05:01 PM
3. Site path: c:\inetpub\wwwroot\Citrix\XenApp.
An error occurred while attempting to connect to the server CTX3 on port 8080. Verify that the Citrix XML Service is running and is using the correct port. If the XML Service is configured to share ports with IIS, verify that IIS is running. This message was reported from the XML Service at address http://CTX3:8080/scripts/wpnbr.dll. This XML Service could not be contacted and will be temporarily removed from the list of active services. [Log ID: ca6b75c6]                                          2:05:03 PM
4. svchost (856) The database engine stopped.                                                              2:05:27 PM
5. Site path: c:\inetpub\wwwroot\Citrix\XenApp.
The Citrix servers reported that they are too busy to provide access to the selected published resource. This message was reported from the XML Service at address http://CTX4:8080 [com.citrix.xml.NFuseProtocol.RequestAddress].  [Log ID: 632c8eb8]                             2:05:39 PM

 

by: BLipmanPosted on 2009-08-28 at 11:49:15ID: 25210526

This might be useful for the first error but let's try to clear the others up first, I am not convinced you have a corrupted application:
http://support.citrix.com/article/CTX114769

Verify that all servers running your published applications are using 8080 for XML (you can check the properties of each in the AMC to verify this).  Then, assuming you are on the right port and didn't accidentally set 80/share with IIS on one of them, reset the XML service, make sure it comes up without generating new events, try that server again.  

 

by: jkim1125Posted on 2009-08-31 at 08:16:21ID: 25223435

Verified that all CTX servers are using 8080 for XML port. Still waiting on external user's test outputs.
Meanwhile, I have published notepad from each server such as notepad_CTX1, notepad_CTX2, and so on, and I still get "Cannot connect to the Citrix XenApp server. The Citrix SSL server you have selected is not accepting connections." randomly. However, if I try a few more times I finally get connected. User load should be less than 3. Any ideas? Thanks.

 

by: BLipmanPosted on 2009-08-31 at 09:28:48ID: 25224128

Do you have a load balancer in front of the farm perhaps?  

 

by: jkim1125Posted on 2009-08-31 at 09:34:14ID: 25224168

Gees, forgot to mention that, so sorry...
Yes, we do. Is that a known issue? Way to work around? Thx,

 

by: jkim1125Posted on 2009-09-02 at 06:26:35ID: 25240762

Don't leave me hanging  :(

 

by: BLipmanPosted on 2009-09-02 at 09:29:03ID: 25242717

I am sorry, got tied up with some issues at work.  I am glad you are using a load balancer because it makes the issue much easier to solve.  You need to enable sticky sessions (or whatever your load balancer calls "persistence").  If you start a session with one server and then the load balancer takes you to another the session ID won't be recognized and the new server will drop the connection.  Then, finally, the LB takes you back and the original server can work.  It explains your issue pretty neatly.  

Let me get one thing cleared up first, do you have more than one Web Interface or CSG server?  If not, then is the load balancer in the back end trying to balance connections to the Citrix farm?  

Citrix does it's own load balancing to farm servers and will do a better job than any hardware LB you will put in place; it has all sorts of server metrics it can use to better distribute load.  To load balance Web Interface or CSG servers you must guarantee that a "flow" (a user's session or a combination of a unique IP/port combination) always goes to the same server it started on.  

Load balancers can usually sticky on things like:
-source IP
-SSL session ID
-URL cookie
-file based cookie

etc...

 

by: jkim1125Posted on 2009-09-02 at 10:22:47ID: 25243295

Thanks for coming back :)  :)
Here is little change took place in the past 48 hrs.
Due to the DoD Cert mismatch I had to move the WI/SG in the trusted network. (10.x.x.x) from DMZ, and it is operational.
I only have one WI/SG for now. Eventually will have one more.
LB sits in the DMZ and it is just forwarding ips from external to internal (sort of NATing, it is not LBing) and not balancing connections to the CTX farm. Hope this answers your question.
My question is if I still experience this behavior below what would you suggest?
["Cannot connect to the Citrix XenApp server. The Citrix SSL server you have selected is not accepting connections." randomly. However, if I try a few more times I finally get connected.]
Thank you,

 

by: BLipmanPosted on 2009-09-02 at 10:30:01ID: 25243403

So on the LB device, you have a Virtual IP which defines some sort of "service" and that forwards traffic in to your WI server right?  You only have one real server defined thus far though so it shouldn't be trying to go anywhere else.  I am not sure this is the issue but it is a suspect.  When you say you try and try and eventually it works I start thinking about the IP layer and what might be going on there.  
Are you still getting errors on the WI/CSG or on the individual Citrix servers?  Another thing to try is taking out all but one of the STA entries to make sure you are not hitting a bad one (or somehow misconfigured) but you should see event log entries for any STA failures.

 

by: BLipmanPosted on 2009-09-02 at 10:30:44ID: 25243411

...although...if it works from the LAN just fine it shouldn't be an STA thing causing these failures...

 

by: jkim1125Posted on 2009-09-02 at 11:06:18ID: 25243793

OMG!!!  Found out that one of STAs corrupted or bad, no clue what/how happened...
Took out the bad STA and works like a charm!!!
Last Question: Should I check the Enable Session Reliability option?

 

by: BLipmanPosted on 2009-09-02 at 11:15:22ID: 25243890

Session Reliability always seemed like a smoke and mirrors trick in my mind...and it uses more ports.  I tend to disable it but you may find value in using it.  Do you have users coming in over really bad Internet connections?  

 

by: jkim1125Posted on 2009-09-02 at 11:23:33ID: 25243986

Nah, I figure I keep it off then.
Thank you very very very much for your big help!

 

by: BLipmanPosted on 2009-09-02 at 11:31:14ID: 25244066

Any time, I am glad you are up and running!

 

by: 3DCorpPosted on 2012-01-12 at 09:20:16ID: 37422117

Based on the info you provided;

Your using the SG therefore you only need to have port 443 open on your firewall to access this. This allows outside clients to communicate to the SG, the rest of the communication e.g. 1494, 2598, 8080 happens inside the network and shouldn’t need to be open to the outside.

The other problem I see is your running XML on port 8080, which is fine but you have your STA links listening on port 80 (hence the http:// only) try changing your STA links to:

http://servername2.company.com:8080/scripts/ctxsta.dll
http://servername3.company.com:8080/scripts/ctxsta.dll

This should resolve your issue(s)

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...