1 Answer
- Newest
- Most votes
- Most comments
0
The exception explains connectivity issue between PHP application and the DocumentDB Cluster.
It could be due transient network error or application is exhausting total number of connections or it could be due to load on DocumentDB.
To rule out the network issue, you can setup a tcpdump if you see any pattern with timing.
Please also provide your exact connection string and instance details for DocumentDB cluster , would be great help to investigate.
PHP driver's default behavior only attempts server selection once. If you want ,you can also change this behavior in driver so that it can make additional attempts to connect after a socket failure.
answered 2 years ago
Relevant content
- asked 6 months ago
- asked a year ago
- Greengrass StreamManager error: "Unable to read from socket, likely socket is closed or server died"Accepted Answerasked 5 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a month ago