I am trying to insert millios of rows to redis .
I gone through the redis massinsertion tutorials and tried

**cat data.txt | python redis\_proto.py | redis-cli -p 6321 -a "myPassword" --pipe**

here the redis\_proto.py is the python script which reads the data.txt and convert to redis protocol.

I got some error like as below 

**All data transferred. Waiting for the last reply...
NOAUTH Authentication required.
NOAUTH Authentication required.** 

any help or suggestions would be appreciated ?