Service Virtualization

Expand all | Collapse all

PortServer Error

  • 1.  PortServer Error

    Posted 08-07-2018 03:45 PM

    We are often getting PortServer(pasted below) related error in VSE.log file for the ports where virtual services are running. After few minutes the services are back and starts working fine again. Not sure what could be the root cause for this issue. Any suggestion will be appreciated.


    ERROR com.itko.lisa.vse.sio.PortServer - An error occurred reading from the client. An existing connection was forcibly closed by the remote host
    at Method)
    at com.itko.lisa.vse.sio.NIOSession.readFromSocketChannel(
    at com.itko.lisa.vse.sio.PlainSession.readApplicationData(
    at com.itko.lisa.vse.sio.NIOSession.handleRead(
    at com.itko.lisa.vse.sio.SelectorThread.handleOperations(

  • 2.  Re: PortServer Error

    Posted 08-07-2018 03:58 PM

    What version of DevTest are you running?


    Does any of your VSM have any Javascript steps?

  • 3.  Re: PortServer Error

    Posted 08-08-2018 08:52 AM

    We are using DevTest v10.2 in Windows server 2012 R2 server.


    No, the VSM doesn't have any scripts. The virtual service is data driven using excel sheet.

  • 4.  Re: PortServer Error

    Posted 08-08-2018 08:56 AM

    How large are your Excel spreadsheets?

  • 5.  Re: PortServer Error

    Posted 08-08-2018 12:50 PM

    Its very small.

    File size is 35 KB

    507 Rows - 4 Columns.

  • 6.  Re: PortServer Error

    Posted 08-08-2018 01:54 PM

    If you are seeing this message in the VSE log file, it makes me think that the client side is forcibly closing the connection with the VSE: An existing connection was forcibly closed by the remote host


    Do you see this behavior during a load test?

    Is there something between the client application and the VSE Server? a gateway, load balancer, firewall...


    I am wondering if Wireshark would help you in this case. You could start Wireshark in the VSE Server and capture the incoming traffic. Note when you face the issue and take a look at the traffic during that same time.


    Hope it helps.


  • 7.  Re: PortServer Error

    Posted 08-08-2018 02:57 PM

    Yes, we typically only see this during a perf/load test. But it is occasional, not always.


     Also our client interface is talking to virtual services through IBM Integration Bus.