Open
Description
- Laravel-mongodb Version: 4.1.0
- PHP Version: 8.2.12
- Database Driver & Version: Atlas Mongo DB Serverless V2 Version 7.1.1
Description:
Steps to reproduce
- Install mongo db version 4.1.0 in laravel 10.37.3
- Set up using DB_DSN
- Fetch any data using model in tinker
Expected behaviour
Display the collection on the specific model that call
Actual behaviour
Error
MongoDB\Driver\Exception\InvalidArgumentException Failed to parse URI options: Failed to look up SRV record "_mongodb._tcp.XXXX.XXX.mongodb.net": A temporary error occurred on an authoritative name server. Try again later.
BUT everything fine when calling in routes
Metadata
Metadata
Assignees
Labels
No labels