@@ -253,6 +253,54 @@ DPY Error Messages
253
253
The python-oracledb Thin mode code and python-oracledb Thick mode code
254
254
generates error messages with the prefix ``DPY ``.
255
255
256
+ .. _dpy3001 :
257
+
258
+ DPY-3001
259
+ ++++++++
260
+
261
+ **Message: ** ``DPY-3001: Native Network Encryption and Data Integrity is only
262
+ supported in python-oracledb thick mode ``
263
+
264
+ **Action: ** To verify if NNE or checksumming are enabled, you can use the
265
+ following query::
266
+
267
+ SELECT network_service_banner FROM v$session_connect_info;
268
+
269
+ If NNE is enabled, then this query prints output that includes the
270
+ available encryption service, the crypto-checksumming service, and the
271
+ algorithms in use, such as::
272
+
273
+ NETWORK_SERVICE_BANNER
274
+ -------------------------------------------------------------------------------------
275
+ TCP/IP NT Protocol Adapter for Linux: Version 19.0.0.0.0 - Production
276
+ Encryption service for Linux: Version 19.0.1.0.0 - Production
277
+ AES256 Encryption service adapter for Linux: Version 19.0.1.0.0 - Production
278
+ Crypto-checksumming service for Linux: Version 19.0.1.0.0 - Production
279
+ SHA256 Crypto-checksumming service adapter for Linux: Version 19.0.1.0.0 - Production
280
+
281
+ If NNE is not enabled, then the query will only print the available encryption
282
+ and crypto-checksumming services in the output. For example::
283
+
284
+ NETWORK_SERVICE_BANNER
285
+ -------------------------------------------------------------------------------------
286
+ TCP/IP NT Protocol Adapter for Linux: Version 19.0.0.0.0 - Production
287
+ Encryption service for Linux: Version 19.0.1.0.0 - Production
288
+
289
+ If NNE or checksumming are enabled, you can resolve this error by either:
290
+
291
+ - Changing the architecture to use Transport Layer Security (TLS), which is
292
+ supported in python-oracledb Thin and Thick modes. See `Configuring
293
+ Transport Layer Security Encryption
294
+ <https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-8B82DD7E-7189-4FE9-8F3B-4E521706E1E4> `__.
295
+ - Or :ref: `enabling python-oracledb Thick mode <enablingthick >`.
296
+
297
+ .. seealso ::
298
+
299
+ `Oracle Database Security Guide <https://www.oracle.com/pls/topic/lookup?
300
+ ctx=dblatest&id=DBSEG> `__ for more information about Oracle Data Network
301
+ Encryption and Integrity, and for information about configuring TLS
302
+ network encryption.
303
+
256
304
DPY-3010
257
305
++++++++
258
306
@@ -330,48 +378,15 @@ DPY-4011
330
378
**Cause: ** If this occurs when using an already opened connection, additional
331
379
messages may indicate a reason.
332
380
333
- If the error occurs when creating a connection or connection pool, the common
334
- cause is that Oracle Database has Native Network Encryption (NNE) enabled. NNE
335
- is only supported in python-oracledb Thick mode.
336
-
337
- **Action: ** To verify if NNE is enabled, you can use the following query::
338
-
339
- SELECT network_service_banner FROM v$session_connect_info;
340
-
341
- If NNE is enabled, then this query prints output that includes the
342
- available encryption service, the crypto-checksumming service, and the
343
- algorithms in use, such as::
344
-
345
- NETWORK_SERVICE_BANNER
346
- -------------------------------------------------------------------------------------
347
- TCP/IP NT Protocol Adapter for Linux: Version 19.0.0.0.0 - Production
348
- Encryption service for Linux: Version 19.0.1.0.0 - Production
349
- AES256 Encryption service adapter for Linux: Version 19.0.1.0.0 - Production
350
- Crypto-checksumming service for Linux: Version 19.0.1.0.0 - Production
351
- SHA256 Crypto-checksumming service adapter for Linux: Version 19.0.1.0.0 - Production
352
-
353
- If NNE is not enabled, then the query will only print the available encryption
354
- and crypto-checksumming services in the output. For example::
355
-
356
- NETWORK_SERVICE_BANNER
357
- -------------------------------------------------------------------------------------
358
- TCP/IP NT Protocol Adapter for Linux: Version 19.0.0.0.0 - Production
359
- Encryption service for Linux: Version 19.0.1.0.0 - Production
381
+ If the error occurs when creating a connection or connection pool with
382
+ python-oracledb 2 or earlier, the common cause is that Oracle Database has
383
+ Native Network Encryption (NNE) enabled. NNE and Oracle Net checksumming are
384
+ only supported in python-oracledb Thick mode.
360
385
361
- If NNE is enabled, you can resolve this error by either:
386
+ **Action: ** Review if NNE or checksumming are enabled. See
387
+ :ref: `DPY-3001 <dpy3001 >` for solutions.
362
388
363
- - Changing the architecture to use Transport Layer Security (TLS), which is
364
- supported in python-oracledb Thin and Thick modes. See `Configuring
365
- Transport Layer Security Encryption
366
- <https://www.oracle.com/pls/topic/lookup?ctx=dblatest&id=GUID-8B82DD7E-7189-4FE9-8F3B-4E521706E1E4> `__.
367
- - Or :ref: `enabling python-oracledb Thick mode <enablingthick >`.
368
-
369
- .. seealso ::
370
-
371
- `Oracle Database Security Guide <https://www.oracle.com/pls/topic/lookup?
372
- ctx=dblatest&id=DBSEG> `__ for more information about Oracle Data Network
373
- Encryption and Integrity, and for information about configuring TLS
374
- network encryption.
389
+ If additional messages indicate a reason, follow their guidance.
375
390
376
391
.. _oraerr :
377
392
0 commit comments