Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Detect "Temporary failure in name resolution" on DigitalOcean's PostgreSQL #36369

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
Member

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.

None yet

3 participants