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
pymongo version
$ pip list | grep pymongo
pymongo 3.12.0
pymongo exception
$ python aggregate.pyTraceback (most recent call last): File "C:\Python37\lib\site-packages\pymongo\mongo_client.py", line 1515, in _retryable_read read_pref, session, address=address) File "C:\Python37\lib\site-packages\pymongo\mongo_client.py", line 1346, in _select_server server = topology.select_server(server_selector) File "C:\Python37\lib\site-packages\pymongo\topology.py", line 246, in select_server address)) File "C:\Python37\lib\site-packages\pymongo\topology.py", line 203, in select_servers selector, server_timeout, address) File "C:\Python37\lib\site-packages\pymongo\topology.py", line 220, in _select_servers_loop (self._error_message(selector), timeout, self.description))pymongo.errors.ServerSelectionTimeoutError: ilcedto227:27017: [WinError 10061] No connection could be made because the target machine actively refused it, Timeout: 30s, Topology Description: <TopologyDescription id: 6100d686e58f6f012b324373, topology_type: Single, servers: [<ServerDescription ('ilcedto227', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('ilcedto227:27017: [WinError 10061] No connection could be made because the target machine actively refused it')>]>During handling of the above exception, another exception occurred:Traceback (most recent call last): File "report_lib/aggregate.py", line 335, in <module> result = client['aws']['globe-51297197'].aggregate(aggregate_days_pipeline, **disk_use) File "C:\Python37\lib\site-packages\pymongo\collection.py", line 2501, in aggregate **kwargs) File "C:\Python37\lib\site-packages\pymongo\collection.py", line 2420, in _aggregate retryable=not cmd._performs_write) File "C:\Python37\lib\site-packages\pymongo\mongo_client.py", line 1531, in _retryable_read raise last_error File "C:\Python37\lib\site-packages\pymongo\mongo_client.py", line 1525, in _retryable_read return func(session, server, sock_info, secondary_ok) File "C:\Python37\lib\site-packages\pymongo\aggregation.py", line 149, in get_cursor user_fields=self._user_fields) File "C:\Python37\lib\site-packages\pymongo\pool.py", line 726, in command self._raise_connection_failure(error) File "C:\Python37\lib\site-packages\pymongo\pool.py", line 721, in command exhaust_allowed=exhaust_allowed) File "C:\Python37\lib\site-packages\pymongo\network.py", line 149, in command reply = receive_message(sock_info, request_id) File "C:\Python37\lib\site-packages\pymongo\network.py", line 196, in receive_message _receive_data_on_socket(sock_info, 16, deadline)) File "C:\Python37\lib\site-packages\pymongo\network.py", line 293, in _receive_data_on_socket raise AutoReconnect("connection closed")pymongo.errors.AutoReconnect: connection closed
But without something reproducible showing an issue in the way Mongo is packaged in a container then I don't think there's isn't anything we could do to alleviate this. I would try asking over at a mongo-specific resource or the Docker Community Forums, Docker Community Slack, or Stack Overflow. Since these repos aren't really a user-help forum
Uh oh!
There was an error while loading. Please reload this page.
mongo:5.0.0 - container dies with 139 on executing aggregate on RHEL 7.6
dockerfile
docker events
MongoDB Compass

pymongo code
pymongo version
$ pip list | grep pymongo
pymongo 3.12.0
pymongo exception
docker logs mongodb_mongo-db_1 -f
The text was updated successfully, but these errors were encountered: