mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-03 19:16:10 +00:00
Docs: Mongodb integration Addition (#20873)
Co-authored-by: Rounak Dhillon <rounakdhillon@Rounaks-MacBook-Air.local>
This commit is contained in:
parent
1063e019ba
commit
89dab09376
@ -4,3 +4,45 @@ slug: /connectors/database/mongodb/troubleshooting
|
||||
---
|
||||
|
||||
{% partial file="/v1.6/connectors/troubleshooting.md" /%}
|
||||
|
||||
## Resolving MongoDB Ingestion Failures
|
||||
|
||||
When attempting to connect OpenMetadata to MongoDB, particularly cloud-hosted or replica set deployments, you might encounter timeout errors or connection failures. Follow the steps below to identify and resolve these issues.
|
||||
|
||||
## 1. Verify Connection Scheme
|
||||
|
||||
### Cloud MongoDB (MongoDB Atlas)
|
||||
Use the connection scheme `mongodb+srv` in the **Advanced Config > Connection Scheme** field.
|
||||
Do **not** include the port in the host field.
|
||||
|
||||
**Example:**
|
||||
|
||||
```yaml
|
||||
hostPort: ahamove.mongodb.net
|
||||
connectionScheme: mongodb+srv
|
||||
```
|
||||
## 2. Enable SSL for Encrypted Connections
|
||||
|
||||
If your connection string includes `ssl=true`, you must explicitly set SSL in the Connection Options.
|
||||
|
||||
```yaml
|
||||
connectionOptions:
|
||||
ssl: true
|
||||
```
|
||||
|
||||
This is mandatory when connecting to clusters that enforce SSL/TLS encryption.
|
||||
|
||||
## 3. Inspect Debug Logs
|
||||
|
||||
Enable and review debug logs for more detailed error messages:
|
||||
|
||||
- Navigate to the ingestion workflow in the OpenMetadata UI
|
||||
- Enable **Debug Log** in the configuration settings
|
||||
- Check logs using the Docker CLI:
|
||||
|
||||
```bash
|
||||
docker logs <openmetadata-ingestion-container>
|
||||
```
|
||||
4. Check Docker Networking
|
||||
|
||||
Ensure that the OpenMetadata container is on the same network as the ingestion container, especially when running locally via Docker Compose.
|
||||
|
||||
@ -4,3 +4,45 @@ slug: /connectors/database/mongodb/troubleshooting
|
||||
---
|
||||
|
||||
{% partial file="/v1.7/connectors/troubleshooting.md" /%}
|
||||
|
||||
## Resolving MongoDB Ingestion Failures
|
||||
|
||||
When attempting to connect OpenMetadata to MongoDB, particularly cloud-hosted or replica set deployments, you might encounter timeout errors or connection failures. Follow the steps below to identify and resolve these issues.
|
||||
|
||||
## 1. Verify Connection Scheme
|
||||
|
||||
### Cloud MongoDB (MongoDB Atlas)
|
||||
Use the connection scheme `mongodb+srv` in the **Advanced Config > Connection Scheme** field.
|
||||
Do **not** include the port in the host field.
|
||||
|
||||
**Example:**
|
||||
|
||||
```yaml
|
||||
hostPort: ahamove.mongodb.net
|
||||
connectionScheme: mongodb+srv
|
||||
```
|
||||
## 2. Enable SSL for Encrypted Connections
|
||||
|
||||
If your connection string includes `ssl=true`, you must explicitly set SSL in the Connection Options.
|
||||
|
||||
```yaml
|
||||
connectionOptions:
|
||||
ssl: true
|
||||
```
|
||||
|
||||
This is mandatory when connecting to clusters that enforce SSL/TLS encryption.
|
||||
|
||||
## 3. Inspect Debug Logs
|
||||
|
||||
Enable and review debug logs for more detailed error messages:
|
||||
|
||||
- Navigate to the ingestion workflow in the OpenMetadata UI
|
||||
- Enable **Debug Log** in the configuration settings
|
||||
- Check logs using the Docker CLI:
|
||||
|
||||
```bash
|
||||
docker logs <openmetadata-ingestion-container>
|
||||
```
|
||||
4. Check Docker Networking
|
||||
|
||||
Ensure that the OpenMetadata container is on the same network as the ingestion container, especially when running locally via Docker Compose.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user