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

Cannot Configure with API Token #66

Open
bperez3237 opened this issue Sep 25, 2019 · 5 comments
Open

Cannot Configure with API Token #66

bperez3237 opened this issue Sep 25, 2019 · 5 comments

Comments

@bperez3237
Copy link

I'm having trouble configuring the tool with my API token. Upon running the configure command, i get: Error: The base API URL 'https://api.exercism.io/v1' cannot be reached. I tried running exercism troubleshoot and got back:

GitHub:
* https://api.github.com
* [Get https://api.github.com: dial tcp: lookup api.github.com: getaddrinfow: A non-recoverable error occurred during a database lookup.]
* 4.0347ms

Exercism:
* https://api.exercism.io/v1/ping
* [Get https://api.exercism.io/v1/ping: dial tcp: lookup api.exercism.io: getaddrinfow: A non-recoverable error occurred during a database lookup.]
* 4.0347ms

Any ideas how to correct this issue or a previous thread on this issue?

@iHiD iHiD transferred this issue from exercism/exercism Sep 25, 2019
@iHiD
Copy link
Member

iHiD commented Sep 25, 2019

Someone else can probably add more light, but the error message suggests that the fundamental issues is that your computer can't connect to GitHub or Exercism. Are you perhaps running behind a VPN or on some sort of restricted network?

@bperez3237
Copy link
Author

Someone else can probably add more light, but the error message suggests that the fundamental issues is that your computer can't connect to GitHub or Exercism. Are you perhaps running behind a VPN or on some sort of restricted network?

Its possible that I'm on a restricted network since I'm at work. But if that was true would i still be able to access the Github and Exercism websites?

@iHiD
Copy link
Member

iHiD commented Sep 25, 2019

I've just discovered this issue which is seemingly a duplicate: exercism/cli#168

@iHiD
Copy link
Member

iHiD commented Sep 25, 2019

I should add that the CLI has been totally rewritten since that, so it's very unlikely to be the same problem in terms of code this end, although that doesn't rule out it being our problem.

@NobbZ
Copy link
Member

NobbZ commented Sep 26, 2019

As the error message is very sparse, I can only make the assumption, that this is an DNS issue.

Though as it has been said that this is in a company network, I'd stop debugging DNS and instead configure HTTP_PROXY/HTPPS_PROXY as appropriate, as there might not even a DNS configured.

Probably the user is not even able to configure those environment variables, in which case internal IT needs to help installing exercism.

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

3 participants