You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
with this error:
socket.gaierror: [Errno -2] Name or service not known
The service is running as a task in a docker container in an unknown host (Fargate launches containers without you having to worry about the underlying ec2 instance. Something along the lines of hostname: 9e3hg54u)
I am willing to open a pull request if you would like to suggest a proper solution to this problem.
(for starters, it would be nice if the logger does not fail if it cant find an ip :))
Thanks!
The text was updated successfully, but these errors were encountered:
Hi,
We are trying to use this package in aws fargate. Our service crashes in the following line:
'host_ip': socket.gethostbyname(socket.gethostname())})
with this error:
socket.gaierror: [Errno -2] Name or service not known
The service is running as a task in a docker container in an unknown host (Fargate launches containers without you having to worry about the underlying ec2 instance. Something along the lines of hostname: 9e3hg54u)
I am willing to open a pull request if you would like to suggest a proper solution to this problem.
(for starters, it would be nice if the logger does not fail if it cant find an ip :))
Thanks!
The text was updated successfully, but these errors were encountered: