cURL error 6: getaddrinfo()

Keywords: WordPress - AWS - Technical issue - Other

bndiagnostic ID: 6ce972cc-39ae-0237-a8ed-0bb3322d46cb

bndiagnostic output:

? Apache: Found possible issues
? Wordpress: Found possible issues

On occasion, it seems this error appears for a number of issues. It doesn’t resolve until the Server is restarted. The error message Error: cURL error 6: getaddrinfo() thread failed to start (http_request_failed) also appears when attempting to update a plugin.


There was a thread about this before: How to fix cURL error 6: getaddrinfo()

However, it does not seem the fix on that thread would be applicable here. Does anyone know how to fix? Thanks

Hi @js102,

Does it happen while trying to update any plugin? Could you tell me the steps to reproduce it?


Hi Michiel, thanks for the reply. It happened prior to attempting any plugin update, then when trying to update plugins, that error message would display. The steps to reproduce are unknown to me because this has happened about 3 times in the last 3 months and it seems to be a random occurrence. Since it happens only once a month roughly, my preferred solution is to just reboot the Lightsail instance. But, curious to know if there are any other solutions.

Hi @js102,

Thank you for using our solution. That’s a specific question about the application so we suggest you ask in the official forums of the application to get more information about that. The app’s documentation should also describe how to troubleshoot this issue, so please take a look at it too.

However, we will also keep this ticket open in this forum in case any Bitnami user ran into the same issue recently.