I have a client who I have assisted in setting up a little Wappler project.
This is a NodeJS project on Mac, using docker through digital ocean, and all is working well on his side.
He asked me to assist with something and I asked if he could push his entire project to github.
I then opened his github project and can see all the files perfectly, including the cloud providers, with his digital ocean server etc.
The problem comes up when try to deploy to his digital ocean droplet after i have made my changes, it just runs and runs and never actually goes anywhere.
Upon opening the project i get the following message
Error: All configured authentication methods failed at doNextAuth (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/client.js:865:21) at tryNextAuth (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/client.js:1082:7) at tryNextAgentKey (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/client.js:1091:11) at USERAUTH_FAILURE (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/client.js:423:20) at 51 (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/protocol/handlers.misc.js:408:16) at Protocol.onPayload (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/protocol/Protocol.js:2059:10) at AESGCMDecipherNative.decrypt (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/protocol/crypto.js:987:26) at Protocol.parsePacket [as _parse] (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/protocol/Protocol.js:2028:25) at Protocol.parse (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/protocol/Protocol.js:313:16) at Socket.<anonymous> (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/client.js:775:21) at Socket.emit (node:events:514:28) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at Socket.push (node:internal/streams/readable:234:10) at TCP.onStreamRead (node:internal/stream_base_commons:190:23)
Then a few seconds later this message comes up
Error: Timed out while waiting for handshake at /Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/client.js:1116:23 at sentryWrapped (/Applications/Wappler.app/Contents/Resources/app/node_modules/@sentry/browser/cjs/helpers.js:92:17)
If I go to resource manager and click on Cloud Providers > Digital Ocean > Servers > ProjectDroplet and try start the SSH Terminal I get the following message
root@18x.16x.8x.22x: Permission denied (publickey).
Just a few things to note, we have the same access to the github repo, and we have the same access to the Digital Ocean account, so not sure what it needs.