Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    WARN: Error initializing server .NET 4.5 (ID: 11): System.Net.Sockets.SocketException

    Scheduled Pinned Locked Moved Support
    buildmaster
    3 Posts 2 Posters 22 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hi,

      What might be the cause of this error?

       DEBUG: Initializing server 11...DEBUG: Initializing server 6... WARN: Error initializing server .NET 4.5 (ID: 11): System.Net.Sockets.SocketException (0x80004005): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.150.81.25:6468
          at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)
          at Inedo.BuildMaster.Extensibility.Agents.Tcp.TcpAgentClientPool.CreateClient(Endpoint endpoint) 
          at Inedo.BuildMaster.Extensibility.Agents.ClientConnectionPool`2.AcquireConnection(TEndpoint endpoint) 
          at Inedo.BuildMaster.Extensibility.Agents.Tcp.TcpAgentClientPool.GetClient(String hostName, Int32 port, String securityToken, Boolean ssl, Boolean ignoreCertificateErrors) 
          at Inedo.BuildMaster.Extensibility.Agents.Tcp.TcpAgent.GetClient() 
          at Inedo.BuildMaster.Extensibility.Agents.Tcp.TcpAgent.Inedo.BuildMaster.Extensibility.Agents.IRemoteMethodExecuter.InvokeMethod(MethodBase method, Object instance, Object[] parameters) 
          at Inedo.BuildMaster.Extensibility.Agents.AgentExtensions.InvokeFunc[TResult](IRemoteMethodExecuter agent, Func`1 method) 
          at System.Lazy`1.CreateValue() 
          at System.Lazy`1.LazyInitValue() 
          at Inedo.BuildMaster.Extensibility.Agents.Tcp.TcpAgent.<.ctor>b__2() 
          at Inedo.BuildMaster.Extensibility.Agents.RemoteFileOperationsExecuter.Inedo.BuildMaster.Extensibility.Agents.IFileOperationsExecuter.GetBaseWorkingDirectory() 
          at Inedo.BuildMaster.Extensibility.Agents.AgentExtensions.GetDefaultApplicationBaseDirectory(IFileOperationsExecuter agent, Int32 applicationId) 
          at Inedo.BuildMaster.Windows.ServiceApplication.PlanExecuter.PromotionExecution.PrepareServer(Object arg) WARN: Error initializing server OZBLD8 (NET4.5) (ID: 6): System.Net.Sockets.SocketException (0x80004005): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.150.81.26:6468 
          at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port) 
          at Inedo.BuildMaster.Extensibility.Agents.Tcp.TcpAgentClientPool.CreateClient(Endpoint endpoint) 
          at Inedo.BuildMaster.Extensibility.Agents.ClientConnectionPool`2.AcquireConnection(TEndpoint endpoint) 
          at Inedo.BuildMaster.Extensibility.Agents.Tcp.TcpAgentClientPool.GetClient(String hostName, Int32 port, String securityToken, Boolean ssl, Boolean ignoreCertificateErrors) 
          at Inedo.BuildMaster.Extensibility.Agents.Tcp.TcpAgent.GetClient() 
          at Inedo.BuildMaster.Extensibility.Agents.Tcp.TcpAgent.Inedo.BuildMaster.Extensibility.Agents.IRemoteMethodExecuter.InvokeMethod(MethodBase method, Object instance, Object[] parameters) 
          at Inedo.BuildMaster.Extensibility.Agents.AgentExtensions.InvokeFunc[TResult](IRemoteMethodExecuter agent, Func`1 method) 
          at System.Lazy`1.CreateValue() 
          at System.Lazy`1.LazyInitValue() 
          at Inedo.BuildMaster.Extensibility.Agents.Tcp.TcpAgent.<.ctor>b__2() 
          at Inedo.BuildMaster.Extensibility.Agents.RemoteFileOperationsExecuter.Inedo.BuildMaster.Extensibility.Agents.IFileOperationsExecuter.GetBaseWorkingDirectory() 
          at Inedo.BuildMaster.Extensibility.Agents.AgentExtensions.GetDefaultApplicationBaseDirectory(IFileOperationsExecuter agent, Int32 applicationId) 
          at Inedo.BuildMaster.Windows.ServiceApplication.PlanExecuter.PromotionExecution.PrepareServer(Object arg) 
      

      Product: BuildMaster
      Version: 4.5.4

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        This simply means that the agent did not respond to the connection request in a certain time period. This can happen for a variety of reasons:

        • the agent service is not running
        • there is a firewall blocking the connection to that port
        • the remote IP address is incorrect
        • the remote IP address was not assigned to the remote server until after the agent started listening already
        • DNS did not resolve the hostname to the correct IP address

        Is the agent in ERROR state? Can you ping or telnet to the port from the BuildMaster server?

        1 Reply Last reply Reply Quote 0
        • R Offline
          reekjohns_9265
          last edited by

          Re: WARN: Error initializing server .NET 4.5 (ID: 11): System.Net.Sockets.SocketException

          A SocketException is thrown by the Socket and Dns classes when an error occurs with the network. Most of the time these are connectivity issues due to different IP protocols (IPV4/IPV6) between the two server/computers trying to communicate or extra authentication rules setup on one of the computers for in/out connectivity.

          Ways to troubleshoot the issue are, check you have proper internet connection is there on your machine or not, and you are able to ping the remote server or not. Possible causes for the error:

          • You are using the wrong IP address.
          • You are using the wrong port.
          • Firewall blocking the connection.
          1 Reply Last reply Reply Quote 0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • 1 / 1
          • First post
            Last post
          Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation