Error creating new Docker Machines on Digital Ocean

I’m struggling with creating a DO droplet, as well. Hitting restart does nothing for me and in my DO cloud portal I see under activity that the droplet is created and removed again (also see debug log). Almost seems to me like Wappler tries to get details of the droplet before DO has the droplet ready. Wappler tries too many times and aborts.

I’ve tried above solution, but I get this in the debug console:

Docker Machine Version:  0.16.2-gitlab.11, build b09ad09f
Found binary path at C:\Users\jelle\AppData\Local\Wappler\resources\app\Shared\DMXzone\dmxAppCreator\UI\bin\win64\docker\docker-machine.exe
Launching plugin server for driver digitalocean
Plugin server listening at address 127.0.0.1:65069
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName    
(flag-lookup) Calling .GetCreateFlags
Found binary path at C:\Users\jelle\AppData\Local\Wappler\resources\app\Shared\DMXzone\dmxAppCreator\UI\bin\win64\docker\docker-machine.exe
Launching plugin server for driver digitalocean
Plugin server listening at address 127.0.0.1:65071
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(test666) Calling .GetMachineName
(test666) Calling .DriverName
(test666) Calling .GetCreateFlags
(test666) Calling .SetConfigFromFlags
Reading certificate data from C:\Users\jelle\.docker\machine\certs\ca.pem  
Decoding PEM data...
Parsing certificate...
Reading certificate data from C:\Users\jelle\.docker\machine\certs\cert.pem
Decoding PEM data...
Parsing certificate...
Running pre-create checks...
(test666) Calling .PreCreateCheck
(test666) DBG | DO_API: Region List
(test666) Calling .GetConfigRaw
Creating machine...
(test666) Calling .Create    
(test666) Creating SSH key...
(test666) DBG | DO_API: Keys Create
(test666) Creating Digital Ocean droplet...
(test666) DBG | DO_API: Create Droplet
(test666) Waiting for IP address to be assigned to the Droplet...
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) DBG | DO_API: Get Droplet
(test666) Droplet creation failed on Digital Ocean, removing...
(test666) DBG | DO_API: Keys DeleteByID
(test666) DBG | DO_API: Droplets Delete
(test666) Calling .GetConfigRaw
Error creating machine: Error in driver during machine creation: too many tries (60)
notifying bugsnag: [Error creating machine: Error in driver during machine creation: too many tries (60)]
Fetching Docker Machines ...
Error Creating Docker Machine!
Done!

This seem a recent major problem with Digital Ocean.

After a lot of research and trial, we were able to solve it. Turned to be a timing issue. Digital Ocean droplet creation just needed more time.

So it should be solved in the next update

1 Like

This has been improved in Wappler 4.0.5

1 Like

Will try out soon and report findings :ok_hand:
Thanks for the super quick support.

This topic was automatically closed after 31 hours. New replies are no longer allowed.