Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-13903

[Fuse Online] mongodb replica set connection error

XMLWordPrintable

    • % %
    • ?

      Using mongodb replica set connection, this ends with Timeout Exception:

      i-setbodydelop-5-nscjp i-setbodydelop 2020-05-26 10:00:34.353  INFO 1 --- [/syndesis-timer] org.mongodb.driver.cluster               : No server chosen by WritableServerSelector from cluster description ClusterDescription{type=REPLICA_SET, connectionMode=SINGLE, serverDescriptions=[ServerDescription{address=mongodb:27017, type=REPLICA_SET_SECONDARY, state=CONNECTED, ok=true, version=ServerVersion{versionList=[3, 2, 10]}, minWireVersion=0, maxWireVersion=4, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=null, roundTripTimeNanos=1194142, setName='rs0', canonicalAddress=mongodb-0.mongodb-internal.strimzi.svc.cluster.local:27017, hosts=[mongodb-2.mongodb-internal.strimzi.svc.cluster.local:27017, mongodb-1.mongodb-internal.strimzi.svc.cluster.local:27017, mongodb-0.mongodb-internal.strimzi.svc.cluster.local:27017], passives=[], arbiters=[], primary='mongodb-2.mongodb-internal.strimzi.svc.cluster.local:27017', tagSet=TagSet{[]}, electionId=null, setVersion=3, lastWriteDate=null, lastUpdateTimeNanos=9085250126309}]}. Waiting for 30000 ms before timing out
      i-setbodydelop-5-nscjp i-setbodydelop 2020-05-26 10:01:04.354 ERROR 1 --- [/syndesis-timer] o.a.camel.processor.DefaultErrorHandler  : Failed delivery for (MessageId: i-M8FQIRiIq3ULvzM2J9Ez on ExchangeId: i-M8FQIRiIq3ULvzM2J9Cz). Exhausted after delivery attempt: 1 caught: org.apache.camel.component.mongodb3.CamelMongoDbException: com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting for a server that matches WritableServerSelector. Client view of cluster state is {type=REPLICA_SET, servers=[{address=mongodb:27017, type=REPLICA_SET_SECONDARY, roundTripTime=1.1 ms, state=CONNECTED}]
      
      

            pcongius Pasquale Congiusti
            rhn-support-aboucham Abel Bouchama
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: