We are running our koolreport using nginx fastcgi configuration and executing the find query of mongodb. Also provided mongodbURI with the authSource Config as a input to the connectionString, all the credential are verified. But still getting the following error, how I can resolve this issue
Uncaught MongoDB\Driver\Exception\RuntimeException: command find requires authentication in /app/Php-Workspace/kool-report-workspace/koolreport/mongodb/vendor/mongodb/mongodb/src/Operation/Find.php:219 Stack trace: #0 /app/Php-Workspace/kool-report-workspace/koolreport/mongodb/vendor/mongodb/mongodb/src/Operation/Find.php(219): MongoDB\Driver\Server->executeQuery('PlayGround.empl...', Object(MongoDB\Driver\Query), Object(MongoDB\Driver\ReadPreference)) #1 /app/Php-Workspace/kool-report-workspace/koolreport/mongodb/vendor/mongodb/mongodb/src/Collection.php(525): MongoDB\Operation\Find->execute(Object(MongoDB\Driver\Server)) #2 /app/Php-Workspace/kool-report-workspace/koolreport/mongodb/MongoDataSource.php(110): MongoDB\Collection->find(Array, Array) #3 /app/Php-Workspace/kool-report-workspace/koolreport/core/src/KoolReport.php(315): koolreport\mongodb\MongoDataSource->start() #4 /app/Php-Workspace/kool-report-workspace/myproject/1212232323/index.php(9): koolreport\KoolReport-" while reading response header from upstream, client: 12