com.ibm.team.build.internal.hjplugin.InvalidCredentialsException: Credentials chosen do not resolve to valid credentials. Check domain restrictions if the credential is owned by a domain.

Jenkins JIRA | Billy Foss | 1 year ago
  1. 0

    I am having problems in my job configuration where RTC validate workspace is failing with the error: Credentials chosen do not resolve to valid credentials. Check domain restrictions if the credential is owned by a domain Further details show the execption com.ibm.team.build.internal.hjplugin.InvalidCredentialsException: Credentials chosen do not resolve to valid credentials. Check domain restrictions if the credential is owned by a domain. at com.ibm.team.build.internal.hjplugin.RTCLoginInfo.(RTCLoginInfo.java:86) at com.ibm.team.build.internal.hjplugin.RTCScm$DescriptorImpl.validateConnectInfo(RTCScm.java:627) at com.ibm.team.build.internal.hjplugin.RTCScm$DescriptorImpl.doValidateBuildDefinition(RTCScm.java:789) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) I have updated the global configuration page with valid credentials and a Test Connection passes until I reload the Configuration page when the Credentials for RTC reverts back to -none - I tried several types of credentials (Global, System, and even in a domain) and none of them would stick when saving the Configuration page. I was able to work around the issue, but overriding the RTC configuration in each Jenkins job, but that is not maintainable. We recently updated the credentials plugin to support connections to GitHub and I suspect the domain support is causing issues somewhere. We have recreated the issue on 2 servers. One has all the latest plugins available for the LTS version.

    Jenkins JIRA | 1 year ago | Billy Foss
    com.ibm.team.build.internal.hjplugin.InvalidCredentialsException: Credentials chosen do not resolve to valid credentials. Check domain restrictions if the credential is owned by a domain.
  2. 0

    I am having problems in my job configuration where RTC validate workspace is failing with the error: Credentials chosen do not resolve to valid credentials. Check domain restrictions if the credential is owned by a domain Further details show the execption com.ibm.team.build.internal.hjplugin.InvalidCredentialsException: Credentials chosen do not resolve to valid credentials. Check domain restrictions if the credential is owned by a domain. at com.ibm.team.build.internal.hjplugin.RTCLoginInfo.(RTCLoginInfo.java:86) at com.ibm.team.build.internal.hjplugin.RTCScm$DescriptorImpl.validateConnectInfo(RTCScm.java:627) at com.ibm.team.build.internal.hjplugin.RTCScm$DescriptorImpl.doValidateBuildDefinition(RTCScm.java:789) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) I have updated the global configuration page with valid credentials and a Test Connection passes until I reload the Configuration page when the Credentials for RTC reverts back to -none - I tried several types of credentials (Global, System, and even in a domain) and none of them would stick when saving the Configuration page. I was able to work around the issue, but overriding the RTC configuration in each Jenkins job, but that is not maintainable. We recently updated the credentials plugin to support connections to GitHub and I suspect the domain support is causing issues somewhere. We have recreated the issue on 2 servers. One has all the latest plugins available for the LTS version.

    Jenkins JIRA | 1 year ago | Billy Foss
    com.ibm.team.build.internal.hjplugin.InvalidCredentialsException: Credentials chosen do not resolve to valid credentials. Check domain restrictions if the credential is owned by a domain.
  3. 0

    [JIRA] [teamconcert-plugin] (JENKINS-30245) Missing Credentials in Global Team Concert/RTC configuration

    Google Groups | 1 year ago | Billy.Foss@sensus.com (JIRA)
    com.ibm.team.build.internal.hjplugin.InvalidCredentialsException: Credentials chosen do not resolve to valid credentials. Check domain restrictions if the credential is owned by a domain.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.ibm.team.build.internal.hjplugin.InvalidCredentialsException

      Credentials chosen do not resolve to valid credentials. Check domain restrictions if the credential is owned by a domain.

      at com.ibm.team.build.internal.hjplugin.RTCLoginInfo.<init>()
    2. com.ibm.team
      RTCScm$DescriptorImpl.doValidateBuildDefinition
      1. com.ibm.team.build.internal.hjplugin.RTCLoginInfo.<init>(RTCLoginInfo.java:86)
      2. com.ibm.team.build.internal.hjplugin.RTCScm$DescriptorImpl.validateConnectInfo(RTCScm.java:627)
      3. com.ibm.team.build.internal.hjplugin.RTCScm$DescriptorImpl.doValidateBuildDefinition(RTCScm.java:789)
      3 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames