Replies: 2 comments 7 replies
-
Can you describe what you've installed and how? What DB version are you using? Is your DSN as simple as you show it or are you using any special options? Does Thick mode connect? |
Beta Was this translation helpful? Give feedback.
5 replies
-
Great! Can you try putting the try/except block around the offending lines, like this? # if we can use OOB, send an urgent message now followed by a reset
# marker to see if the server understands it
if self._caps.supports_oob \
and self._caps.protocol_version >= TNS_VERSION_MIN_OOB_CHECK:
try:
self._socket.send(b"!", socket.MSG_OOB)
self._send_marker(self._write_buf, TNS_MARKER_TYPE_RESET)
except OSError:
self._caps.supports_oob = False |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having problems connecting to a db from WSL1. Is this supposed to be possible? I'm on python 3.8.6 with oracledb 1.1.1. When doing
oracledb.connect(user=un, password=pw, dsn='myhost/myservice')
I get
Any idea what I might be doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions