Skip to Main Content

Oracle Database Discussions

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!

DB Link throws ORA-28511: lost RPC connection to heterogeneous remote agent using SID

User_Z0PEIJun 18 2020 — edited Jun 18 2020

Hi,

I use a DBLINK/Oracle Gateway to connect to an external non-oracle database. i have a timeout setting of 5 minutes.

when I connect using dblink, for the first time, it runs fine. After the idle time of 5 minutes, when I run the same sql again, it throws me the bellow error -

ORA-28511: lost RPC connection to heterogeneous remote agent using SID. ****

ORA-28509: unable to establish a connection to non-Oracle system

ORA-02063: preceding line from DB2T

Then when i run the sql again, its connecting fine. i guess its establishing a new connection.

Why am i getting the connection error and why oracle is not simply establishing a new connection when the previous connection is timed out?

Is there a way to not get the error and connect seamlessly or to suppress the error?

Thanks in Advance.

Comments
Post Details
Added on Jun 18 2020
3 comments
1,895 views