Skip to content

Conversation

rihardsgrislis
Copy link

When using managed PostgreSQL instances on DigitalOcean every now and then this pops out. After seeing #35744, #35790 and others decided to fix this.

PDOException: SQLSTATE[08006] [7] could not translate host name "private-xxx-do-user-0.a.db.ondigitalocean.com" to address: Temporary failure in name resolution

… then this pops out. After seeing laravel#35744, laravel#35790 and others decided to fix this.

PDOException: ```SQLSTATE[08006] [7] could not translate host name "private-xxx-do-user-0.a.db.ondigitalocean.com" to address: Temporary failure in name resolution```
@rihardsgrislis
Copy link
Author

Also what do you think about adding DetectsLostConnections to Redis? Using managed Redis instance this also sometimes happens in Redis::connect.

RedisException: php_network_getaddresses: getaddrinfo failed: Name or service not known

@GrahamCampbell
Copy link
Collaborator

This should target 6.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants