Post installation - Configure Application Services - registration Error
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
--- End of inner exception stack trace --- Server stack trace:
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) Exception rethrown at [0]:
at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
at System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout)
at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan timeout)
at System.ServiceModel.Security.SecurityProtocol.OnOpen(TimeSpan timeout)
at System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) Exception rethrown at [1]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout)
at Geocortex.ApplicationServices.Common.SecureServiceHelper.EstablishTrust(TrustContext context, X509Certificate2 cert)
at Geocortex.ApplicationServices.Common.SecureServiceHelper.EstablishTrust(TrustContext context)
at Geocortex.Essentials.PostInstall.AppServicesConfigPanel.EstablishTrust() Does any one know how to fix this Does anyone have a clue what might be the problem. This only started happening when I installed verion 3.3 of essentials. Thanks Frank
(https://support.geocortex.com/Data/Sites/1/userfiles/526/GeoCortex Post Installation Error.doc) Attachment: GeoCortex Post Installation Error.doc
-
I would get your network guy to check your firewall ports app services looks like it is using port 724 which you may have blocked. Just a guess. Application services was in version of essentials after 3.1 or 3.2. Nick Hetrick City of Auburn GIS 0 -
Hi Frank, As Nick suggests, please check to ensure that nothing is blocking ports 723 and 724 on your server (the connections are made locally, for most instances). If nothing's blocking those ports, run a "netstat -a" on the server and make sure that the ports are opening and listening. If either ports 723 or 724 are NOT listening, please respond or send an email to (support@latitudegeo.com) - it means that Application Services (via Agent) isn't running, and that is a problem we need to resolve. Regards,
-Malcolm0 -
Also try restarting the Geocortex Agent service and running the post installer again. This has resolved the issue for a few people. 0 -
Hi Malcom, I ran netstat-a and noticed that port 724 was missing completely. So I proceed to add the port manually. It did not appear when I ran netstat-a again so I restarted the workstation. After the reboot I ran netstat-a again and this time it was there. SO I proceeded to run the post install again and the error appeared again when i tried to register the applications service server. This is when I logged back into the support center and saw Collin's message to restart the agent. So I restarted the agent and this time it did register. I have attached the word document with some snap shots of the netstat-a runs before and after. I hope this was not a bug in the software. In any case if you need more information from me you can email me on (frank.blanco@act.gov.au) Thanks all of you for your help I will have ago at getting a website going and hope this error does not appear again. Cheers Frank Blanco (https://support.geocortex.com/Data/Sites/1/userfiles/526/GeoCortex Post Installation Error.doc) Attachment: GeoCortex Post Installation Error.doc
0 -
Had the same problem here. Installed 3.2 first time... after post install everything worked. Installed 3.3 error on registration of application services. It appeared that the agent was not running at all, and that the app services where not available on port 724, so same error as topic starter. After restart, postinstall, same problem After uninstall, reinstall, postinstall same problem. After uninstall, restart server, reinstall, restart server, post install, same problem, but after 20 minutes and 3 times trying it worked. Also starting postinstall (where agent is started up), is very very slow. When it is slow, you know it will give problems with app services. It seems agent is not starting up at all and also application services is not available at all. Firewall was no problem (since with 3.2 it worked...), starting up services was the problem. 0 -
And again the error is suddenly there.. Agent is not starting up with startup of the server... Starting Geocortex Agent from Start-menu --> no service available
Running post installation --> register application services.... same error:
System.ServiceModel.EndpointNotFoundException: Kan geen verbinding maken met net.tcp://gm21940:724/ApplicationServices/TrustService. De poging verbinding te maken heeft 00:00:04.4709236 geduurd. TCP-foutcode 10061: Kan geen verbinding maken omdat de doelcomputer de verbinding actief heeft geweigerd 192.168.119.1:724. ---> System.Net.Sockets.SocketException: Kan geen verbinding maken omdat de doelcomputer de verbinding actief heeft geweigerd 192.168.119.1:724 bij System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) bij System.Net.Sockets.Socket.Connect(EndPoint remoteEP) bij System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout) --- Einde van intern uitzonderingsstackpad ---
Server stack trace: bij System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout) bij System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout) bij System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout) bij System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout) bij System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) bij System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) bij System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
Exception rethrown at [0]: bij System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout) bij System.ServiceModel.Security.SspiNegotiationTokenProvider.OnOpen(TimeSpan timeout) bij System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout) bij System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) bij System.ServiceModel.Security.CommunicationObjectSecurityTokenProvider.Open(TimeSpan timeout) bij System.ServiceModel.Security.SecurityProtocol.OnOpen(TimeSpan timeout) bij System.ServiceModel.Security.WrapperSecurityCommunicationObject.OnOpen(TimeSpan timeout) bij System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) bij System.ServiceModel.Channels.SecurityChannelFactory`1.ClientSecurityChannel`1.OnOpen(TimeSpan timeout) bij System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) bij System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) bij System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) Exception rethrown at [1]: bij System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) bij System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) bij System.ServiceModel.ICommunicationObject.Open(TimeSpan timeout) bij Geocortex.ApplicationServices.Common.SecureServiceHelper.EstablishTrust(TrustContext context, X509Certificate2 cert) bij Geocortex.ApplicationServices.Common.SecureServiceHelper.EstablishTrust(TrustContext context) bij Geocortex.Essentials.PostInstall.AppServicesConfigPanel.EstablishTrust()
What is going wrong? Does the service not startup with the server? I started the Geocortex agent service from the services, but it says that some depending services are not running. What should I do?
Cheers
Gerben Tiemens Grontmij0 -
When trying to start the Geocortex Agent service manual via the services window I get error 1068
Error 1068: The dependency service or group failed to start.
Which services, are dependent?
It is on a Windows XP prof machine with the special install instructions done (from the installation guide).0 -
Hi there,
Did anyone find a solution to this problem? I am getting an error running the post install when I try to register the application services.
The user I'm using is in the Administrators group. Running Windows Server 2003 Standard 64 bit OS.
I've tried restarting the Agent, rebooting, and have tried with multiple admin accounts.
cheers,
Josh
Error message screen shot: (https://support.geocortex.com/Data/Sites/1/userfiles/1842/postinstallerror.png) /Data/Sites/1/userfiles/1842/postinstallerror.png
0 -
Hi Josh,
If you run 'netstat -a', can you see if port 724 is open?
Geocortex Agent listens on port 723, and it should be open if the Agent service is running. Application Services uses port 724, and is what the post installer is trying to connect to.
I presume that it's open because we've got past the socket negotiation and have failed on the security handshake.
Please check the log files in the following two folders for errors:
C:\Program Files\Latitude Geographics\Geocortex Agent\Logs
C:\Program Files\Latitude Geographics\Geocortex Application Services\LogsIf any errors about cryptography or networking are in there, please let us know.
Regards,
-Malcolm
0 -
Hi Malcolm
Thanks for your reply. Forgot to mention that I'd already checked the ports as suggested. Netstat results:
Active Connections
Proto Local Address Foreign Address State
TCP WEB01:http WEB01:0 LISTENING
TCP WEB01:epmap WEB01:0 LISTENING
TCP WEB01:microsoft-ds WEB01:0 LISTENING
TCP WEB01:723 WEB01:0 LISTENING
TCP WEB01:724 WEB01:0 LISTENINGI've checked both log directories as you suggest and the ACCESS logs are empty and the SYSTEM logs only have INFO level message's...
Do you have any other suggestions?
thanks,
Josh
0 -
Posted a suggestion in this thread:
http://support.geocortex.com/Forums/Thread.aspx?pageid=0&mid=2&ItemID=2&thread=45931
0 -
As a follow up, i encountered this problem another time on a different machine (windows 7, Geocortex essentials 3.5), installation was almost 1 year old and worked perfectly. Then it stopped working, cause geocortex agent was not listening on 724 anymore.
Probable cause of failure: the admin-account that was used when installing was removed from the domain.
To repair:
Delete /certificates from C:\Users\All Users\Latitude Geographics\Certificates (move to other directory to have backup)
In Add/Remove software do a repair on all geocortex apps (geocortex agent, applicationservices, geocortex essentials 3.x)
Run postinstall again
Register application services. I got a time-out error on the first time registering. Cancel the login screen, wait 1 minute, register again.
This worked for me.
0
Please sign in to leave a comment.
Comments
12 comments