-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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] Ray Mac OSX security popups every time I run script locally #18730
Comments
@ijrsvt @thomasdesr or other mac users, do you know if this is because the worker processes are binding to something like 0.0.0.0 (instead of 127.0.0.1)? Or is OSX just complaining about any port being opened, even if it listens only internally? |
Did we try if listening on |
I don't think there is a flag/setting for single node mode currently, but I think it would be ok to add a simple helper function in C++ that checks if we are on macOS and if yes return 127.0.0.1 and else return 0.0.0.0. Later if needed we could migrate it to a flag, but I don't really see the need. I doubt we need to support macOS clusters any time soon (or ever). |
I can still repro this:
then run: import ray
import time
ray.init()
@ray.remote
def test():
time.sleep(10)
print("hello!")
return 10
results = ray.get([test.remote() for i in range(10)]) |
can you confirm the |
I can reproduce it with a new conda environment. But I'm not able to reproduce with locally built ray with the same commit. |
Also If I just do |
@simon-mo do you need me to check the commit still? thank you all for digging in here! |
@worldveil I don't need the commit and I have a PR out for the fix. Will let you verify once it's merged. |
@worldveil it should have been fixed. Could you verify and close the issue? |
@jjyao I still see this on |
@worldveil Can you try it now with the latest wheel. Sorry for so many iterations. |
Confirmed with @worldveil that popups are gone. |
@jjyao I have seen it again :/ is there any reason I should be seeing this on Ray 1.9.x? any regressions? I can try to provide a repro if needed, but it is inconsistent |
No, it shouldn't happen. If you can give a repro, I'm happy to debug it. |
Have not been able to repro! Leaving closed for now. |
Search before asking
Ray Component
Ray Core, Monitoring & Debugging, Others
What happened + What you expected to happen
I always see these popups.
They are ridiculously annoying and often keep appearing even after script is done running.
It doesn't give me confidence in Ray.
Reproduction script
Literally any ray example will work.
should trigger this.
Anything else
Let's figure out how to address and add to the docs.
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: