Why i always get 'connect reset by peer'?

every time i install docker just like the docker doc saying. when i want to use docker login or docker pull (and so on ),i always get the error below:
Error response from daemon: Get https://registry-1.docker.io/v2/: write tcp 192.168.91.149:49502->50.17.62.194:443: write: connection reset by peer
who can tell me why ? what do i need to do to solve this problems?