I am experiencing intermittent loss of connection to git repositories from BAMBOO. the issue covers multiple repositories and seems random.
The error I get is:
WARN [sshd-SshClient[3b7fd39]-nio2-thread-5] [AcceptAllServerKeyVerifier] Server at <Server Name edited>:7999 presented unverified RSA key: c3:9f:d7:74:41:d0:c6:a7:f4:6e:c6:6e:fc:08:69:87
2014-11-18 03:01:14,921 WARN [Connection monitoring thread - 44e155f7-f4ea-4a43-ba11-9f0885a16a8c] [SshProxyCommand] While connecting to [<Server Name edited>:7999]: Authenticating remote session failed
I can save the linked repositories after discovering the error. Next Builds seem fine. So the application links seem fine.
The funny thing is there are no changes to trigger a build when these errors occur. These builds are not using polling but are set up with "stash repository changes trigger build".
Does Bamboo check connections to git repositories even when there are no changes?
What could be the possible causes of this? Why does Bamboo throw this error when the build is not scheduled to be ran?
Any help would be appreciated!
Stash is sending remote events to Bamboo notifying it about things. For many reasons this may not work - wrong version of Bamboo or Stash, wrong configuration, finally some network issues.
Bamboo is pinging Stash server to know if remote events are functional. If they are not it will fallback to polling. This polling interval is not configurable. It will connect to repository to check it for changes.
From what you said it is possible that there is some network problem, remote events stop working for awhile, Bamboo switches to polling and it fails because of network problem.
Actually polling from time to time just to ensure everything is in sync is not a bad idea anyway. Depending on your Bamboo version there is a system property "bamboo.stash.repository.trigger.polling.interval" that you can set to number of seconds to enforce polling interval for Stash Trigger no matter what.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs