fleex icon indicating copy to clipboard operation
fleex copied to clipboard

Connection problem on this 169.254.169.254 IP!

Open 0xhunster opened this issue 4 years ago • 6 comments

image

0xhunster avatar Jul 19 '21 04:07 0xhunster

Hi, can you explain us more about the problem? are you using digitalocean as default provider? 169.254.169.254 is used for metadata in DO, you can't connect to it, if you want to see your Droplet metadata see this steps:

  • fleex ls to see droplets details
  • connect to the generated vps
    fleex ssh -n pwn-1
    OR
    ssh op@IPV4 -p PORT
    
  • curl http://169.254.169.254/metadata/v1/ and see all your metadata about the droplet Response:
    id
    hostname
    user-data
    vendor-data
    public-keys
    region
    interfaces/
    dns/
    floating_ip/
    tags/
    features/
    

Resources:

Let us know if everything is okay or if there are still problems

xm1k3 avatar Jul 19 '21 09:07 xm1k3

Hi there, we just pushed a fix for this issue. I suppose you were attempting a fleex build and you were using Linode. Please update fleex by running GO111MODULE=on go get -v github.com/sw33tLie/fleex, then update your config files with a fleex config init --overwrite (so that your ~/fleex/build/common.yaml file will be updated).

Let us know if this works for you now :)

sw33tLie avatar Jul 20 '21 17:07 sw33tLie

Hello, Sorry for the delay. Yes, I have to use Linode by default. fleex config init --overwrite not working! Then I delete fleex folder and reconfigure it via fleex config init. Then working :) Then I use fleex build command. Build properly does not show any error. Then when I use fleex images, I showed blank output. Then I used fleex ls as you can see? image 20248

0xhunster avatar Jul 20 '21 21:07 0xhunster

Hey thanks for the new details. Just to make sure, you have put your token again in ~/fleex/config.yaml and adjusted the other values according to your needs, right?

sw33tLie avatar Jul 20 '21 21:07 sw33tLie

image

0xhunster avatar Jul 20 '21 21:07 0xhunster

Hi, check if the files id_rsa.pub and id_rsa are present in the $HOME/.ssh/ folder or use your public/private ssh key pairs.

if you don't have ssh key pair create one with:

ssh-keygen

Or follow this resources:

xm1k3 avatar Jul 29 '21 08:07 xm1k3