
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
데이터베이스에 정보를 업데이트 하는 과정에서 문제가 있는 것 같습니다.
mongoDB 데이터베이스의 콜렉션에도 아무것도 뜨지 않습니다.
아래와 같은 오류가 반복해서 나옵니다.

(venv) mk@gimmyeong-giui-iMac pythonprac % pip install dnspython
Requirement already satisfied: dnspython in ./venv/lib/python3.8/site-packages (2.3.0)
WARNING: You are using pip version 19.2.3, however version 23.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(venv) mk@gimmyeong-giui-iMac pythonprac % pip install pymongo
Requirement already satisfied: pymongo in ./venv/lib/python3.8/site-packages (4.3.3)
Requirement already satisfied: dnspython<3.0.0,>=1.16.0 in ./venv/lib/python3.8/site-packages (from pymongo) (2.3.0)
WARNING: You are using pip version 19.2.3, however version 23.0 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(venv) mk@gimmyeong-giui-iMac pythonprac % "/Users/mk/Desktop/Creative Cloud Files/코딩/pythonprac/venv/bin/python" "/Users/mk/Desktop/Creative Cloud Files/코딩/pythonpra
c/dbprac.py"
Traceback (most recent call last):
File "/Users/mk/Desktop/Creative Cloud Files/코딩/pythonprac/dbprac.py", line 9, in <module>
db.users.insert_one(doc)
File "/Users/mk/Desktop/Creative Cloud Files/코딩/pythonprac/venv/lib/python3.8/site-packages/pymongo/collection.py", line 628, in insert_one
self._insert_one(
File "/Users/mk/Desktop/Creative Cloud Files/코딩/pythonprac/venv/lib/python3.8/site-packages/pymongo/collection.py", line 569, in _insert_one
self.__database.client._retryable_write(acknowledged, _insert_command, session)
File "/Users/mk/Desktop/Creative Cloud Files/코딩/pythonprac/venv/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1475, in _retryable_write
with self._tmp_session(session) as s:
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/contextlib.py", line 113, in __enter__
return next(self.gen)
File "/Users/mk/Desktop/Creative Cloud Files/코딩/pythonprac/venv/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1757, in _tmp_session
s = self._ensure_session(session)
File "/Users/mk/Desktop/Creative Cloud Files/코딩/pythonprac/venv/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1740, in _ensure_session
return self.__start_session(True, causal_consistency=False)
File "/Users/mk/Desktop/Creative Cloud Files/코딩/pythonprac/venv/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1685, in __start_session
self._topology._check_implicit_session_support()
File "/Users/mk/Desktop/Creative Cloud Files/코딩/pythonprac/venv/lib/python3.8/site-packages/pymongo/topology.py", line 538, in _check_implicit_session_support
self._check_session_support()
File "/Users/mk/Desktop/Creative Cloud Files/코딩/pythonprac/venv/lib/python3.8/site-packages/pymongo/topology.py", line 554, in _check_session_support
self._select_servers_loop(
File "/Users/mk/Desktop/Creative Cloud Files/코딩/pythonprac/venv/lib/python3.8/site-packages/pymongo/topology.py", line 238, in _select_servers_loop
raise ServerSelectionTimeoutError(
pymongo.errors.ServerSelectionTimeoutError: ac-hxi65fs-shard-00-00.12dfw1h.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108),ac-hxi65fs-shard-00-02.12dfw1h.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108),ac-hxi65fs-shard-00-01.12dfw1h.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108), Timeout: 30s, Topology Description: <TopologyDescription id: 63df75c82c37740d4cac82f5, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('ac-hxi65fs-shard-00-00.12dfw1h.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('ac-hxi65fs-shard-00-00.12dfw1h.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')>, <ServerDescription ('ac-hxi65fs-shard-00-01.12dfw1h.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('ac-hxi65fs-shard-00-01.12dfw1h.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')>, <ServerDescription ('ac-hxi65fs-shard-00-02.12dfw1h.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('ac-hxi65fs-shard-00-02.12dfw1h.mongodb.net:27017: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')>]>
(venv) mk@gimmyeong-giui-iMac pythonprac %
