Friday, April 2, 2021

Oracle Database 19c -- SQL Developer connection fails with IO Error: Got minus one from a read call

Problem

When connecting from a Window client host with SQL Developer 20 to an Oracle Database 19c running in a Docker/Podman container, you get error IO Error: Got minus one from a read call
 

Solution

SQL Developer 20 uses jdbc version ojdbc8.jar. Use either ojdbc7.jar or use custom jdbc thin connection string:

jdbc:oracle:thin:@tcp://<host>:<port>/<service>?oracle.net.disableOob=true

No comments: