Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Expand
titleHow to set Global Git Username and Password?
Set

To set git username and password

with

, use the following commands

:

.

$git config --global user.name "Your Name"
$git config --global user.email "youremail@yourdomain.com"

Expand
titleHow to solve "Password for 'https://code.rdkcentral.com': remote: Unauthorized fatal: Authentication failed for 'https://<username>@code.rdkcentral.com/r/manifests/' "password prompt error during repo initializationinitiation?

Issue:

While trying to do a repository initialization, the user will be prompted for a password.

Example console log:

Password for 'https://code.rdkcentral.com': remote: Unauthorized fatal: Authentication failed for 'https://<username>@code.rdkcentral.com/r/manifests/'

Possible solutionreasons and solutions:

  • Not having a valid RDK Credential

  • User registration without valid company email address

    • Users must belong to a licensed company to be able to clone and checkout the manifest. You must register with valid company email address to gain access to manifest if your company is listed as a licensee. To verify if your company is licensed, please check in the following wiki page -  Licensees
  • Account is inactive/disabled - 
    • Account may have been deactivated/disabled either due to inactivity (60 days) or password has expired - Accounts can be activated using self service. Login to wiki.rdkcentral.com with the username, you will see a message with a link to activate your account. Click on the link to activate your account. If you are still facing issues with activating your account, please email support@rdkcentral.com. Please update your password after it has been activated.
  • Account is active, but still unable to checkout the manifestgetting the password reset error.

Update the credentials in $HOME/.netrc file, a sample of the file is given below

.netrc

machine code.rdkcentral.com login <user-name> password <Password>

RDK Central Registration Link - https://wiki.rdkcentral.com/signup.action

Expand
titleHow to solve "Not having permission for the requested operation (Service not enabled) error". Eg:Username for 'https://code.rdkcentral.com': rdknewuser Password for 'https://rdknewuser@code.rdkcentral.com': fatal: remote error: Service not enabled fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests?

Issue:

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://rdknewuser@code.rdkcentral.com':

fatal: remote error: Service not enabled

fatal: cannot obtain manifest https://code.rdkcentral.com/r/manifests

Possible Solution:

Approach RDK support with the necessary approval to get the requested privilege.