Unable to connect a worker node to head

I get this error when i try connecting a worker node to head. the runtime_env_agent port is open and accessible from head

runtime_env_agent_client.cc:293: The raylet exited immediately because the runtime env agent timed out when Raylet try to connect to it. This can happen because the runtime env agent was never started, or is listening to the wrong port. Read the log cat /tmp/ray/session_latest/logs/runtime_env_agent.log. You can find the log file structure here Configuring Logging — Ray 3.0.0.dev0.

Hello! Usually this error happens coz your Raylet can’t connect to the runtime agent. This is usually because of port issues or if the runtime agent isn’t started correctly. The error message suggests checking /tmp/ray/session_latest/logs/runtime_env_agent.log for any errors - can you check it and let me know what it says? :slight_smile: Thanks!