zilliztech / zilliztech/VectorDBBench

fails to connect to Mongo Atlas DB

Open
#482 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
1.2k
Forks
438
Avg merge
1d 4h
Merged PRs (30d)
1

Description

2025-03-08 09:49:16,000 | INFO: index params: {'type': 'vectorSearch', 'fields': [{'type': 'vector', 'similarity': 'euclidean', 'numDimensions': None, 'path': 'vector', 'quantization': 'none'}]} (mongodb.py:40) (43879) 2025-03-08 09:49:46,639 | WARNING: [1/1] case {'label': <CaseLabel.Performance: 2>, 'dataset': {'data': {'name': 'My Dataset', 'size': 1000000, 'dim': 1024, 'metric_type': <MetricType.L2: 'L2'>}}, 'db': 'MongoDB'} failed to run, reason=cluster1-shard-00-02.v9uas.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms),cluster1-shard-00-00.v9uas.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms),cluster1-shard-00-01.v9uas.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: <TopologyDescription id: 67cbf67c7b7cc7a068306e26, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('cluster1-shard-00-00.v9uas.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster1-shard-00-00.v9uas.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>, <ServerDescription ('cluster1-shard-00-01.v9uas.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster1-shard-00-01.v9uas.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>, <ServerDescription ('cluster1-shard-00-02.v9uas.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('cluster1-shard-00-02.v9uas.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>]> (interface.py:194) (43879)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with mongodb.py:40 and interface.py:194, then reproduce the Mongo Atlas benchmark case shown in the log. Investigate the SSL certificate verification failure and identify a confirmed connection fix; done means the MongoDB case connects and runs without the reported certificate error.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, python
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.