VSE Recorder - java.net.UnknownHostException
search cancel

VSE Recorder - java.net.UnknownHostException

book

Article ID: 94920

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

When using the VSE Recorder, getting the following error:

java.net.UnknownHostException: serverName:Port
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:668)
at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:427)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:88)
at com.itko.lisa.web.tcpproxy.SSLFactoryImpl.createClientSocket(SSLFactoryImpl.java:422)
at com.itko.lisa.web.tcpproxy.DualSocketFactory.createClientSocket(DualSocketFactory.java:92)
at com.itko.lisa.web.tcpproxy.AbstractTCPProxyEngine.launchThreadPair(AbstractTCPProxyEngine.java:392)
at com.itko.lisa.web.tcpproxy.PortForwarderTCPProxyEngine.run(PortForwarderTCPProxyEngine.java:117)
at java.lang.Thread.run(Thread.java:745

Environment

All supported DevTest releases.

Resolution

The error is saying that there is no known server with the name serverName:Port.

In the Target host field, we need to provide just the target server name or the IP Address.

The target port should be provided in the Target Port field.

One of the reasons this error can occur is the server address and port are provided together under Target host.

Additional Information

For more information regarding VSE Recorder and HTTP Transport Protocol, refer to section "HTTP/S Transport Protocol" in the documentation of the DevTest release you are running.

Basics tab on the Virtual Service Image Recorder for HTTPS transport protocol.png
 

Attachments

1558699734408000094920_sktwi1f5rjvs16jv7.png get_app
1558699732207000094920_sktwi1f5rjvs16jv6.png get_app