AssertionError: Session name does not match persisted value

Posted this on Slack but got no replies.

I’m getting the following error when starting ray ray start --head:

AssertionError: Session name session_2023-12-06_10-13-50_173232_14279 does not match persisted value b'session_2023-12-05_13-33-51_199270_97979'. Perhaps there was an error connecting to Redis.

This happens when accessing the cluster the next day, restarting the cluster did not help.

Any Idea?

1 Like

Got the same error. Make sure you call ray stop before starting ray cluster again. You have to do it every time and in earlier versions of RAY even twice :face_with_raised_eyebrow:

1 Like

Could this issue be connected to the cluster_config_file?