godeploy icon indicating copy to clipboard operation
godeploy copied to clipboard

Errors not nicely handled in AJAX

Open asgrim opened this issue 9 years ago • 0 comments

Got this response:

<br />
<b>Warning</b>:  ssh2_auth_pubkey_file(): Authentication failed for system using public key: Username/PublicKey combination invalid in <b>/home/godeploy-new/module/Deploy/src/Connection/SshConnection.php</b> on line <b>57</b><br />
{"deployment":{"id":688,"user_id":2,"project_id":15,"date_added":"2015-03-02 15:33:33","previous_revision":"1f9fa1b3f7c9662f3941664226a946826945898b","revision":"2451fc82a0295f1b77705ab1cb0c10cddc284a40","resolved_revision":"2451fc82a0295f1b77705ab1cb0c10cddc284a40","comment":"Initial deployment","status":"FAILED"},"textContent":"Commence deployment: 2015-03-02 15:33:53\n\n\nDeploy to target: XXX\n=========================\n\nException: Unable to auth using pubkey"}<br />
<b>Warning</b>:  ssh2_exec(): Connection not authenticated in <b>/home/godeploy-new/module/Deploy/src/Connection/SshConnection.php</b> on line <b>66</b><br />
<br />
<b>Fatal error</b>:  Uncaught exception 'Exception' with message 'Unable to execute command: exit' in /home/godeploy-new/module/Deploy/src/Connection/SshConnection.php:69
Stack trace:
#0 /home/godeploy-new/module/Deploy/src/Connection/SshConnection.php(137): Deploy\Connection\SshConnection-&gt;execute('exit')
#1 /home/godeploy-new/module/Deploy/src/Connection/SshConnection.php(144): Deploy\Connection\SshConnection-&gt;disconnect()
#2 [internal function]: Deploy\Connection\SshConnection-&gt;__destruct()
#3 {main}
  thrown in <b>/home/godeploy-new/module/Deploy/src/Connection/SshConnection.php</b> on line <b>69</b><br />

asgrim avatar Mar 02 '15 15:03 asgrim