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!

    Can't commincate with Windows agent

    Scheduled Pinned Locked Moved Support
    agentswindowsbuildmaster
    4 Posts 1 Posters 54 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

      Hello,

      With version 5.1.4 I can't communicate with Windows agents.
      I tried with the AES encryption at first, but then turned that off.
      I'm trying on port 6468, which was the default port with the older version of the agent.
      The server is listening on port 6468 when I do a netstat.
      Tried on two servers, same error.
      Windows firewall turned off to test.

      Would also be nice to have a "test server connection" button as the only way I can find to force a connection test is to restart the BuildMaster service.

      Log below.

      Thanks,

      David

       Category:
      Agent Updates
      Message:
      Unhandled exception while attempting agent update check.
      Details:
      System.InvalidOperationException: The connection was closed unexpectedly.
      at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.TcpAgentClient.SendHandshake(String securityToken)
      at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.TcpAgentClientPool.CreateClient(Endpoint endpoint)
      at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.ClientConnectionPool`2.AcquireConnection(TEndpoint endpoint)
      at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.TcpAgentClientPool.GetClient(String hostName, Int32 port, String securityToken, Boolean ssl, Boolean ignoreCertificateErrors)
      at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.LegacyTcpAgent.GetClient()
      at Inedo.BuildMaster.Extensibility.Agents.LegacyTcp.LegacyTcpAgent.Inedo.BuildMaster.Extensibility.Agents.IHostedLegacyAgent.GetHostedAgentInfo(IHostedAgentContext context)
      at Inedo.BuildMaster.Windows.ServiceApplication.AgentUpdater.Legacy.GetAgentStatus(IHostedLegacyAgent agent, IHostedAgentContext context)
      at Inedo.BuildMaster.Windows.ServiceApplication.AgentUpdater.Legacy.CheckLegacyAgent(BackgroundTaskContext`1 context, IHostedLegacyAgent agent, Servers server)
      at Inedo.BuildMaster.Windows.ServiceApplication.AgentUpdater.<CheckServerAsync>d__9.MoveNext()
      
      

      Product: BuildMaster
      Version: 5.1.4

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

        The connection attempt is failing during the handshake, which could mean a lot of things... in this case, I'm wondering if it's because the wrong agent type is installed.

        I'm seeing that you've configured BuildMaster to communicate with a Legacy BuildMaster Agent (LegacyTcp); note this will only work when the Legacy Self-hosted agent is installed on the server.

        If you installed the new, Inedo Agent, then you will need to set it up as a Windows agent, not a (Legacy).

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

          Hi,

          Yes, I'm using the Windows agent:

          I've updated to version 5.1.5 and all is well now :-)

          Also, thanks for adding the server refresh button.

          Regards,

          David

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

            Hi,

            Version number for the Windows agent shows 34.0.0.1 in add/remove programs.

            '#justsaying'

            David

            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