SJS-HUB
Claude
commited on
Commit
·
68204b3
1
Parent(s):
e60ed62
Remove invalid PyMongo SSL parameters - URI handles SSL automatically
Browse filesThe mongodb+srv:// URI scheme automatically enables SSL/TLS.
PyMongo handles certificate verification automatically for Atlas connections.
Removed invalid ssl_cert_reqs parameter that was causing ConfigurationError.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
- database_mongo.py +1 -4
database_mongo.py
CHANGED
|
@@ -54,10 +54,7 @@ class MongoDBManager:
|
|
| 54 |
serverSelectionTimeoutMS=10000,
|
| 55 |
connectTimeoutMS=10000,
|
| 56 |
socketTimeoutMS=10000,
|
| 57 |
-
retryWrites=True
|
| 58 |
-
ssl=True,
|
| 59 |
-
ssl_cert_reqs='CERT_REQUIRED',
|
| 60 |
-
tlsAllowInvalidHostnames=False
|
| 61 |
)
|
| 62 |
|
| 63 |
# Test connection with proper error messaging
|
|
|
|
| 54 |
serverSelectionTimeoutMS=10000,
|
| 55 |
connectTimeoutMS=10000,
|
| 56 |
socketTimeoutMS=10000,
|
| 57 |
+
retryWrites=True
|
|
|
|
|
|
|
|
|
|
| 58 |
)
|
| 59 |
|
| 60 |
# Test connection with proper error messaging
|