My Oracle Support Banner

SQLDeveloper 21.2 fails with "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" (Doc ID 2802622.1)

Last updated on MAY 25, 2023

Applies to:

JDBC - Version 20.0.0.0.0 and later
Information in this document applies to any platform.

Symptoms

 

Using driver bundled with SQLDeveloper 21.2, the connection fails with following exception


Error occured:
java.sql.SQLRecoverableException: IO Error: 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, Authentication lapse 0 ms.
       at oracle.jdbc.driver.T4CConnection.handleLogonIOException(T4CConnection.java:913)
at oracle.jdbc.driver.T4CConnection.logon(14CConnection.java:678)
at oracle.jdbc.driver.PhysicalConnection.connect(PhysicalConnection.java:1032)
at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:90)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:681)
at oracle.jdbc.datasource.impl.OracleDataSource.getPhysicalConnection(OracleDataSource.java:561)
at oracle.jdbc.datasource. imp1.OracleDataSource.getConnection(OracleDatasource.java: 347)
at oracle.jdbc.datasource.impl.OracleDataSource.getConnectionInternal(OracleDatasource.java:1996)
at oracle.jdbc.datasource.impl.OracleDataSource.getConnection(OracleDataSource.java:322)
at oracle.jdbc.datasource.imp1.OracleDataSource.getConnection(OracleDataSource.java:283)
at JDBCInfo.main(10BCInfo.java:63)
Caused by: java.io.IOException: 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, Authentication lapse 0 ms.
at oracle.jdbc.driver.T4CConnection.handleLogon IOException(T4CConnection.java:908)
... 10 more
Caused by: java.io.IOException: A connection attempt failed because the connected party did not properly respond period of time, or established connection failed because connected host has failed to respond
at sun.nio.ch. Socket Dispatcher.read0(Native Method)
at sun.nio.ch. SocketDispatcher.read(Unknown Source)
at sun.nio.ch. IOutil.readIntoNativeBuffer(Unknown Source)
at sun.nio.ch. IOutil.read(Unknown Source)
at sun.nio.ch. SocketChannelImpl.read (Unknown Source)
at oracle.net.nt.Timeout Socketchannel.read(Timeout SocketChannel.java:416)
at oracle.net.ns.NSProtocolNIO.doSocket Read(NSProtocolNIO.java:1119)
at oracle.net.ns.NIOPacket.readHeader(NIOPacket.java:267)
at oracle.net.ns.NIOPacket.readPacketFromSocketChannel(NIOPacket.java:199)
at oracle.net.ns.NIOPacket.readFromSocketChannel(NIOPacket.java:141)
at oracle.net.ns.NIOPacket.readFromSocketChannel(NIOPacket.java:114)
at oracle.net.ns.NIONSDataChannel.readDataFromSocketChannel(NIONSDatachannel.java:98)
at oracle.net.ano.AnoCommNIO.p(Unknown Source)
at oracle.net.ano.AnoCommNIO.e(Unknown Source)
at oracle.net.ano.AnoComm.readUB4(Unknown Source)
at oracle.net.ano.Ano.c(Unknown Source)
at oracle.net.ano.Ano.negotiation(Unknown Source)
at oracle.net.ns.NSProtocol.initializeAno(NSProtocol.java:613)
at oracle.net.ns.NSProtocol.connect(NSProtocol.java:355)
at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1967)
at oracle.jdbc.driver.T4CConnection.logon(14CConnection.java:640)
... 9 more



Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.