Login failed message in Vault and CCnet log

If you are having a problem using Fortress, post a message here.

Moderator: SourceGear

Post Reply
sravikarthik
Posts: 2
Joined: Tue Feb 09, 2010 10:45 am

Login failed message in Vault and CCnet log

Post by sravikarthik » Tue Feb 09, 2010 11:19 am

Hi,
we are using CC.net and Fortress plugin builds. Everything seems to be normal until last week. We started getting invalid username and password error.

Vault error log content:
-----------------------------

2/9/2010 12:12:24 PM builduser--HRCP01.orcsweb.com(127.0.0.1)--SSL Disabled Login failed: FailNotValidLogin
----2/9/2010 12:12:31 PM builduser--HRCP01.orcsweb.com(127.0.0.1)--SSL Disabled Rolling Back a transaction at VaultServiceSQL.VaultSqlConn.RollbackTransaction()
at VaultServiceAPILib.VaultServiceAPI.Login(VaultSqlConn conn, Boolean allowwebonly, String strLogin, String strDecryptedPassword, String strHostname, String strSessionID, String strDomain, String& strToken, VaultUser& vu, Int32& nValidUserAttempts)
at VaultServiceAPILib.VaultServiceAPISystem.DoLogin(Boolean allowwebonlyusers, Boolean bAdminLogin, HttpSessionState hss, String strHostname, String strLogin, String strPassword, String strRMKey, String& strAuthToken, String strDomain)
at VaultServiceAPILib.VaultServiceAPISystem.DoLogin(Boolean allowwebonlyusers, Boolean bAdminLogin, HttpSessionState hss, String strHostname, String strLogin, String strPassword, String strRMKey, String& strAuthToken)
at VaultService.VaultService.Login(String strHostname, Boolean bUseFullFiles, String username, String strEncryptedPassword, String strRMKey, String& strAuthToken)
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
at System.Web.Services.Protocols.WebServiceHandler.Invoke()
at System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()
at System.Web.Services.Protocols.SyncSessionlessHandler.ProcessRequest(HttpContext context)
at System.Web.Script.Services.ScriptHandlerFactory.HandlerWrapper.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
at System.Web.HttpApplication.ApplicationStepManager.ResumeSteps(Exception error)
at System.Web.HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)
at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
at System.Web.HttpRuntime.ProcessRequestNoDemand(HttpWorkerRequest wr)
at System.Web.Hosting.ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)


CCnet Error:
------------
Fortress Login Failed Twice, trying again: The username or password supplied is invalid.



Any idea why this is happening?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Login failed message in Vault and CCnet log

Post by Beth » Tue Feb 09, 2010 3:13 pm

Are you able to login to the Fortress GUI client using the login that is used for CC.NET?

Are you using AD authentication?
Beth Kieler
SourceGear Technical Support

sravikarthik
Posts: 2
Joined: Tue Feb 09, 2010 10:45 am

Re: Login failed message in Vault and CCnet log

Post by sravikarthik » Wed Feb 10, 2010 7:44 am

Yes. I am able to login to the fortress client using the credentials specified in ccnet config file. But username is not "builduser" which is found in the vault log file( see the stack trace) . builduser is the user in the Term server

Beth, we need to resolve this issue as quickly as possible. Can we communicate through email/phone to resolve the issue?
Thanks,
Ravi

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Login failed message in Vault and CCnet log

Post by Beth » Wed Feb 10, 2010 3:10 pm

We can take this offline if you wish. Send an email to support at sourcegear.com (attn: Beth) with a link to this forum thread.
Beth Kieler
SourceGear Technical Support

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Login failed message in Vault and CCnet log

Post by Beth » Mon Feb 22, 2010 10:32 am

An update on this issue.

When a path in Vault or Fortress is renamed, a user may need to go to the config file for CCNET and change the path there as well if the renamed path is the one referenced in the config file.


HS: 219110
Beth Kieler
SourceGear Technical Support

Post Reply