Hydrospheredata/hydro-serving

docker-compose won't start at the first time

Closed this issue · 1 comments

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 commented

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.