Forum Discussion

iorozco's avatar
iorozco
New Contributor
11 years ago

How to fix Load UI Agent "socket closed" errors

We just bought the Load UI Pro 2.8 license.

 

I created a Soap UI test case that reads and Excel file and does a REST call. I am using it in Load UI on a Soap UI Runner and works fine. If I change Load UI to run on agents, the Windows server where I installed the agent keeps returning "socketexception: socket closed" errors and the scenario cannot be successfully deployed onto that agent.

 

I am trying to find actual files inside of the Windows server to copy and paste the entire log details here, but I am also unable to find them, which is why I am inserting the screenshot. Please provide some guidance as to where to start troubleshooting this to resolve it.

 

Thank you.

 

Screen Shot 2015-02-05 at 4.51.02 PM.png

  • Hi,

     

    Currently we do not have any log files I know of that are being created by the agent, you can send the soapui log files in <user profile>\.loadui\logs directory.  For the loadui agent redirect the output to a file i.e loadui-agent.bat > loadui_agent_log.txt to capture all the output and attach.  

     

     

    Regards,

    Marcus

    SmartBear Support

    • JohnZ's avatar
      JohnZ
      New Contributor

      We have seen the exact same issue with 2.8.1.  Here is the error from the console but it doesn't have much enough details.

       

      Thread MessageEndPointBase#MessageReceiver closing endpoint
      Will reset connection to agent
      Sending of message 'null' failed due to java.net.SocketException: Socket is closed
      Problem closing OutputStream: Socket is closed
      Thread MessageEndPointBase#MessageSender closing endpoint
      Reopening agent
      Opening client - will attempt to connect to agent