My Oracle Support Banner

GG Replication From Oracle To Mongodb -com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. (Doc ID 2975817.1)

Last updated on JULY 20, 2024

Applies to:

Oracle GoldenGate Big Data and Application Adapters - Version 21.1.0.0.0 and later
Information in this document applies to any platform.

Symptoms

=ERROR 2023-09-06 14:04:33.000154 [main] - Error flushing records
com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=xxx-xx-xx-xxx.xx.xxxx.net:37017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketReadException: Prematurely reached end of stream}}]
at com.mongodb.internal.connection.BaseCluster.getDescription(BaseCluster.java:182) ~[mongo-java-driver-3.10.1.jar:?]
at com.mongodb.internal.connection.SingleServerCluster.getDescription(SingleServerCluster.java:41) ~[mongo-java-driver-3.10.1.jar:?]

Cause

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

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


In this Document
Symptoms
Cause
Solution
References


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