When trying to configure the CLI I get:
"Error: The base API URL ‘https://api/exercism.io/v1’ cannot be reached.
Any way to get past this?
When trying to configure the CLI I get:
"Error: The base API URL ‘https://api/exercism.io/v1’ cannot be reached.
Any way to get past this?
Is there really a slash after “api” and not a dot?
Also, assuming you’re on linux or macos, what is the output of
cat ~/.config/exercism/user.json
Please hide your token if you cut and paste the output.
The output of exercism debug
can be helpful.
Troubleshooting Information
===========================
Version
----------------
Current: 3.1.0
Latest: 3.2.0
Call 'exercism upgrade' to get the latest version.
See the release notes at https://github.com/exercism/cli/releases/tag/3.2.0 for details.
Operating System
----------------
OS: linux
Architecture: amd64
Configuration
----------------
Home: /home/kotp
Workspace: /home/kotp/exercism
Config: /home/kotp/.config/exercism
API key: 1f43*****************************86f
API Reachability
----------------
GitHub:
* https://api.github.com
* [connected]
* 55.017633ms
Exercism:
* https://api.exercism.io/v1/ping
* [connected]
* 1.007860706s
If you are having trouble please file a GitHub issue at
https://github.com/exercism/exercism.io/issues and include
this information.
The above if you have not upgraded to the latest, yet.
Troubleshooting Information
===========================
Version
----------------
Current: 3.2.0
Latest: 3.2.0
Operating System
----------------
OS: linux
Architecture: amd64
Configuration
----------------
Home: /home/kotp
Workspace: /home/kotp/exercism
Config: /home/kotp/.config/exercism
API key: 1f43*****************************86f
API Reachability
----------------
GitHub:
* https://api.github.com
* [connected]
* 58.730758ms
Exercism:
* https://api.exercism.io/v1/ping
* [connected]
* 379.647166ms
If you are having trouble please file a GitHub issue at
https://github.com/exercism/exercism.io/issues and include
this information.
typo for sure, thanks for catching
I’m using Termux. I don’t actually have that directory
Thanks for this, kotp. I ran the debug and neither Github nor Exercism connected - connection refused. I would copy/paste the results but I’m not using the same system as I am using to type this
So you’re trying to install the exercism CLI on an Android device? Well, you’ll have to figure out a way to show us the results.
It looks like this is not about configuring the exercism CLI, it’s about network connectivity in termux. Are there any termux settings you can tweak to allow connections?
I’m fairly new to linux and termux so I’m not sure. I can say that I haven’t had connection issues with any other type of install in termux besides this one. I did have a glib dependency issue when trying to install babashka on termux but besides that everything has worked.
Got it!! Found a link where someone explained exactly how to install it on termux. Had to build it with GO? Anyway, here’s the link:
Thanks for all the help!
Slight modification to accommodate the depreciation of Go Get to use Go Install instead:
pkg install -y golang && pkg install -y git && go install github.com/exercism/cli/exercism && echo 'export PATH=$PATH:$HOME/go/bin' >> ~/.profile && source ~/.profile