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

Docker Container fails to start #134

Closed
Binternet opened this issue Apr 16, 2018 · 2 comments
Closed

Docker Container fails to start #134

Binternet opened this issue Apr 16, 2018 · 2 comments

Comments

@Binternet
Copy link

I'm running some load testing on the pelias api docker and encountering these errors:

root@pelias-api:/pelias/dockerfiles# ./run_services.sh
Stopping pelias_api ... done
Stopping pelias_libpostal ... done
Stopping pelias_pip-service ... done
Stopping pelias_interpolation ... done
Removing pelias_libpostal_baseimage ... done
Removing pelias_libpostal ... done
Removing pelias_pip-service ... done
Removing pelias_interpolation ... done
Removing network dockerfiles_default
Removing network dockerfiles_pelias
ERROR: network dockerfiles_pelias has active endpoints
Creating network "dockerfiles_default" with the default driver
Creating pelias_interpolation

ERROR: for interpolation  UnixHTTPConnectionPool(host='localhost', port=None): Read timed out. (read timeout=60)
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 9, in <module>
    load_entry_point('docker-compose==1.8.0', 'console_scripts', 'docker-compose')()
  File "/usr/lib/python2.7/dist-packages/compose/cli/main.py", line 61, in main
    command()
  File "/usr/lib/python2.7/dist-packages/compose/cli/main.py", line 113, in perform_command
    handler(command, command_options)
  File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "/usr/lib/python2.7/dist-packages/compose/cli/errors.py", line 56, in handle_connection_errors
    log_timeout_error()
TypeError: log_timeout_error() takes exactly 1 argument (0 given)

This happens after the load testing, which usually causes even docker ps to hang...that requires me to restart the docker service.

@arthar360
Copy link

+1

@orangejulius
Copy link
Member

This is probably fixed with the new http://github.com/pelias/docker/ repository, which is more robust than the old pelias/dockerfiles project. If anyone is still seeing this, let us know so we can try to figure out what the issue was.

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

3 participants