Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Report - MacOS newest versions are broken #4139

Open
PrinzKenny1 opened this issue Mar 7, 2023 · 10 comments
Open

Bug Report - MacOS newest versions are broken #4139

PrinzKenny1 opened this issue Mar 7, 2023 · 10 comments

Comments

@PrinzKenny1
Copy link

Bug Report

Current Behavior

Hi, when I try to access my localhost, I get this error:

An error occurred while loading instance info: Connection pool for localhost:27017 was cleared because another operation failed with: "connect ECONNRESET 127.0.0.1:27017".

Im trying to connect from MacOS to a MongoDB Server which runs in a VM on Ubuntu.

This first happened after upgrading to version 1.34.1 and is persistent in the newest and beta versions. However, version 1.33.1 functions fine.

Environment

  • node.js / npm versions: 16.17.0 / 8.15.0
  • OS: macOS Ventura 13.2.1 with M1 Processor
@Anemy
Copy link
Member

Anemy commented May 25, 2023

@PrinzKenny1 - thanks for reporting - Does this issue persist with the newly released 1.37.0?
https://github.com/mongodb-js/compass/releases

@PrinzKenny1
Copy link
Author

PrinzKenny1 commented May 25, 2023

Hi,
unfortunately yes :(

Bildschirmfoto 2023-05-25 um 17 46 17

@Anemy
Copy link
Member

Anemy commented May 30, 2023

@PrinzKenny1 Not sure what could be causing this.
If possible can you share your Compass logs with us? It will likely log an error when loading the instance which may give us more information. Be sure to redact any sensitive information. You can find the log in the Help menu then with the Open Log File option.

@PrinzKenny1
Copy link
Author

Sure thing.

{"t":{"$date":"2023-05-30T21:45:27.426Z"},"s":"I","c":"COMPASS-MAIN","id":1001000001,"ctx":"logging","msg":"Starting logging","attr":{"version":"1.37.0","nodeVersion":"16.17.1","electronVersion":"22.3.10","chromeVersion":"108.0.5359.215","platform":"darwin","arch":"arm64","osReleaseName":null,"osReleaseVersion":null,"pendingEarlyLogEventCount":2}} {"t":{"$date":"2023-05-30T21:45:27.303Z"},"s":"I","c":"COMPASS-PREFERENCES","id":1001000153,"ctx":"preferences","msg":"Skipping global configuration file due to error","attr":{"filename":"/etc/mongodb-compass.conf","error":"ENOENT: no such file or directory, open '/etc/mongodb-compass.conf'","code":"ENOENT"}} {"t":{"$date":"2023-05-30T21:45:27.305Z"},"s":"I","c":"COMPASS-PREFERENCES","id":1001000158,"ctx":"preferences","msg":"Parsed command line flags","attr":{"options":["_"]}} {"t":{"$date":"2023-05-30T21:45:27.428Z"},"s":"I","c":"COMPASS-TELEMETRY","id":1001000094,"ctx":"Telemetry","msg":"Enabling Telemetry reporting"} {"t":{"$date":"2023-05-30T21:45:27.428Z"},"s":"I","c":"COMPASS-TELEMETRY","id":1001000093,"ctx":"Telemetry","msg":"Loading telemetry config","attr":{"telemetryCapableEnvironment":true,"hasAnalytics":true,"currentUserId":null,"telemetryAnonymousId":"5136bc00-3bb8-46d8-8ccc-3dc5ce5db791","state":"enabled","queuedEvents":0}} {"t":{"$date":"2023-05-30T21:45:27.438Z"},"s":"I","c":"COMPASS-MAIN","id":1001000169,"ctx":"Protocol handling","msg":"Modifying protocol handlers","attr":{"action":"install","protocols":null}} {"t":{"$date":"2023-05-30T21:45:27.440Z"},"s":"I","c":"COMPASS-AUTO-UPDATES","id":1001000130,"ctx":"AutoUpdateManager","msg":"Initializing"} {"t":{"$date":"2023-05-30T21:45:27.441Z"},"s":"I","c":"COMPASS-AUTO-UPDATES","id":1001000133,"ctx":"AutoUpdateManager","msg":"Setting up updateManager","attr":{"endpoint":"https://compass.mongodb.com","product":"compass","channel":"stable","platform":"darwin","arch":"arm64","version":"1.37.0","updateCheckInterval":14400000,"initialUpdateDelay":30000,"enabled":false}} {"t":{"$date":"2023-05-30T21:45:27.441Z"},"s":"I","c":"COMPASS-AUTO-UPDATES","id":1001000162,"ctx":"AutoUpdateManager","msg":"Disabling auto updates"} {"t":{"$date":"2023-05-30T21:45:27.442Z"},"s":"I","c":"COMPASS-MAIN","id":1001000125,"ctx":"AutoEncryption","msg":"Found MongoDB Crypt library","attr":{"cryptSharedLibPath":"/Applications/MongoDB Compass 3.app/Contents/Resources/app.asar.unpacked/build/assets/mongo_crypt_v1.1091e3e21e2d550aabb9.dylib","externalOverride":null}} {"t":{"$date":"2023-05-30T21:45:31.646Z"},"s":"I","c":"COMPASS-MIGRATIONS","id":1001000070,"ctx":"Migrations","msg":"Considering upgrade migration","attr":{"previousVersion":"1.33.1","currentVersion":"1.37.0","tasks":[]}} {"t":{"$date":"2023-05-30T21:45:32.134Z"},"s":"I","c":"COMPASS-PLUGINS","id":1001000141,"ctx":"Hadron Plugin Manager","msg":"Loading plugins from path /Users/calvinmende/.mongodb/compass/plugins"} {"t":{"$date":"2023-05-30T21:45:32.135Z"},"s":"W","c":"COMPASS-PLUGINS","id":1001000142,"ctx":"Hadron Plugin Manager","msg":"Failed to load plugins","attr":{"path":"/Users/calvinmende/.mongodb/compass/plugins","message":"ENOENT: no such file or directory, scandir '/Users/calvinmende/.mongodb/compass/plugins'"}} {"t":{"$date":"2023-05-30T21:45:32.139Z"},"s":"I","c":"COMPASS-APP","id":1001000092,"ctx":"Main Window","msg":"Rendering app container","attr":{"autoConnectEnabled":false}} {"t":{"$date":"2023-05-30T21:45:32.241Z"},"s":"I","c":"COMPASS-INTERCOM","id":1001000116,"ctx":"Intercom","msg":"Loading intercom script"} {"t":{"$date":"2023-05-30T21:45:32.242Z"},"s":"I","c":"COMPASS-INTERCOM","id":1001000111,"ctx":"Intercom","msg":"Intercom booted with metadata","attr":{"user_id":"5136bc00-3bb8-46d8-8ccc-3dc5ce5db791","app_id":"p57suhg7","created_at":1662301138,"app_name":"MongoDB Compass","app_version":"1.37.0","app_stage":"production"}} {"t":{"$date":"2023-05-30T21:45:47.790Z"},"s":"I","c":"COMPASS-CONNECT-UI","id":1001000004,"ctx":"Connection UI","msg":"Initiating connection attempt"} {"t":{"$date":"2023-05-30T21:45:47.791Z"},"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000014,"ctx":"Connection 0","msg":"Connecting","attr":{"url":"mongodb://<credentials>@localhost:27170/trimdu?authSource=trimdu&tls=false&appName=MongoDB+Compass","csfle":null}} {"t":{"$date":"2023-05-30T21:45:47.811Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000042,"ctx":"compass-connect","msg":"Initiating connection attempt","attr":{"uri":"mongodb://<credentials>@localhost:27170/trimdu?authSource=trimdu&tls=false&appName=MongoDB+Compass","driver":{"name":"nodejs","version":"5.5.0"},"devtoolsConnectVersion":"2.1.0","host":"localhost:27170"}} {"t":{"$date":"2023-05-30T21:45:47.813Z"},"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000021,"ctx":"Connection 0","msg":"Topology description changed","attr":{"isWritable":false,"isMongos":false,"previousType":"Unknown","newType":"Unknown"}} {"t":{"$date":"2023-05-30T21:45:47.813Z"},"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000019,"ctx":"Connection 0","msg":"Server opening","attr":{"address":"localhost:27170"}} {"t":{"$date":"2023-05-30T21:45:47.830Z"},"s":"D1","c":"COMPASS-DATA-SERVICE","id":1001000022,"ctx":"Connection 0","msg":"Server heartbeat succeeded","attr":{"connectionId":"localhost:27170","duration":16}} {"t":{"$date":"2023-05-30T21:45:47.831Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000035,"ctx":"compass-connect","msg":"Server heartbeat succeeded","attr":{"connectionId":"localhost:27170"}} {"t":{"$date":"2023-05-30T21:45:47.831Z"},"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000018,"ctx":"Connection 0","msg":"Server description changed","attr":{"address":"localhost:27170","error":null,"previousType":"Unknown","newType":"Standalone"}} {"t":{"$date":"2023-05-30T21:45:47.831Z"},"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000021,"ctx":"Connection 0","msg":"Topology description changed","attr":{"isWritable":true,"isMongos":false,"previousType":"Unknown","newType":"Single"}} {"t":{"$date":"2023-05-30T21:45:47.843Z"},"s":"D1","c":"COMPASS-DATA-SERVICE","id":1001000029,"ctx":"Connection 0","msg":"Driver command succeeded","attr":{"address":"127.0.0.1:27170","serverConnectionId":1,"duration":1,"commandName":"ping"}} {"t":{"$date":"2023-05-30T21:45:47.843Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000037,"ctx":"compass-connect","msg":"Connection attempt finished"} {"t":{"$date":"2023-05-30T21:45:47.846Z"},"s":"D1","c":"COMPASS-DATA-SERVICE","id":1001000029,"ctx":"Connection 0","msg":"Driver command succeeded","attr":{"address":"127.0.0.1:27170","serverConnectionId":1,"duration":1,"commandName":"ping"}} {"t":{"$date":"2023-05-30T21:45:47.846Z"},"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000015,"ctx":"Connection 0","msg":"Connected","attr":{"isWritable":true,"isMongos":false}} {"t":{"$date":"2023-05-30T21:45:47.879Z"},"s":"D1","c":"COMPASS-DATA-SERVICE","id":1001000029,"ctx":"Connection 0","msg":"Driver command succeeded","attr":{"address":"127.0.0.1:27170","serverConnectionId":1,"duration":3,"commandName":"connectionStatus"}} {"t":{"$date":"2023-05-30T21:45:47.882Z"},"s":"D1","c":"COMPASS-DATA-SERVICE","id":1001000029,"ctx":"Connection 0","msg":"Driver command succeeded","attr":{"address":"127.0.0.1:27170","serverConnectionId":1,"duration":3,"commandName":"buildInfo"}} {"t":{"$date":"2023-05-30T21:45:47.883Z"},"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000018,"ctx":"Connection 0","msg":"Server description changed","attr":{"address":"localhost:27170","error":"connect ECONNRESET 127.0.0.1:27170","previousType":"Standalone","newType":"Unknown"}} {"t":{"$date":"2023-05-30T21:45:47.884Z"},"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000021,"ctx":"Connection 0","msg":"Topology description changed","attr":{"isWritable":false,"isMongos":false,"previousType":"Single","newType":"Single"}} {"t":{"$date":"2023-05-30T21:45:47.887Z"},"s":"E","c":"COMPASS-DATA-SERVICE","id":1001000058,"ctx":"Connection 0","msg":"Failed to perform data service operation","attr":{"op":"instance","message":{"address":"localhost:27170"}}} {"t":{"$date":"2023-05-30T21:45:47.887Z"},"s":"E","c":"COMPASS-CONNECT-UI","id":1001000190,"ctx":"Telemetry","msg":"Error computing event properties for telemetry","attr":{"event":"New Connection","error":"MongoPoolClearedError: Connection pool for localhost:27170 was cleared because another operation failed with: \"connect ECONNRESET 127.0.0.1:27170\"\n at C.processWaitQueue (file:///Applications/MongoDB%20Compass%203.app/Contents/Resources/app.asar/build/102.95c62276b9000ee31b5c.renderer.js:2:740577)\n at C.clear (file:///Applications/MongoDB%20Compass%203.app/Contents/Resources/app.asar/build/102.95c62276b9000ee31b5c.renderer.js:2:736102)\n at w (file:///Applications/MongoDB%20Compass%203.app/Contents/Resources/app.asar/build/102.95c62276b9000ee31b5c.renderer.js:2:939164)\n at S.serverUpdateHandler (file:///Applications/MongoDB%20Compass%203.app/Contents/Resources/app.asar/build/102.95c62276b9000ee31b5c.renderer.js:2:937512)\n at g.<anonymous> (file:///Applications/MongoDB%20Compass%203.app/Contents/Resources/app.asar/build/102.95c62276b9000ee31b5c.renderer.js:2:938847)\n at g.emit (node:events:513:28)\n at _ (file:///Applications/MongoDB%20Compass%203.app/Contents/Resources/app.asar/build/102.95c62276b9000ee31b5c.renderer.js:2:922193)\n at g.handleError (file:///Applications/MongoDB%20Compass%203.app/Contents/Resources/app.asar/build/102.95c62276b9000ee31b5c.renderer.js:2:921584)\n at file:///Applications/MongoDB%20Compass%203.app/Contents/Resources/app.asar/build/102.95c62276b9000ee31b5c.renderer.js:2:919904\n at Object.callback (file:///Applications/MongoDB%20Compass%203.app/Contents/Resources/app.asar/build/102.95c62276b9000ee31b5c.renderer.js:2:736935)"}} {"t":{"$date":"2023-05-30T21:45:47.888Z"},"s":"D1","c":"COMPASS-DATA-SERVICE","id":1001000030,"ctx":"Connection 0","msg":"Driver command failed","attr":{"address":"127.0.0.1:27170","serverConnectionId":1,"duration":6,"commandName":"getParameter","failure":"not authorized on admin to execute command { getParameter: 1, featureCompatibilityVersion: 1, lsid: { id: UUID(\"93a22d28-7cda-4f01-9a96-c0c3a2418d4f\") }, $db: \"admin\" }"}} {"t":{"$date":"2023-05-30T21:45:47.892Z"},"s":"E","c":"COMPASS-DATA-SERVICE","id":1001000058,"ctx":"Connection 0","msg":"Failed to perform data service operation","attr":{"op":"instance","message":{"address":"localhost:27170"}}} {"t":{"$date":"2023-05-30T21:45:48.204Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000042,"ctx":"mongosh-connect","msg":"Initiating connection attempt","attr":{"uri":"mongodb://<credentials>@localhost:27170/trimdu?authSource=trimdu&tls=false&appName=MongoDB+Compass","driver":{"name":"nodejs","version":"5.5.0"},"devtoolsConnectVersion":"2.1.0","host":"localhost:27170"}} {"t":{"$date":"2023-05-30T21:45:48.211Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000035,"ctx":"mongosh-connect","msg":"Server heartbeat succeeded","attr":{"connectionId":"localhost:27170"}} {"t":{"$date":"2023-05-30T21:45:48.224Z"},"s":"I","c":"DEVTOOLS-CONNECT","id":1000000037,"ctx":"mongosh-connect","msg":"Connection attempt finished"} {"t":{"$date":"2023-05-30T21:45:48.237Z"},"s":"I","c":"MONGOSH","id":1000000010,"ctx":"shell-api","msg":"Initialized context","attr":{"method":"setCtx","arguments":{}}} {"t":{"$date":"2023-05-30T21:45:48.308Z"},"s":"I","c":"MONGOSH","id":1000000007,"ctx":"repl","msg":"Evaluating input","attr":{"input":"(() => {\n switch (typeof prompt) {\n case 'function':\n return prompt();\n case 'string':\n return prompt;\n }\n })()"}} {"t":{"$date":"2023-05-30T21:45:48.427Z"},"s":"I","c":"MONGOSH","id":1000000004,"ctx":"connect","msg":"Connecting to server","attr":{"session_id":"","userId":null,"telemetryAnonymousId":null,"connectionUri":"<mongodb uri>","is_atlas":false,"is_localhost":true,"is_do":false,"server_version":"4.4.13","node_version":"v16.17.1","mongosh_version":"1.9.0","server_os":"linux","server_arch":"aarch64","is_enterprise":false,"auth_type":"DEFAULT","is_data_federation":false,"dl_version":null,"atlas_version":null,"is_genuine":true,"non_genuine_server_name":"mongodb","fcv":null,"api_version":null,"api_strict":null,"api_deprecation_errors":null}} {"t":{"$date":"2023-05-30T21:45:57.892Z"},"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000018,"ctx":"Connection 0","msg":"Server description changed","attr":{"address":"localhost:27170","error":null,"previousType":"Unknown","newType":"Standalone"}} {"t":{"$date":"2023-05-30T21:45:57.893Z"},"s":"I","c":"COMPASS-DATA-SERVICE","id":1001000021,"ctx":"Connection 0","msg":"Topology description changed","attr":{"isWritable":true,"isMongos":false,"previousType":"Single","newType":"Single"}}

@himanshusinghs
Copy link
Contributor

himanshusinghs commented Jul 13, 2023

Hi @PrinzKenny1! Thank you for the logs.
From the logs, it appears that Compass is able to successfully connect to your MongoDB installation but at some point Compass comes across an ECONNRESET error. This might be happening due to network errors, server restarts, etc.

It would be helpful if you could:

  • confirm that your server is running just fine without any restarts, check the server logs for the same.
  • also share the mongodb server logs right after you tried and failed while connecting with Compass. To do that:
    • connect to your setup using mongosh
    • run the following command db.adminCommand({ getLog: 'global' })
    • redact any sensitive information

@PrinzKenny1
Copy link
Author

Hi @himanshusinghs,

yes the server runs just fine. I still can connect with version 1.33.1 if the error occurs on the newer versions. I noticed I could connect once with the newer version, but after disconnecting and trying to reconnect, it didn't work anymore... Tried restarting application and server, but it didn't help unfortunately :/

Whats even weirder is that it seems to connect to the server at least for the shell part:
Bildschirmfoto 2023-07-13 um 20 11 20

Toggling Dev Tools and looking at console states the following:
Bildschirmfoto 2023-07-13 um 20 21 45

Here is a clean log of the server:

[
    '{"t":{"$date":"2023-07-13T20:16:23.928+02:00"},"s":"I",  "c":"CONTROL",  "id":20698,   "ctx":"main","msg":"***** SERVER RESTARTED *****"}',
    `{"t":{"$date":"2023-07-13T20:16:23.928+02:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}`,
    '{"t":{"$date":"2023-07-13T20:16:23.933+02:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}',
    '{"t":{"$date":"2023-07-13T20:16:23.933+02:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}',
    '{"t":{"$date":"2023-07-13T20:16:23.933+02:00"},"s":"I",  "c":"STORAGE",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":2503,"port":27170,"dbPath":"/var/lib/mongodb","architecture":"64-bit","host":"trimdu"}}',
    '{"t":{"$date":"2023-07-13T20:16:23.934+02:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.13","gitVersion":"df25c71b8674a78e17468f48bcda5285decb9246","openSSLVersion":"OpenSSL 1.1.1f  31 Mar 2020","modules":[],"allocator":"tcmalloc","environment":{"distmod":"ubuntu2004","distarch":"aarch64","target_arch":"aarch64"}}}}',
    '{"t":{"$date":"2023-07-13T20:16:23.934+02:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"Ubuntu","version":"20.04"}}}',
    '{"t":{"$date":"2023-07-13T20:16:23.934+02:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"config":"/etc/mongod.conf","net":{"bindIp":"0.0.0.0","port":27170},"processManagement":{"timeZoneInfo":"/usr/share/zoneinfo"},"storage":{"dbPath":"/var/lib/mongodb","journal":{"enabled":true}},"systemLog":{"destination":"file","logAppend":true,"path":"/var/log/mongodb/mongod.log"}}}}',
    '{"t":{"$date":"2023-07-13T20:16:23.934+02:00"},"s":"I",  "c":"STORAGE",  "id":22270,   "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/var/lib/mongodb","storageEngine":"wiredTiger"}}',
    '{"t":{"$date":"2023-07-13T20:16:23.934+02:00"},"s":"I",  "c":"STORAGE",  "id":22297,   "ctx":"initandlisten","msg":"Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem","tags":["startupWarnings"]}',
    '{"t":{"$date":"2023-07-13T20:16:23.934+02:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=1442M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.588+02:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1689272184:588051][2503:0xffff90fd0980], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 58 through 59"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.602+02:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1689272184:602941][2503:0xffff90fd0980], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 59 through 59"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.638+02:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1689272184:638763][2503:0xffff90fd0980], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Main recovery loop: starting at 58/5504 to 59/256"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.667+02:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1689272184:667139][2503:0xffff90fd0980], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 58 through 59"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.686+02:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1689272184:686283][2503:0xffff90fd0980], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 59 through 59"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.700+02:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1689272184:700424][2503:0xffff90fd0980], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (0, 0)"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.700+02:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1689272184:700465][2503:0xffff90fd0980], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global oldest timestamp: (0, 0)"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.702+02:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1689272184:702575][2503:0xffff90fd0980], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 1, snapshot max: 1 snapshot count: 0, oldest timestamp: (0, 0) , meta checkpoint timestamp: (0, 0) base write gen: 136885"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.707+02:00"},"s":"I",  "c":"STORAGE",  "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":773}}',
    '{"t":{"$date":"2023-07-13T20:16:24.707+02:00"},"s":"I",  "c":"RECOVERY", "id":23987,   "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":0,"i":0}}}}',
    '{"t":{"$date":"2023-07-13T20:16:24.708+02:00"},"s":"I",  "c":"STORAGE",  "id":4366408, "ctx":"initandlisten","msg":"No table logging settings modifications are required for existing WiredTiger tables","attr":{"loggingEnabled":true}}',
    '{"t":{"$date":"2023-07-13T20:16:24.709+02:00"},"s":"I",  "c":"STORAGE",  "id":22262,   "ctx":"initandlisten","msg":"Timestamp monitor starting"}',
    '{"t":{"$date":"2023-07-13T20:16:24.710+02:00"},"s":"W",  "c":"CONTROL",  "id":22120,   "ctx":"initandlisten","msg":"Access control is not enabled for the database. Read and write access to data and configuration is unrestricted","tags":["startupWarnings"]}',
    '{"t":{"$date":"2023-07-13T20:16:24.712+02:00"},"s":"I",  "c":"STORAGE",  "id":20536,   "ctx":"initandlisten","msg":"Flow Control is enabled on this deployment"}',
    '{"t":{"$date":"2023-07-13T20:16:24.714+02:00"},"s":"I",  "c":"FTDC",     "id":20625,   "ctx":"initandlisten","msg":"Initializing full-time diagnostic data capture","attr":{"dataDirectory":"/var/lib/mongodb/diagnostic.data"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.714+02:00"},"s":"I",  "c":"REPL",     "id":6015317, "ctx":"initandlisten","msg":"Setting new configuration state","attr":{"newState":"ConfigReplicationDisabled","oldState":"ConfigPreStart"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.715+02:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"/tmp/mongodb-27170.sock"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.715+02:00"},"s":"I",  "c":"NETWORK",  "id":23015,   "ctx":"listener","msg":"Listening on","attr":{"address":"0.0.0.0"}}',
    '{"t":{"$date":"2023-07-13T20:16:24.715+02:00"},"s":"I",  "c":"NETWORK",  "id":23016,   "ctx":"listener","msg":"Waiting for connections","attr":{"port":27170,"ssl":"off"}}',
    '{"t":{"$date":"2023-07-13T20:16:30.111+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.0.2.2:54773","connectionId":1,"connectionCount":1}}',
    '{"t":{"$date":"2023-07-13T20:16:30.111+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn1","msg":"client metadata","attr":{"remote":"10.0.2.2:54773","client":"conn1","doc":{"application":{"name":"MongoDB Compass Beta"},"driver":{"name":"nodejs","version":"5.6.0"},"platform":"Node.js v18.12.1, LE","os":{"name":"darwin","architecture":"arm64","version":"22.5.0","type":"Darwin"}}}}',
    '{"t":{"$date":"2023-07-13T20:16:30.115+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.0.2.2:54774","connectionId":2,"connectionCount":2}}',
    '{"t":{"$date":"2023-07-13T20:16:30.115+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn2","msg":"client metadata","attr":{"remote":"10.0.2.2:54774","client":"conn2","doc":{"application":{"name":"MongoDB Compass Beta"},"driver":{"name":"nodejs","version":"5.6.0"},"platform":"Node.js v18.12.1, LE","os":{"name":"darwin","architecture":"arm64","version":"22.5.0","type":"Darwin"}}}}',
    '{"t":{"$date":"2023-07-13T20:16:30.156+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.0.2.2:54777","connectionId":3,"connectionCount":3}}',
    '{"t":{"$date":"2023-07-13T20:16:30.157+02:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn1","msg":"Connection ended","attr":{"remote":"10.0.2.2:54773","connectionId":1,"connectionCount":2}}',
    '{"t":{"$date":"2023-07-13T20:16:30.160+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn3","msg":"client metadata","attr":{"remote":"10.0.2.2:54777","client":"conn3","doc":{"application":{"name":"MongoDB Compass Beta"},"driver":{"name":"nodejs","version":"5.6.0"},"platform":"Node.js v18.12.1, LE","os":{"name":"darwin","architecture":"arm64","version":"22.5.0","type":"Darwin"}}}}',
    '{"t":{"$date":"2023-07-13T20:16:30.160+02:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn2","msg":"Connection ended","attr":{"remote":"10.0.2.2:54774","connectionId":2,"connectionCount":1}}',
    '{"t":{"$date":"2023-07-13T20:16:30.161+02:00"},"s":"I",  "c":"NETWORK",  "id":22944,   "ctx":"conn3","msg":"Connection ended","attr":{"remote":"10.0.2.2:54777","connectionId":3,"connectionCount":0}}',
    '{"t":{"$date":"2023-07-13T20:16:30.462+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.0.2.2:54778","connectionId":4,"connectionCount":1}}',
    '{"t":{"$date":"2023-07-13T20:16:30.465+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn4","msg":"client metadata","attr":{"remote":"10.0.2.2:54778","client":"conn4","doc":{"application":{"name":"MongoDB Compass Beta"},"driver":{"name":"nodejs","version":"5.6.0"},"platform":"Node.js v18.12.1, LE","os":{"name":"darwin","architecture":"arm64","version":"22.5.0","type":"Darwin"}}}}',
    '{"t":{"$date":"2023-07-13T20:16:30.543+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.0.2.2:54779","connectionId":5,"connectionCount":2}}',
    '{"t":{"$date":"2023-07-13T20:16:30.545+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.0.2.2:54780","connectionId":6,"connectionCount":3}}',
    '{"t":{"$date":"2023-07-13T20:16:30.545+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn5","msg":"client metadata","attr":{"remote":"10.0.2.2:54779","client":"conn5","doc":{"application":{"name":"MongoDB Compass Beta"},"driver":{"name":"nodejs","version":"5.6.0"},"platform":"Node.js v18.12.1, LE","os":{"name":"darwin","architecture":"arm64","version":"22.5.0","type":"Darwin"}}}}',
    '{"t":{"$date":"2023-07-13T20:16:30.545+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn6","msg":"client metadata","attr":{"remote":"10.0.2.2:54780","client":"conn6","doc":{"application":{"name":"MongoDB Compass Beta"},"driver":{"name":"nodejs","version":"5.6.0"},"platform":"Node.js v18.12.1, LE","os":{"name":"darwin","architecture":"arm64","version":"22.5.0","type":"Darwin"}}}}',
    '{"t":{"$date":"2023-07-13T20:16:30.548+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.0.2.2:54781","connectionId":7,"connectionCount":4}}',
    '{"t":{"$date":"2023-07-13T20:16:30.549+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.0.2.2:54782","connectionId":8,"connectionCount":5}}',
    '{"t":{"$date":"2023-07-13T20:16:30.549+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn7","msg":"client metadata","attr":{"remote":"10.0.2.2:54781","client":"conn7","doc":{"application":{"name":"MongoDB Compass Beta"},"driver":{"name":"nodejs","version":"5.6.0"},"platform":"Node.js v18.12.1, LE","os":{"name":"darwin","architecture":"arm64","version":"22.5.0","type":"Darwin"}}}}',
    '{"t":{"$date":"2023-07-13T20:16:30.549+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn8","msg":"client metadata","attr":{"remote":"10.0.2.2:54782","client":"conn8","doc":{"application":{"name":"MongoDB Compass Beta"},"driver":{"name":"nodejs","version":"5.6.0"},"platform":"Node.js v18.12.1, LE","os":{"name":"darwin","architecture":"arm64","version":"22.5.0","type":"Darwin"}}}}',
    '{"t":{"$date":"2023-07-13T20:16:40.164+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.0.2.2:54783","connectionId":9,"connectionCount":6}}',
    '{"t":{"$date":"2023-07-13T20:16:40.165+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn9","msg":"client metadata","attr":{"remote":"10.0.2.2:54783","client":"conn9","doc":{"application":{"name":"MongoDB Compass Beta"},"driver":{"name":"nodejs","version":"5.6.0"},"platform":"Node.js v18.12.1, LE","os":{"name":"darwin","architecture":"arm64","version":"22.5.0","type":"Darwin"}}}}',
    '{"t":{"$date":"2023-07-13T20:16:40.971+02:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"Connection accepted","attr":{"remote":"10.0.2.2:54785","connectionId":10,"connectionCount":7}}',
    '{"t":{"$date":"2023-07-13T20:16:40.972+02:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn10","msg":"client metadata","attr":{"remote":"10.0.2.2:54785","client":"conn10","doc":{"application":{"name":"MongoDB Compass Beta"},"driver":{"name":"nodejs","version":"5.6.0"},"platform":"Node.js v18.12.1, LE","os":{"name":"darwin","architecture":"arm64","version":"22.5.0","type":"Darwin"}}}}'
  ],

@PrinzKenny1
Copy link
Author

I experimented a little bit and noticed that when I change the network type of my VM, it finally works... I don't really know why, but it's working now, tough I'm no longer able to use localhost, but that doesn't bother me. For reproduction of the error, I used UTM as my VM with Network Mode "Emulated VLAN". I now switched to "Shared network". Since the connection issues didn't appear before version <= 1.33.1 it might be still an issue on your side?

@lorand-horvath
Copy link

I wanted to add that latest versions of Compass after 1.37 are not Windows 7 compatible anymore, due to Electron 23+ being used. The last version working on Win 7 is 1.37.0

The error I'm getting after upgrading to 1.38 or 1.39 is:
MongoDB Compass 1 38 error - electron 23 on win 7

@himanshusinghs
Copy link
Contributor

Hi @lorand-horvath! Windows 7 is not supported anymore. You can find the official minimum requirements for running Compass here.

@lorand-horvath
Copy link

@himanshusinghs Thanks, even though you're a bit late :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants