-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DPY-4011 can be triggered by OOB messaging, not just needing NNE #419
Comments
Thanks. I can see the error does get used in a couple of places. You mention the solution: did this work for you? |
Yes, setting the |
Hmm, if you are using TLS, OOB is disabled automatically and no attempt is made to use it. Yet you are saying that TLS is used and OOB is attempted? Can you clarify? I do see that the |
I have pushed a patch that tells the thin driver to pay attention to the |
Sorry for the late reply
I got an unrelated issue confused; we don't setup any certs in our container (since it's just for testing purposes), so the traffic which triggers this should be unencrypted (we don't configure any encryption-related settings in the sqlnet.ora file). Technically I don't know for sure it's OOB that is causing it, but it's the only thing I can think of (and would seem to match what I've read about Docker networking), and disabling OOB at the connection level seems to have fixed it. If there are any debug flags I should try to help narrow things down further, let me know. |
@lunalucadou it would be great if you could check the behavior with a development package from https://github.com/oracle/python-oracledb/actions/runs/11829776618/artifacts/2185970208 ? |
The patch has been included in version 2.5.1 which was just released. |
https://python-oracledb.readthedocs.io/en/latest/user_guide/troubleshooting.html#dpy-4011
This error says the only cause is having NNE enabled (and thus requiring the thick client), but it can also occur under the following circumstances:
DISABLE_OOB_AUTO=TRUE
(so no OOB test is performed upon client connect which would return ORA-12637), but does not setDISABLE_OOB=on
to disable OOB altogether (so it's still possible for clients to attempt it)Mention that DPY-4011 can also occur, even for established TLS connections, if OOB messaging is attempted in an environment that lacks OOB support (such as Docker) but whose Oracle server has not fully disabled it.
The server-side solution would be to set DISABLE_OOB in the sqlnet.ora file, but setting the
disable_oob=True
connection option can also mitigate it on the client side.The text was updated successfully, but these errors were encountered: