Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Specified Accurev Server field does not allow logging in #1546

ikotlova ·
Hello,

I am configuring Accurev repository through the Plugin Management link.

If 'Accurev Server' field is set with <myservername>:5050, then login to Accurev fails with the error:
'Failed to run command: accurev login -H <myservername>:5050 <accurev_user> "accurev_password"'
The reason of this error is that 'accurev login -H <servername>:<portname>' is incorrect as the correct syntax does not include -H option.

If 'Accurev Server' field is left empty, I get 'may not be empty' exclamation mark and cannot complete Accurev configuration. At the same time the explanation message bellow the field is saying: 'Specify Accurev server in the form of <server>:<port>, for example, myservername:5050. If not specified, the default server specified when installing Accurev software will be used.'. Either the explanation message is wrong suggesting to leave the field empty or the field should be allowed to be empty.

Looks like this is a bug: I cannot work with the specified server and I cannot leave it unspecified as well. How can I get around this and connect to the Accurev Server?

Thanks,
Irina
  • replies 5
  • views 2944
  • stars 0
ikotlova ·
Actually this is NOT Plugin Management but the Repository setting that I am configuring. Sorry about the mistake.
robinshen ADMIN ·
Accurev should allow to specify -H option. Which Accurev client and server version are you using?
ikotlova ·
Here the Accurev version output as well as 'accurev login' syntax:

C:\works>accurev
AccuRev 4.7.0 (08/04/2008) Enterprise Edition
Copyright (c) 1995-2008 AccuRev Inc. All rights reserved
type 'accurev help' for help.

C:\works>accurev help login


*****
LOGIN
*****

log in to an AccuRev Server

-----
USAGE
-----

accurev login [ -n ] [ <user-name> [ <password> ] ]

-------
OPTIONS
-------

-n

Create a login session that doesn't expire (as long as the AccuRev
Server keeps running).

--------
EXAMPLES
--------

Log in, letting the command prompt for both your username and password.
For security, your keystrokes are echoed as "*" characters.

> accurev login
Username: john
Password: ****************

Log in, specifying your username, but letting the command prompt for the
password:

> accurev login john
Password: ****************

Log in, specifying your username and password on the command line:

> accurev login john Every1CanSeeThis

Log in, specifying your username and indicating that you don't have a
password

> accurev login john ""



MORE INFORMATION

Type 'accurev help' for a complete list of topics.

AccuRev Inc. support@accurev.com

C:\works>
ikotlova ·
It is interesting that I succeed in logging in on both Linux QB server machine and Windows QB client machine manually with the command:
accurev login -H <accurev_server>:<accurev_port> <accurev_user> "<accurev_password>"

However I am still getting the same error while running QB build job:
Failed to run command: accurev login -H <accurev_server>:5050 <accurev_user> ""
Command return code: 1
Command error output: Failed authentication. Please re-try the 'login' command.


BTW: Is it allowed to have an empty password for an Accurev user in QuickBuild?

Irina
robinshen ADMIN ·
Maybe this is caused by empty password, please set a password for the user to see if it works.