airbytehq / airbytehq/airbyte

🐛 Source MongoDB v2: Failed to fetch schema MongoDB Atlas

Abierto
#8,564 14 comentarios 2 reacciones 0 asignados Ver en GitHub
area/connectors area/databases community connectors/source/mongodb connectors/sources-database frozen team/db-dw-sources type/bug zendesk
Lenguaje dominante
Python
Estrellas
22.1k
Forks
5.3k
Métricas de merge de PR
Métricas de PR pendientes

Descripción

## Environment
- **Airbyte version**: 0.33.4-alpha
- **OS Version / Instance**: Ubuntu 20.04 LTS on GCP
- **Deployment**: Docker
- **Source Connector and version**: airbyte/source-mongodb-v2:0.1.8
- **Destination Connector and version**: airbyte/destination-bigquery:0.5.0
- **Severity**: High
- **Step where error happened**: Setup new connection

## Current Behavior
I created source (MongoDB) and destination (BigQuery), checked connection - on this step all ok. After, i setup new connection, and started fetch data schema from mongo, this operation lasted about 30 min, and failed.

![image](https://user-images.githubusercontent.com/31256186/144937944-154028d2-b9ca-4cac-98b0-fd64d871e57b.png)

## Expected Behavior
Fetch data schema

## Logs
[error.txt](https://github.com/airbytehq/airbyte/files/7664159/error.txt)

LOG

```
2021-12-06 22:58:32 ERROR () LineGobbler(voidCall):82 - Exception in thread "main" com.mongodb.MongoCommandException: Command failed with error 16872 (Location16872): 'Invalid $project :: caused by :: '$' by itself is not a valid FieldPath' on server *******-shard-00-02.9lnlp.mongodb.net:27017. The full response is {"operationTime": {"$timestamp": {"t": 1638831510, "i": 4}}, "ok": 0.0, "errmsg": "Invalid $project :: caused by :: '$' by itself is not a valid FieldPath", "code": 16872, "codeName": "Location16872", "$clusterTime": {"clusterTime": {"$timestamp": {"t": 1638831510, "i": 4}}, "signature": {"hash": {"$binary": {"base64": "4swprwaSLZ01X1OdvfHQwUnrdy8=", "subType": "00"}}, "keyId": 6998221739326963718}}}
```

## Steps to Reproduce
1. Create source and destination
2. Check connection to source and destination
3. Setup new connection

## Are you willing to submit a PR?

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.