When I try to branch any Launchpad branch I keep getting the following error:
ssh_exchange_identification: Connection closed by remote host bzr: ERROR: Connection closed: Unexpected end of message. Please check connectivity and permissions, and report a bug if problems persist.
and the branching fails.
Occasionally it works as normal but most of the time I get this error.
Why is this happening and how can I solve it?