My Oracle Support Banner

Ora-28578 From Extproc After Configuring Wallet (Doc ID 753530.1)

Last updated on JULY 17, 2018

Applies to:

Advanced Networking Option - Version to [Release 10.2 to 12.2]
Oracle Net Services - Version to [Release 10.2 to 12.2]
Information in this document applies to any platform.
Advanced Networking Option - Version: to
This problem can occur on any platform.


After configuring password credentials for connecting to databases stored in a client-side Oracle wallet using mkstore, extproc programs start to fail as follows:

set serveroutput on;

ORA-28578: protocol error during callback from an external procedure
ORA-06512: at "SCOTT.TEST_PROC", line 1
ORA-06512: at line 2

You may also find the extproc process is just hanging, if you dump a call stack using a debugger like gdb you will see:

(gdb) where
#0 0x000000309900cc50 in __read_nocancel () from /lib64/
#1 0x00002b4f14a6e981 in ntusread ()
from /opt/oracle/product/10.2/db/lib/
#2 0x00002b4f13ea16b2 in nsprecv ()
from /opt/oracle/product/10.2/db/lib/
#3 0x00002b4f13ea52f7 in nsrdr ()
from /opt/oracle/product/10.2/db/lib/
#4 0x00002b4f13e7f54c in nsdo ()
from /opt/oracle/product/10.2/db/lib/
#5 0x00002b4f13e7ee2e in nsbrecv ()
from /opt/oracle/product/10.2/db/lib/
#6 0x00002b4f13ebf53e in nioqrc ()
from /opt/oracle/product/10.2/db/lib/
#7 0x00002b4f13d80b4e in hottcr_Receive ()
from /opt/oracle/product/10.2/db/lib/
#8 0x00002b4f14051f87 in ttcrbur ()
from /opt/oracle/product/10.2/db/lib/
#9 0x00002b4f140506e8 in ttcbur ()
from /opt/oracle/product/10.2/db/lib/
#10 0x00002b4f14a98ebd in ttcdrv ()
from /opt/oracle/product/10.2/db/lib/
#11 0x00002b4f13ec6ce0 in nioqwa ()
from /opt/oracle/product/10.2/db/lib/


You configured the Secure External Password Store using mkstore and set associated parameter SQLNET.WALLET_OVERRIDE = TRUE in the server side sqlnet.ora parameter. You also are using the external procedure callout agent (extproc) to run routines from C libraries from Pl/Sql.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.