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

[Bug] ERR_EMPTY_RESPONSE when accessing the Ray dashboard in Windows #19480

Closed
1 of 2 tasks
pcmoritz opened this issue Oct 18, 2021 · 3 comments
Closed
1 of 2 tasks

[Bug] ERR_EMPTY_RESPONSE when accessing the Ray dashboard in Windows #19480

pcmoritz opened this issue Oct 18, 2021 · 3 comments
Assignees
Labels
bug Something that is supposed to be working; but isn't P1 Issue that should be fixed within a few weeks windows

Comments

@pcmoritz
Copy link
Contributor

pcmoritz commented Oct 18, 2021

Search before asking

  • I searched the issues and found no similar issues.

Ray Component

Dashboard

What happened + What you expected to happen

When I run the following in Windows on the latest master in an Ipython shell:

import ray
ray.init(include_dashboard=True)

Screenshot with additional logs:

Screenshot 2021-10-18 134525

Versions / Dependencies

Python 3.7

Reproduction script

see description above

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!
@pcmoritz pcmoritz added bug Something that is supposed to be working; but isn't P1 Issue that should be fixed within a few weeks windows labels Oct 18, 2021
@pcmoritz
Copy link
Contributor Author

pcmoritz commented Oct 18, 2021

The dashboard build artefacts (like index.html etc.) are missing.

If I install npm from nodejs.org/en/download and run the npm commands in https://docs.ray.io/en/latest/development.html#building-ray-on-linux-macos-full to build the dashboard, this error goes away. The PR #19489 was needed to make this work.

@pcmoritz
Copy link
Contributor Author

fixed by #19575

@marcm-ml
Copy link

marcm-ml commented Nov 5, 2021

I still get this error on 1.8.0. Any ideas? I also have to manually downgrade aiohttp from 3.8.0 to 3.7.4post0 for the dashboard agent and logs to appear inside ray log folder. Otherwise the dashboard does not even start.

win10
py3.9
ray[default]==1.8.0
aiohttp==3.7.4post0

running inside virtualenv but also fails outside an env

EDIT: regarding aiohttp see #20261

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is supposed to be working; but isn't P1 Issue that should be fixed within a few weeks windows
Projects
None yet
Development

No branches or pull requests

3 participants