Summary
Error encountered while testing connection between MongoDB and Couchbase in the replication platform
Question
Am testing out mongo to couchbase connection However, i am getting an error from the replication platform
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.
Join the conversation on Slack
["error", "testing", "mongo-to-couchbase", "replication-platform"]
can you copy output as text here? not everything is visible on a screenshot
2024-10-28 09:53:16 WARN i.a.w.i.VersionedAirbyteStreamFactory(internalLog):305 - Error creating primary index: KeyspaceNotFoundException(<ec=202, category=couchbase.query, message=index_failure (202), context=QueryErrorContext({'last_dispatched_to': '192.168.65.254:8093', 'last_dispatched_from': '10.244.0.28:50348', 'retry_attempts': 0, 'client_context_id': 'ba25df-f5d0-a143-c23d-40c952c93e32d0', 'method': 'POST', 'path': '/query/service', 'http_status': 424, 'http_body': '{\n"requestID": "d7a2d809-5888-4ff9-86b3-6b4d6a2c8e69",\n"clientContextID": "ba25df-f5d0-a143-c23d-40c952c93e32d0",\n"errors": [{"code":12003,"msg":"Keyspace not found in CB datastore: default:airbyte-testing.temp.airbyte_check_2454f79e"}],\n"status": "fatal"\n}\n', 'first_error_code': 12003, 'first_error_message': 'Keyspace not found in CB datastore: default:airbyte-testing.temp.airbyte_check_2454f79e', 'statement': 'CREATE PRIMARY INDEX IF NOT EXISTS ON `airbyte-testing`.`temp`.`airbyte_check_2454f79e`', 'parameters': '{"client_context_id":"ba25df-f5d0-a143-c23d-40c952c93e32d0","metrics":false,"statement":"CREATE PRIMARY INDEX IF NOT EXISTS ON `airbyte-testing`.`temp`.`airbyte_check_2454f79e`","timeout":"74500ms"}', 'context_type': 'QueryErrorContext'}), C Source=/couchbase-python-client/src/n1ql.cxx:279>)
for the future, in case of any issues I recommend searching for words like “error”, “exception”
Its still happening. Have added retry logic for primary index creation. i am guessing its from airbyte itself
Can you create a new connection and try again? Might be something with connection state
i have tried this over 10 times and with 5 attempts each. always happening
happening in others as well