Are you trying to connect to a tls-enabled daemon without tls

I am using v1.12 and created a swarm with 1 manager and 4 nodes
I am trying to execute this command from the swarm-master

ls *.js | parallel -P 1000 “cat {} | docker -H tcp://swarm-master:2377 run -i bfirsh/wc -w” | docker run -i bfirsh/add

But I am getting this error

Are you trying to connect to a tls-enabled daemon without tls

Any idea how to do that?