I’m having trouble using accelerate. It fails with the message “timed out while waiting to receive data”
Here’s the output from -vvvv if there’s no accelerate process running:
attempting connection to play.clara.io via the accelerated port 5099
failed, retrying…
failed, retrying…
failed, retrying…
Could not connect via the accelerated connection, exceeded # of tries
Falling back to ssh to startup accelerated mode
attempting to start up the accelerate daemon…
<play.clara.io> ESTABLISH CONNECTION FOR USER: blarsen
<play.clara.io> EXEC [‘ssh’, ‘-tt’, ‘-vvv’, ‘-o’, ‘ControlMaster=auto’, ‘-o’, ‘ControlPersist=60s’, ‘-o’, ‘ControlPath=/home/blarsen/.ansible/cp/ansible-ssh-%h-%p-%r’, ‘-o’, ‘StrictHostKeyChecking=no’, ‘-o’, ‘Port=22’, ‘-o’, ‘KbdInteractiveAuthentication=no’, ‘-o’, ‘PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey’, ‘-o’, ‘PasswordAuthentication=no’, ‘-o’, ‘ConnectTimeout=10’, ‘play.clara.io’, “/bin/sh -c ‘mkdir -p $HOME/.ansible/tmp/ansible-1383078590.97-85382680194668 && chmod a+rx $HOME/.ansible/tmp/ansible-1383078590.97-85382680194668 && echo $HOME/.ansible/tmp/ansible-1383078590.97-85382680194668’”]
<play.clara.io> PUT /tmp/tmp0zkOQy TO /home/blarsen/.ansible/tmp/ansible-1383078590.97-85382680194668/accelerate
<play.clara.io> EXEC [‘ssh’, ‘-tt’, ‘-vvv’, ‘-o’, ‘ControlMaster=auto’, ‘-o’, ‘ControlPersist=60s’, ‘-o’, ‘ControlPath=/home/blarsen/.ansible/cp/ansible-ssh-%h-%p-%r’, ‘-o’, ‘StrictHostKeyChecking=no’, ‘-o’, ‘Port=22’, ‘-o’, ‘KbdInteractiveAuthentication=no’, ‘-o’, ‘PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey’, ‘-o’, ‘PasswordAuthentication=no’, ‘-o’, ‘ConnectTimeout=10’, ‘play.clara.io’, “/bin/sh -c ‘/usr/bin/python /home/blarsen/.ansible/tmp/ansible-1383078590.97-85382680194668/accelerate; rm -rf /home/blarsen/.ansible/tmp/ansible-1383078590.97-85382680194668/ >/dev/null 2>&1’”]
attempting connection to play.clara.io via the accelerated port 5099
EXEC COMMAND mkdir -p $HOME/.ansible/tmp/ansible-1383078595.79-111934745781373 && chmod a+rx $HOME/.ansible/tmp/ansible-1383078595.79-111934745781373 && echo $HOME/.ansible/tmp/ansible-1383078595.79-111934745781373
play.clara.io: in recv_data(), waiting for the header
play.clara.io: got the header, unpacking
play.clara.io: data received so far (expecting 153): 0
play.clara.io: received all of the data, returning
play.clara.io: received the response
<play.clara.io> REMOTE_MODULE setup
<play.clara.io> PUT /tmp/tmpqzlsxw TO /home/blarsen/.ansible/tmp/ansible-1383078595.79-111934745781373/setup
PUT file is 126471 bytes
file position currently 0, file size is 126471
play.clara.io: in recv_data(), waiting for the header
play.clara.io: got the header, unpacking
play.clara.io: data received so far (expecting 57): 0
play.clara.io: received all of the data, returning
file position currently 20880, file size is 126471
play.clara.io: in recv_data(), waiting for the header
play.clara.io: got the header, unpacking
play.clara.io: data received so far (expecting 57): 0
play.clara.io: received all of the data, returning
file position currently 41760, file size is 126471
play.clara.io: in recv_data(), waiting for the header
play.clara.io: got the header, unpacking
play.clara.io: data received so far (expecting 57): 0
play.clara.io: received all of the data, returning
file position currently 62640, file size is 126471
play.clara.io: in recv_data(), waiting for the header
play.clara.io: got the header, unpacking
play.clara.io: data received so far (expecting 57): 0
play.clara.io: received all of the data, returning
file position currently 83520, file size is 126471
play.clara.io: in recv_data(), waiting for the header
play.clara.io: got the header, unpacking
play.clara.io: data received so far (expecting 57): 0
play.clara.io: received all of the data, returning
file position currently 104400, file size is 126471
play.clara.io: in recv_data(), waiting for the header
play.clara.io: got the header, unpacking
play.clara.io: data received so far (expecting 57): 0
play.clara.io: received all of the data, returning
file position currently 125280, file size is 126471
play.clara.io: in recv_data(), waiting for the header
play.clara.io: got the header, unpacking
play.clara.io: data received so far (expecting 57): 0
play.clara.io: received all of the data, returning
waiting for final response after PUT
play.clara.io: in recv_data(), waiting for the header
play.clara.io: got the header, unpacking
play.clara.io: data received so far (expecting 57): 0
play.clara.io: received all of the data, returning
EXEC COMMAND /bin/sh -c ‘sudo -k && sudo -H -S -p “[sudo via ansible, key=sqewehmfvpofpzcclsjmfpxhalofnakw] password: " -u root /bin/sh -c '”’“‘/usr/bin/python /home/blarsen/.ansible/tmp/ansible-1383078595.79-111934745781373/setup; rm -rf /home/blarsen/.ansible/tmp/ansible-1383078595.79-111934745781373/ >/dev/null 2>&1’”‘"’’
play.clara.io: in recv_data(), waiting for the header
fatal: [play.clara.io] => timed out while waiting to receive data
If I try it again I get:
GATHERING FACTS ***************************************************************
attempting connection to play.clara.io via the accelerated port 5099
EXEC COMMAND mkdir -p $HOME/.ansible/tmp/ansible-1383079073.01-237707214605160 && chmod a+rx $HOME/.ansible/tmp/ansible-1383079073.01-237707214605160 && echo $HOME/.ansible/tmp/ansible-1383079073.01-237707214605160
play.clara.io: in recv_data(), waiting for the header
fatal: [play.clara.io] => timed out while waiting to receive data
I get the similar results for both 1.3.3 and a fresh checkout from github.
Is there any other information you’d like me to provide?
thanks,
Bryan