2022-02-04T07:14:57.610627+00:00 app[worker.1]: Traceback (most recent call last):
2022-02-04T07:14:57.610628+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/aiogram/dispatcher/dispatcher.py", line 415, in _process_polling_updates
2022-02-04T07:14:57.610628+00:00 app[worker.1]: for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):
2022-02-04T07:14:57.610629+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/aiogram/dispatcher/dispatcher.py", line 235, in process_updates
2022-02-04T07:14:57.610630+00:00 app[worker.1]: return await asyncio.gather(*tasks)
2022-02-04T07:14:57.610630+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/aiogram/dispatcher/handler.py", line 116, in notify
2022-02-04T07:14:57.610631+00:00 app[worker.1]: response = await handler_obj.handler(*args, **partial_data)
2022-02-04T07:14:57.610631+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/aiogram/dispatcher/dispatcher.py", line 256, in process_update
2022-02-04T07:14:57.610632+00:00 app[worker.1]: return await self.message_handlers.notify(update.message)
2022-02-04T07:14:57.610632+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/aiogram/dispatcher/handler.py", line 116, in notify
2022-02-04T07:14:57.610632+00:00 app[worker.1]: response = await handler_obj.handler(*args, **partial_data)
2022-02-04T07:14:57.610633+00:00 app[worker.1]: File "main.py", line 16, in send_welcome
2022-02-04T07:14:57.610633+00:00 app[worker.1]: candidate = collection.find_one({"tg_id": str(chatId)})
2022-02-04T07:14:57.610634+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/collection.py", line 1114, in find_one
2022-02-04T07:14:57.610634+00:00 app[worker.1]: for result in cursor.limit(-1):
2022-02-04T07:14:57.610634+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/cursor.py", line 1159, in next
2022-02-04T07:14:57.610634+00:00 app[worker.1]: if len(self.__data) or self._refresh():
2022-02-04T07:14:57.610635+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/cursor.py", line 1057, in _refresh
2022-02-04T07:14:57.610636+00:00 app[worker.1]: self.__session = self.__collection.database.client._ensure_session()
2022-02-04T07:14:57.610636+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1603, in _ensure_session
2022-02-04T07:14:57.610636+00:00 app[worker.1]: return self.__start_session(True, causal_consistency=False)
2022-02-04T07:14:57.610637+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1553, in __start_session
2022-02-04T07:14:57.610637+00:00 app[worker.1]: server_session = self._get_server_session()
2022-02-04T07:14:57.610638+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/mongo_client.py", line 1589, in _get_server_session
2022-02-04T07:14:57.610638+00:00 app[worker.1]: return self._topology.get_server_session()
2022-02-04T07:14:57.610638+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/topology.py", line 530, in get_server_session
2022-02-04T07:14:57.610639+00:00 app[worker.1]: session_timeout = self._check_session_support()
2022-02-04T07:14:57.610639+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/topology.py", line 514, in _check_session_support
2022-02-04T07:14:57.610640+00:00 app[worker.1]: self._select_servers_loop(
2022-02-04T07:14:57.610640+00:00 app[worker.1]: File "/app/.heroku/python/lib/python3.8/site-packages/pymongo/topology.py", line 216, in _select_servers_loop
2022-02-04T07:14:57.610640+00:00 app[worker.1]: raise ServerSelectionTimeoutError(
2022-02-04T07:14:57.610647+00:00 app[worker.1]: pymongo.errors.ServerSelectionTimeoutError: users-shard-00-01.cmhvn.mongodb.net:27017: connection closed,users-shard-00-02.cmhvn.mongodb.net:27017: connection closed,users-shard-00-00.cmhvn.mongodb.net:27017: connection closed, Timeout: 30s, Topology Description: <TopologyDescription id: 61fcd14601dc39b593cfd42e, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('users-shard-00-00.cmhvn.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('users-shard-00-00.cmhvn.mongodb.net:27017: connection closed')>, <ServerDescription ('users-shard-00-01.cmhvn.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('users-shard-00-01.cmhvn.mongodb.net:27017: connection closed')>, <ServerDescription ('users-shard-00-02.cmhvn.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('users-shard-00-02.cmhvn.mongodb.net:27017: connection closed')>]>