I setup docker with digital ocean and pushed everything to a domain live yesterday and it was all working. However, when I opened wappler to work on things I couldn’t connect docker to my digital ocean droplet, I tried on my mac desktop and still couldn’t, I even destroyed the droplet and tried creating a few others but continued to get this error:
Server:
ERROR: Cannot connect to the Docker daemon at tcp://xx.xxx.xx.xx:2375. Is the docker daemon running?
errors pretty printing info
Error Occurred Testing Docker Connection!
I’ve spent over 6 hours today trying to solve this, I’m going crazy at this point.
“Error: All configured authentication methods failed at doNextAuth (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/client.js:803:21) at tryNextAuth (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/client.js:993:7) at tryNextAgentKey (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/client.js:1002:11) at USERAUTH_FAILURE (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/client.js:366:20) at 51 (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/protocol/handlers.misc.js:337:16) at Protocol.onPayload (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/protocol/Protocol.js:2025: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:1994:25) at Protocol.parse (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/protocol/Protocol.js:293:16) at Socket. (/Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/client.js:713:21) at Socket.emit (node:events:390:28) at addChunk (node:internal/streams/readable:315:12) at readableAddChunk (node:internal/streams/readable:289:9) at Socket.Readable.push (node:internal/streams/readable:228:10) at TCP.onStreamRead (node:internal/stream_base_commons:199:23)
Error: Timed out while waiting for handshake at /Applications/Wappler.app/Contents/Resources/app/node_modules/ssh2/lib/client.js:1014:23 at sentryWrapped (/Applications/Wappler.app/Contents/Resources/app/node_modules/@sentry/browser/dist/helpers.js:75:23)”
Which chatgpt tells me:
"This error message suggests that there was a problem with the SSH authentication while attempting to connect to your Digital Ocean server using Wappler with Docker.
The error message specifically states that “All configured authentication methods failed,” which could mean that there was an issue with the SSH key used for authentication, or there may be a problem with the permissions on the server.
The error also mentions a timeout while waiting for a handshake, which could indicate that there is a network issue or a problem with the server responding."
However, I’ve tried adding my own SSH key to my droplet and that did not solve it.
I’m not sure what happened but it started working again. I still get the error when testing my connection in settings, target, remote but I am able to push to production and it’s live on the domain.
My new issue is that the database is not being pushed to the domain, I have the half green circle next to the production deployment button.