GcsPublisher __init__() takes 1 positional argument but 2 were given

Get the below error after starting the cluster. Can this suppressed by not starting the dashboard in ray.init?

(raylet, ip= Traceback (most recent call last):
(raylet, ip=   File "/home/jobuser/.local/lib/python3.7/site-packages/ray/dashboard/agent.py", line 391, in <module>
(raylet, ip=     loop.run_until_complete(agent.run())
(raylet, ip=   File "/export/apps/python/3.7/lib/python3.7/asyncio/base_events.py", line 587, in run_until_complete
(raylet, ip=     return future.result()
(raylet, ip=   File "/home/jobuser/.local/lib/python3.7/site-packages/ray/dashboard/agent.py", line 178, in run
(raylet, ip=     modules = self._load_modules()
(raylet, ip=   File "/home/jobuser/.local/lib/python3.7/site-packages/ray/dashboard/agent.py", line 120, in _load_modules
(raylet, ip=     c = cls(self)
(raylet, ip=   File "/home/jobuser/.local/lib/python3.7/site-packages/ray/dashboard/modules/reporter/reporter_agent.py", line 163, in __init__
(raylet, ip=     dashboard_agent.metrics_export_port)
(raylet, ip=   File "/home/jobuser/.local/lib/python3.7/site-packages/ray/_private/metrics_agent.py", line 79, in __init__
(raylet, ip=     address=metrics_export_address)))
(raylet, ip=   File "/home/jobuser/.local/lib/python3.7/site-packages/ray/_private/prometheus_exporter.py", line 333, in new_stats_exporter
(raylet, ip=     options=option, gatherer=option.registry, collector=collector)
(raylet, ip=   File "/home/jobuser/.local/lib/python3.7/site-packages/ray/_private/prometheus_exporter.py", line 265, in __init__
(raylet, ip=     self.serve_http()
(raylet, ip=   File "/home/jobuser/.local/lib/python3.7/site-packages/ray/_private/prometheus_exporter.py", line 320, in serve_http
(raylet, ip=     port=self.options.port, addr=str(self.options.address))
(raylet, ip=   File "/home/jobuser/.local/lib/python3.7/site-packages/prometheus_client/exposition.py", line 168, in start_wsgi_server
(raylet, ip=     TmpServer.address_family, addr = _get_best_family(addr, port)
(raylet, ip=   File "/home/jobuser/.local/lib/python3.7/site-packages/prometheus_client/exposition.py", line 157, in _get_best_family
(raylet, ip=     infos = socket.getaddrinfo(address, port)
(raylet, ip=   File "/export/apps/python/3.7/lib/python3.7/socket.py", line 752, in getaddrinfo
(raylet, ip=     for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
(raylet, ip= socket.gaierror: [Errno -2] Name or service not known
(raylet, ip= 
(raylet, ip= During handling of the above exception, another exception occurred:
(raylet, ip= 
(raylet, ip= Traceback (most recent call last):
(raylet, ip=   File "/home/jobuser/.local/lib/python3.7/site-packages/ray/dashboard/agent.py", line 407, in <module>
(raylet, ip=     gcs_publisher = GcsPublisher(args.gcs_address)
(raylet, ip= TypeError: __init__() takes 1 positional argument but 2 were given

This is my bad. I used different version of ray on head and worker nodes. Ideally it would be nice to throw version incompatible error though like in earlier versions of ray.