Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion python/ray/dashboard/modules/event/event_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ async def _get_dashboard_http_address(self):
)
if not dashboard_http_address:
raise ValueError("Dashboard http address not found in InternalKV.")
self._dashboard_http_address = dashboard_http_address.decode()
address = dashboard_http_address.decode()
if not address.startswith(("http://", "https://")):
address = f"http://{address}"
self._dashboard_http_address = address
return self._dashboard_http_address
except Exception:
logger.exception("Get dashboard http address failed.")
Expand Down