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

[5.7] Revert "Handle AWS Connection Lost (#25295)" #27418

Merged

Conversation

iBotPeaches
Copy link
Contributor

Fixes #27053, Refs #25289 & #25295

Queue workers die with userland exception

production.ERROR: Error creating resource: [message] fopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known

Any failure in userland to fopen will cause the queue worker to kill itself, because it gets detected by "DetectsLostConnections". This is because this string is too generic in the detection of lost connections when it was intended for database lost connections, but instead it falls for random userland exceptions.

I had first opted to fix the DetectsLostConnection to check exception for DB context, but I don't know enough about internals of Laravel to do that. So I opted instead to revert the commits that added this.

See this comment for more details: #27053 (comment)

@taylorotwell taylorotwell merged commit e07e334 into laravel:5.7 Feb 5, 2019
@iBotPeaches iBotPeaches deleted the revert-25295-handle-aws-connection-lost branch November 25, 2020 14:48
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.

2 participants