-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patherror.log
More file actions
105 lines (104 loc) · 11.7 KB
/
Copy patherror.log
File metadata and controls
105 lines (104 loc) · 11.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.\.venv\Scripts\python.exe : Traceback (most recent call last):
At line:1 char:1
+ .\.venv\Scripts\python.exe app.py > error.log 2>&1
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (Traceback (most recent call last)::String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\app.py", line 20, in <module>
if users_col.count_documents({"username": "admin"}) == 0:
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\synchronous\collection.py", line 2163,
in count_documents
return self._retryable_non_cursor_read(_cmd, session, _Op.COUNT)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\synchronous\collection.py", line 2177,
in _retryable_non_cursor_read
return client._retryable_read(func, self._read_preference_for(s), s, operation)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 2048,
in _retryable_read
return self._retry_internal(
~~~~~~~~~~~~~~~~~~~~^
func,
^^^^^
...<7 lines>...
operation_id=operation_id,
^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\_csot.py", line 125, in csot_wrapper
return func(self, *args, **kwargs)
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 2014,
in _retry_internal
).run()
~~~^^
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 2763,
in run
return self._read() if self._is_read else self._write()
~~~~~~~~~~^^
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 2908,
in _read
self._server = self._get_server()
~~~~~~~~~~~~~~~~^^
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 2856,
in _get_server
return self._client._select_server(
~~~~~~~~~~~~~~~~~~~~~~~~~~~^
self._server_selector,
^^^^^^^^^^^^^^^^^^^^^^
...<4 lines>...
operation_id=self._operation_id,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\synchronous\mongo_client.py", line 1833,
in _select_server
server = topology.select_server(
server_selector,
...<2 lines>...
operation_id=operation_id,
)
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\synchronous\topology.py", line 428, in
select_server
server = self._select_server(
selector,
...<4 lines>...
operation_id=operation_id,
)
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\synchronous\topology.py", line 402, in
_select_server
servers = self.select_servers(
selector,
...<4 lines>...
deprioritized_servers,
)
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\synchronous\topology.py", line 298, in
select_servers
server_descriptions = self._select_servers_loop(
selector,
...<4 lines>...
deprioritized_servers=deprioritized_servers,
)
File "C:\Users\ASUS\OneDrive\Desktop\MATLAB\.venv\Lib\site-packages\pymongo\synchronous\topology.py", line 359, in
_select_servers_loop
raise ServerSelectionTimeoutError(
f"{self._error_message(selector)}, Timeout: {timeout}s, Topology Description: {self.description!r}"
)
pymongo.errors.ServerSelectionTimeoutError: SSL handshake failed: ac-mxnfbcc-shard-00-02.5qg6hui.mongodb.net:27017:
[SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1081) (configured timeouts: socketTimeoutMS:
20000.0ms, connectTimeoutMS: 20000.0ms),SSL handshake failed: ac-mxnfbcc-shard-00-00.5qg6hui.mongodb.net:27017: [SSL:
TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1081) (configured timeouts: socketTimeoutMS: 20000.0ms,
connectTimeoutMS: 20000.0ms),SSL handshake failed: ac-mxnfbcc-shard-00-01.5qg6hui.mongodb.net:27017: [SSL:
TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1081) (configured timeouts: socketTimeoutMS: 20000.0ms,
connectTimeoutMS: 20000.0ms), Timeout: 30s, Topology Description: <TopologyDescription id: 69c24461056a0ada8b9f7e1c,
topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('ac-mxnfbcc-shard-00-00.5qg6hui.mongodb.net', 27017)
server_type: Unknown, rtt: None, error=AutoReconnect('SSL handshake failed:
ac-mxnfbcc-shard-00-00.5qg6hui.mongodb.net:27017: [SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error
(_ssl.c:1081) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>, <ServerDescription
('ac-mxnfbcc-shard-00-01.5qg6hui.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('SSL
handshake failed: ac-mxnfbcc-shard-00-01.5qg6hui.mongodb.net:27017: [SSL: TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert
internal error (_ssl.c:1081) (configured timeouts: socketTimeoutMS: 20000.0ms, connectTimeoutMS: 20000.0ms)')>,
<ServerDescription ('ac-mxnfbcc-shard-00-02.5qg6hui.mongodb.net', 27017) server_type: Unknown, rtt: None,
error=AutoReconnect('SSL handshake failed: ac-mxnfbcc-shard-00-02.5qg6hui.mongodb.net:27017: [SSL:
TLSV1_ALERT_INTERNAL_ERROR] tlsv1 alert internal error (_ssl.c:1081) (configured timeouts: socketTimeoutMS: 20000.0ms,
connectTimeoutMS: 20000.0ms)')>]>