Hydrospheredata / hydro-serving

MLOps Platform
http://docs.hydrosphere.io
Apache License 2.0
271 stars 42 forks source link

docker-compose won't start at the first time #384

Closed akastav closed 3 years ago

akastav commented 3 years ago

If we start at the first time, the visualizations service got an error

INFO [MainThread] 2021-07-20 19:25:08,411 /hydro_viz/hydro_viz/utils/conf.py.110 Initializing hydrosphere client with http_endpoint=http://managerui:8080 and grpc_endpoint=managerui:9090
  File "/opt/venv/lib/python3.8/site-packages/hydrosdk/cluster.py", line 68, in __init__
    raise ConnectionError(
ConnectionError: Couldn't establish connection with grpc managerui:9090. No connection
service

It's happening because the visualization service is required to connect to managerui, but managerui can't start before visualization, Nginx config checks all proxy_pass directions. The second docker-compose up -d command works fine.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.