airbytehq / airbytehq/airbyte

🐛 Source MongoDB v2: Failed to fetch schema MongoDB Atlas

Đang mở
#8,564 14 bình luận 2 reaction 0 người được giao Xem trên GitHub
area/connectors area/databases community connectors/source/mongodb connectors/sources-database frozen team/db-dw-sources type/bug zendesk
Ngôn ngữ chính
Python
Star
22.1k
Fork
5.3k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

## 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?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.