In few incidents, the user may not be having the required permission to download the code although having a valid combination of username/password combination.
Example console log:
Username for 'https://code.rdkcentral.com': rdknewuser
Password for 'https://firstname.lastname@example.org':
fatal: remote error: Service not enabled
fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests
Approach RDK support with the necessary approval to get the requested privilege.
Github no more supports direct password login and allows only Personal Access tokens. To generate a new token,
Eg: machine github.com login sampleuser password ghp_73ozr1OhWvUI1htuRCVwPyWF4Va1234ABCD
GitHub Workflow Steps:
Possible reasons and solutions:
If you are already using the Personal Access Token and getting a 403, chances are that the token has auto-expired.
You can generate a new token in Github by going to "https://github.com -> Settings -> Developer Settings -> Personal Access Tokens", Clicking on "Generate a new token" and then replacing your old token inside the ~/.netrc file with the newly generated one.