Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no centOS 7 servers available error #26

Open
ghost opened this issue Jul 25, 2018 · 24 comments
Open

no centOS 7 servers available error #26

ghost opened this issue Jul 25, 2018 · 24 comments

Comments

@ghost
Copy link

ghost commented Jul 25, 2018

does anyone know how to fix the 'no centos 7 servers available' error?

@Hunter11Beast
Copy link

same issue

@sumanth004
Copy link

same thing for me

@jd20
Copy link
Contributor

jd20 commented Aug 1, 2018

I was getting this too, seems to get the CentOS 7.x images, you need to specify type=distribution when calling the DO API to get all images. I submitted a fix: #28

@hyper2321
Copy link

@jd20 I am sorry, but i have that problem as well. Where do I put type=distribution? I am eager to fix, I just don't know here to go to fix it.

@hyper2321
Copy link

feel free to email me: [email protected]

@jd20
Copy link
Contributor

jd20 commented Dec 21, 2018

The changes you need to make are in the pull request I referenced in my comment above. Take a look here: https://github.com/dzt/easy-proxy/pull/28/files

@hyper2321
Copy link

hyper2321 commented Dec 21, 2018 via email

@jd20
Copy link
Contributor

jd20 commented Dec 21, 2018

Maybe better to make the changes manually, because my fork could be out-of-date by now. Which git command are you changing? git clone?

@hyper2321
Copy link

In #28 you put to use git clone https://github.com/jd20/easy-proxy.git instead of the $ git clone https://github.com/dzt/easy-proxy.git in the script. So I have Easy Proxy downloaded, but where exactly do I go to make the changes? I am not super experienced with editing code to stuff. Is it in terminal or in the actual application?

@jd20
Copy link
Contributor

jd20 commented Dec 21, 2018

I just checked, actually my fork is still up-to-date, last commit on this project was back in January. So, manually making the changes won't help actually. What's the Java error you were getting?

@hyper2321
Copy link

hyper2321 commented Dec 21, 2018 via email

@hyper2321
Copy link

screenshot 2018-12-20 at 22 16 39

@hyper2321
Copy link

Any idea how I can fix that?

@jd20
Copy link
Contributor

jd20 commented Dec 21, 2018

From the error message, it doesn't sound like you're using my fork, it sounds like you're using dzt's master branch (since the error is about the constructor, which is what my change fixed). Can you run the following command from terminal: grep require /Users/harrymcadam/easy-proxy/index.js and post the output, to confirm?

@hyper2321
Copy link

hyper2321 commented Dec 21, 2018 via email

@jd20
Copy link
Contributor

jd20 commented Dec 21, 2018

Sorry, had a typo in my command, just fixed.

@hyper2321
Copy link

hyper2321 commented Dec 21, 2018 via email

@jd20
Copy link
Contributor

jd20 commented Dec 21, 2018

It's working for me, when I just tried your steps. Your git clone looks a bit weird though, what directory are you cloning to? Are you sure you're not cloning to somewhere else, and then cd'ing into the old version? Because based on your error, I'm 99% sure you're running the original version, not the modified one.

@hyper2321
Copy link

hyper2321 commented Dec 21, 2018 via email

@jd20
Copy link
Contributor

jd20 commented Dec 21, 2018

Ok, I see what's missing, you're still on the master branch of my fork, not the branch which has the changes. After you run cd easy-proxy, run git checkout fix_do_api, then you can run npm run dev.

PS: Be sure to delete the video afterwards, it has your API token key which can be used to gain write access to your account.

@hyper2321
Copy link

hyper2321 commented Dec 21, 2018 via email

@jd20
Copy link
Contributor

jd20 commented Dec 21, 2018

NP, glad you got it working!

@camron114
Copy link

thank u

@decoyfox
Copy link

decoyfox commented Feb 4, 2019

@jd20 thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants