You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I use 'python manage.py runserver 192.168.110.8:8000', the error occurs:
File "/home1/liuxin/task1/Chatbot_CN/Chatbot_KG/util/mongo_model.py", line 40, in find_MONGO_one
datas = collection.find_one({'judgementId':ids})
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/collection.py", line 1262, in find_one
for result in cursor.limit(-1):
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/cursor.py", line 1189, in next
if len(self.__data) or self._refresh():
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/cursor.py", line 1087, in _refresh
self.__session = self.__collection.database.client._ensure_session()
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1563, in _ensure_session
return self.__start_session(True, causal_consistency=False)
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1516, in __start_session
server_session = self._get_server_session()
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1549, in _get_server_session
return self._topology.get_server_session()
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/topology.py", line 427, in get_server_session
None)
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/topology.py", line 199, in _select_servers_loop
self._error_message(selector))
pymongo.errors.ServerSelectionTimeoutError: 10.0.0.8:27017: timed out
The text was updated successfully, but these errors were encountered:
when I use 'python manage.py runserver 192.168.110.8:8000', the error occurs:
File "/home1/liuxin/task1/Chatbot_CN/Chatbot_KG/util/mongo_model.py", line 40, in find_MONGO_one
datas = collection.find_one({'judgementId':ids})
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/collection.py", line 1262, in find_one
for result in cursor.limit(-1):
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/cursor.py", line 1189, in next
if len(self.__data) or self._refresh():
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/cursor.py", line 1087, in _refresh
self.__session = self.__collection.database.client._ensure_session()
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1563, in _ensure_session
return self.__start_session(True, causal_consistency=False)
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1516, in __start_session
server_session = self._get_server_session()
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1549, in _get_server_session
return self._topology.get_server_session()
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/topology.py", line 427, in get_server_session
None)
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/topology.py", line 199, in _select_servers_loop
self._error_message(selector))
pymongo.errors.ServerSelectionTimeoutError: 10.0.0.8:27017: timed out
when I use 'python manage.py runserver 192.168.110.8:8000', the error occurs:
File "/home1/liuxin/task1/Chatbot_CN/Chatbot_KG/util/mongo_model.py", line 40, in find_MONGO_one
datas = collection.find_one({'judgementId':ids})
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/collection.py", line 1262, in find_one
for result in cursor.limit(-1):
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/cursor.py", line 1189, in next
if len(self.__data) or self._refresh():
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/cursor.py", line 1087, in _refresh
self.__session = self.__collection.database.client._ensure_session()
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1563, in _ensure_session
return self.__start_session(True, causal_consistency=False)
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1516, in __start_session
server_session = self._get_server_session()
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/mongo_client.py", line 1549, in _get_server_session
return self._topology.get_server_session()
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/topology.py", line 427, in get_server_session
None)
File "/home1/liuxin/anaconda3/envs/py36/lib/python3.6/site-packages/pymongo/topology.py", line 199, in _select_servers_loop
self._error_message(selector))
pymongo.errors.ServerSelectionTimeoutError: 10.0.0.8:27017: timed out
The text was updated successfully, but these errors were encountered: