FleexSecurity / fleex

Fleex makes it easy to create multiple VPS on cloud providers and use them to distribute workloads.
https://fleexsecurity.github.io/fleex-docs/
Apache License 2.0
250 stars 30 forks source link

Spawn no longer working on DO #24

Closed michael1026 closed 2 years ago

michael1026 commented 2 years ago

Hello,

Not sure if this is some issue with my own device, but it appears fleex spawn is no longer working for Digital Ocean. If I wait long enough, I eventually get a 524 (a timeout occurred) from Digital Ocean.

$ fleex spawn -c 5 -n pwn
INFO[0001] All spawn requests sent! Now waiting for all boxes to become ready 
FATA[0155] GET https://api.digitalocean.com/v2/droplets?page=1&per_page=9999: 524 <!DOCTYPE html>
...

I'll spend some time to see if I can discover the issue myself.

Thanks!

michael1026 commented 2 years ago

Got it working :) I think DO doesn't allow s-1vcpu-1gb on sfo2 anymore. I had to switch to a new region, then create a new image in that region.

For debugging purposes, it would be great if the call to controller.Service.SpawnFleet on line 162 of controller.go checked the error that gets returned and logged it. I can create a PR if that's something of interest.