Caching the Subversion password
Question:
I am trying to "load" or "update" a workspace and I run into errors like this:
svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option
svn: E215004: Unable to connect to a repository at URL 'https://subversion.website.com/svn/project'
svn: E215004: No more credentials or we tried too many times.
Background:
Perforce IPLM needs to be able to perform Subversion operations non-interactively.
The intelligent IP cache is administered a process which runs as a special user, typically "mdx", at each site. As part of the installation process the Subversion password needs to be cached for the "mdx" user. The same procedure is required once for each user.
Solution:
Administrator for the workspace manager:
The administrator should log in as the "mdx" user on the machine that is running buildicd and access each repository:
svn info <path-to-repository>
The administrator should permanently accept the certificate, if the repository is SSL protected, and accept caching the password.
User:
Each user needs to do the same operation once at the beginning of a project:
svn info <path-to-repository>
The user should also permanently accept the certificate, if the repository is SSL protected, and accept caching the password.
Notes:
Apart from installation time and when users first access a new project, this error message reoccurs when users or the user account of the process administering the IP cache can no longer access a repository and needs to be resolved in the same way as described above. This happens under these circumstances:
- The Subversion password changed.
- A new repository was added.