FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
01-16-2023 04:28 PM - edited 01-16-2023 04:29 PM
I was trying to clone the SDK from Github to the App Build environment.
Using the command ./install-sdk.sh does not work, as apparently github blocked the company IP-Adress due to too many requests. See the error message below:
"ERROR
{"message":"API rate limit exceeded for 194.39.218.22. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}
Hint:
This error happens often because a proxy server is used.
In this case github registered a hugh number of requests from the same machine.
Continue or exit c/e?"
I then tried using the gh command to clone the github repo directly, however i keep getting the following message:
"Usage: gh repo [OPTIONS] USER_REPO
Try "gh repo --help" for help.
Error: Got unexpected extra argument (boschrexroth/ctrlx-automation-sdk)"
What other ways can I use to copy the sdk into the app build environment?
Thanks
Solved! Go to Solution.
01-17-2023 07:43 AM - edited 01-17-2023 09:32 AM
You can also download the SDK from the releases and unpack it to your development environment.
01-17-2023 09:22 AM
I would recommend to switch to the newest release. Since the version 1.18 of ctrlX WORKS, we provide a workaround for this problem. See the new error-message:
The workaround is to download the SDK form the link @CodeShepherd already shared. Please download the full repository (marked red in my screenshot). Then copy it to the home directory of your build environment and restart the script.
Best regards,
Nick