Skip to Main Content

Core Infrastructure

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Bastion SSH Tunnel "client_loop: send disconnect: Unknown error"

user1028169Feb 1 2024

I'm connecting to a private instance via Bastion and trying to install the oracledb python module.

I can connect via ssh:
ssh -o ProxyCommand="ssh -W %h:%p -p 22 ocid1.bastionsession.oc1.iad.amaaaaaaj4e2dziaswejcjgcnorsjy6is6yv7kltplvnmbqweq4e2cnvljwa@host.bastion.us-ashburn-1.oci.oraclecloud.com" -p 22 opc@10.0.1.189

While pip3 install oracledb has been running for several minutes, the session disconnects with the error "client_loop: send disconnect: Unknown error"

[root@db-001 ~]# pip3 install oracledb
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting oracledb
Using cached https://files.pythonhosted.org/packages/e7/c4/00b05440b001a224423076e7b051d42acc6b1af1f40841ad65d3b3acdede/oracledb-1.4.2.tar.gz
Requirement already satisfied: cryptography>=3.2.1 in /usr/lib64/python3.6/site-packages (from oracledb)
Requirement already satisfied: six>=1.4.1 in /usr/lib/python3.6/site-packages (from cryptography>=3.2.1->oracledb)
Requirement already satisfied: cffi!=1.11.3,>=1.8 in /usr/lib64/python3.6/site-packages (from cryptography>=3.2.1->oracledb)
Requirement already satisfied: pycparser in /usr/lib/python3.6/site-packages (from cffi!=1.11.3,>=1.8->cryptography>=3.2.1->oracledb)
Installing collected packages: oracledb
Running setup.py install for oracledb ... /Connection to host.bastion.us-ashburn-1.oci.oraclecloud.com closed by remote host.
client_loop: send disconnect: Unknown error

I made the following changes to my .ssh/config but they did not make any difference:
ServerAliveInterval 600
TCPKeepAlive no

Any advice?

Comments
Post Details
Added on Feb 1 2024
0 comments
613 views