Closed ajitdas123 closed 4 years ago
Did you solve this? I'm in the same stage.
I have a same problem, but it's only happen in Laravel 5.6, in 5.5 and lower, it's don't happen
Ok, for me, the solution was removing the user/pass:
'username' => 'example',
'password' => 'example',
It seems there's no need for it.
I use the second setting and don't work, I tried downgrade the mongodb composer lib, but only downgrade the Laravel and laravel-mongodb lib work to me. I dump the laravel-mongodb lib to get who sended to mongodb lib and was correct.
@libasoles Hi can you please share your complete settings :)) I hope that is ok. I still could not find the solution
Same problem here trying to connect to AWS DocumentDB - I believe the problem is the driver can't verify the cert vs a known PEM. I have been trying to use the 'driver_options' => [ 'context' => stream_context_create([ 'ssl' => [
block but this causes further issues for me stating the context isn't valid, though it really does appear to be. Anyone have any further luck?
Please see if this helps - if it does, please let me know / comment on the PR, would love to get it merged. GH-1751
I am trying to connect to monogo db on localhost,but its giving me this error.
My settings are as follows for localhost :
I tried this with mongo alas with following settings
SETTING 01 :
SETTING 02
Can anyone please guide me how can i fix this issue.
PS: i can access to these database with mongodb compass and can work with at ease so, my guessing is the database is working fine. its just the sttings or something.
Thanks