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

AWS Fargate error #37

Closed
zigius opened this issue Jan 1, 2018 · 1 comment
Closed

AWS Fargate error #37

zigius opened this issue Jan 1, 2018 · 1 comment

Comments

@zigius
Copy link

zigius commented Jan 1, 2018

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!

@zigius
Copy link
Author

zigius commented Jan 1, 2018

Related to #34

@cmanaha cmanaha closed this as completed Nov 1, 2018
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

No branches or pull requests

2 participants