Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-52060

Credentials issue: Access for user 'nouser' has not been enabled by 'p4 protect'.

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • p4-plugin
    • Jenkins ver. 2.86, Windows, P4 1.8.5

      I'm trying to add a Perforce Password Credential to connect to a remote replica server but I'm having issues connecting. I'm using an SSL connection and have confirmed the credentials work and triple checked I am using the correct fingerprint. 

      When I hit "Test Connection" it spins for a short while then spits out "Server Connection Error.".

      From looking at the system logs I see this error which seems to indicate it is trying to connect with the username "nouser" though this is not the username that I have entered.

       

      Jun 20, 2018 5:14:35 AM SEVERE org.jenkinsci.plugins.p4.client.ConnectionHelper connect
      P4: Unable to connect: com.perforce.p4java.exception.ConnectionException: Access for user 'nouser' has not been enabled by 'p4 protect'.
      
      Jun 20, 2018 5:14:35 AM INFO org.jenkinsci.plugins.p4.client.ConnectionHelper 
      P4: Unable to connect: com.perforce.p4java.exception.ConnectionException: Access for user 'nouser' has not been enabled by 'p4 protect'.
      Jun 20, 2018 5:14:35 AM SEVERE org.jenkinsci.plugins.p4.client.ConnectionHelper connectionRetry
      P4: Connection retry: 1
      Jun 20, 2018 5:14:35 AM INFO org.jenkinsci.plugins.p4.client.ConnectionHelper 
      P4: Connection retry: 1
      Jun 20, 2018 5:14:38 AM SEVERE org.jenkinsci.plugins.p4.client.ConnectionHelper connectionRetry
      P4: Connection retry giving up...
      Jun 20, 2018 5:14:38 AM INFO org.jenkinsci.plugins.p4.client.ConnectionHelper 
      P4: Connection retry giving up...
      
      

      Any idea why this would happen? Connections to our own Perforce servers are connecting fine. 

       

          [JENKINS-52060] Credentials issue: Access for user 'nouser' has not been enabled by 'p4 protect'.

          Alexander Perry created issue -
          W Basu Perforce made changes -
          Assignee New: W Basu Perforce [ wbasupm ]
          W Basu Perforce made changes -
          Assignee Original: W Basu Perforce [ wbasupm ]
          W Basu Perforce made changes -
          Labels Original: P4_PLUGIN p4 p4plugin New: P4_SUPPORT

          From some digging a colleague did, part of the issue seems to be caused by our Jenkins master and the nodes having P4CHARSET set to utf8 but this external server is not using utf8. 

          Alexander Perry added a comment - From some digging a colleague did, part of the issue seems to be caused by our Jenkins master and the nodes having P4CHARSET set to utf8 but this external server is not using utf8. 

          Karl Wirth added a comment -

          Hi alexgeek did you solve this problem or did you just avoid using the remote server?

          Karl Wirth added a comment - Hi alexgeek did you solve this problem or did you just avoid using the remote server?
          Karl Wirth made changes -
          Assignee New: Karl Wirth [ p4karl ]

          Karl Wirth added a comment -

          Closing for now. Happy to reopen if this becomes an issue again.

          Karl Wirth added a comment - Closing for now. Happy to reopen if this becomes an issue again.
          Karl Wirth made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

          Emanuel May added a comment -

          We actually have the same issue right now. We have to connect to a remote server we have no control over and can only connect via SSL. Same problem happens as described above: Login is tried with the username "nouser", despite us setting up the correct username. Was there any work done in this regard or any work-arounds we can use?

          Emanuel May added a comment - We actually have the same issue right now. We have to connect to a remote server we have no control over and can only connect via SSL. Same problem happens as described above: Login is tried with the username "nouser", despite us setting up the correct username. Was there any work done in this regard or any work-arounds we can use?

            p4karl Karl Wirth
            alexgeek Alexander Perry
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: