Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-5741

db.auth MongoParseError

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: Connectivity
    • None
    • Environment:
      MongoDB Compass 1.25 on Windows 64 bit.
    • Not Needed

      Problem Statement/Rationale

      Cannot authenticate using the MongoSH Beta

      Steps to Reproduce

      db.auth("username","Sp3c!al_Symbols_<StrongPWD>");

      Expected Results

      db.auth should be working similarly to the shell

      Actual Results

      MongoParseError: URI malformed, cannot be parsedWhat do you observe is happening?

      Additional Notes

      at parseConnectionString (C:\Users***\AppData\Local\MongoDBCompass\app-1.25.0\resources\app.asar\node_modules@mongodb-js\compass-shell\lib\index.js:269843:21) at connect (C:\Users**\AppData\Local\MongoDBCompass\app-1.25.0\resources\app.asar\node_modules@mongodb-js\compass-shell\lib\index.js:139044:3) at C:\Users**\AppData\Local\MongoDBCompass\app-1.25.0\resources\app.asar\node_modules@mongodb-js\compass-shell\lib\index.js:62583:5 at maybePromise (C:\Users**\AppData\Local\MongoDBCompass\app-1.25.0\resources\app.asar\node_modules@mongodb-js\compass-shell\lib\index.js:772:3) at MongoClient.connect (C:\Users**\AppData\Local\MongoDBCompass\app-1.25.0\resources\app.asar\node_modules@mongodb-js\compass-shell\lib\index.js:62579:10) at Function.MongoClient.connect (C:\Users**\AppData\Local\MongoDBCompass\app-1.25.0\resources\app.asar\node_modules@mongodb-js\compass-shell\lib\index.js:62802:22) at CompassServiceProvider._callee18$ (C:\Users**\AppData\Local\MongoDBCompass\app-1.25.0\resources\app.asar\node_modules@mongodb-js\compass-shell\lib\index.js:131963:46) at tryCatch (C:\Users**\AppData\Local\MongoDBCompass\app-1.25.0\resources\app.asar\node_modules@mongodb-js\compass-shell\lib\index.js:142640:40) at Generator.invoke [as _invoke] (C:\Users**\AppData\Local\MongoDBCompass\app-1.25.0\resources\app.asar\node_modules@mongodb-js\compass-shell\lib\index.js:142870:22) at Generator.next (C:\Users***\AppData\Local\MongoDBCompass\app-1.25.0\resources\app.asar\node_modules@mongodb-js\compass-shell\lib\index.js:142695:21)Any additional information that may be useful to include.

            Assignee:
            Unassigned Unassigned
            Reporter:
            asparuh.polyovski@delasport.com Asparuh Polyovski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: