164ed0389946aaf23a1be718adabf5c0

Unable to log in via Git connector

Discussion created by 164ed0389946aaf23a1be718adabf5c0 on Feb 9, 2015
Latest reply on Feb 19, 2015 by John_Streeter
Hi Rally Support,




Our Git/Gerrit to Rally integration has stopped working. The account we were using to connect to Rally was an Active Directory ‘Generic’ account that had its password expire back in November, which is when we noticed the login via the Git Connector started failing. We’ve since reset the AD password but also changed the password in Rally itself (via Forgot Password) since it looks like the sync (SSO) didn’t work.

We are now able to log in via the Rally GUI (us1.rallydev.com) but the connector continues to fail. Sample log output from one of the connection logs is below: 
[2015-02-09 19:58:01 Z]  INFO : VCSConnectorRunner.operateService - processing to commence using content from the /opt/gitr/configs/myrepo.yml.yml config file
[2015-02-09 19:58:01 Z]  INFO : VCSConnectorRunner.operateService - /opt/gitr/configs/myrepo.yml last modified 2015-02-02 18:37:14 Z,  size: 3068 chars
[2015-02-09 19:58:01 Z]  INFO : VCSConnectorRunner.inflateConfiguration - LogLevel set to 'Debug'
[2015-02-09 19:58:01 Z]  INFO : VCSConnectorRunner.operateService - Time File value 2014-09-23 16:34:51 Z --- Now 2015-02-09 19:58:01 Z
[2015-02-09 19:58:01 Z]  INFO : VCSConnector.initialize - Rally VCS Connector for Git, version 1.2.0-cib1015
[2015-02-09 19:58:01 Z]  INFO : VCSConnector.initialize - Ruby platform: x86_64-linux-gnu
[2015-02-09 19:58:01 Z]  INFO : VCSConnector.initialize - Ruby  version: 2.0.0
[2015-02-09 19:58:01 Z] DEBUG : VCSConnector.initialize - Loading RallyVCSConnection class
[2015-02-09 19:58:01 Z] DEBUG : VCSConnector.initialize - Loading GitConnection class
[2015-02-09 19:58:01 Z] DEBUG : VCSConnector.initialize - Obtaining Rally and VCS connections...
[2015-02-09 19:58:01 Z]  INFO : VCSConnection.initialize - Initializing Rally connection version 1.2.0
[2015-02-09 19:58:01 Z]  INFO : RallyVCSConnection.initialize - Rally WSAPI Version 1.43
[2015-02-09 19:58:01 Z]  INFO : VCSConnection.initialize - Initializing Git connection version 1.2.0
[2015-02-09 19:58:01 Z]  INFO : GitConnection.connect - Connecting to Git
[2015-02-09 19:58:01 Z]  INFO : GitConnection.connect - Connected to Git server: gitserver git version 1.7.9.5
[2015-02-09 19:58:01 Z]  INFO : GitConnection.connect - RepositoryBase: /opt/gerrit/review_site/git/myrepo.git
[2015-02-09 19:58:01 Z]  INFO : GitConnection.connect - Uri: false
[2015-02-09 19:58:01 Z]  INFO : RallyVCSConnection.connect - Connecting to Rally
[2015-02-09 19:58:01 Z] DEBUG : RallyVCSConnection.rescue in connect - RallyAPI: - rescued exception - Connection reset by peer - SSL_connect on request to https://us1.rallydev.com/slm/webservice/1.43/user.js with params {}
[2015-02-09 19:58:01 Z] ERROR : OperationalError (/usr/lib/ruby/vendor_ruby/vcseif/utils/exceptions.rb:42 line in `initialize') - Unable to connect to Rally at us1.rallydev.com as user myuser@mydomain.com

Note that the server name (gitserver), username (myuser@mydomain.com), configuration file name (myrepo.yml) and repository name are not the actual values we are using. The actual values have been replaced due to security reasons.

Note: We are using the new (encoded) password in the myrepo.yml file.

Help!

Outcomes