--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CA%2B5YK2HtkPFExXjS4HO5nJW9pxVGgL2t1Z0t45-wBpvTD_%3D5rw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Can you share how you're connecting via the PHP driver? Specifically, I'd like to see how authentication options are being passed to the MongoDB\Driver\Manager or MongoDB\Client constructor. Please redact the credentials, but note any characteristics of the strings that may be relevant (e.g. special characters that appear). Also, please share what version of MongoDB is in use in case that is relevant (e.g. SERVER-20365 before 3.4.0).
As you mentioned the authentication error appears sporadically, can you confirm whether the script is always interacting with the authenticated connection on each request? I ask because the connections are initialized lazily at the time the first command, query, or write is executed (not at the time the manager/client object is constructed).
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CACypnJWfUxON2dUvB2mP8PkfCqurYNU14nRGY6PbivmB9fEqQw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CA%2B5YK2E6z-NUVUDByn-GAo7HrGKXNvM-y8JdAbbJ--Ar35sR3Q%40mail.gmail.com.