Unable fetch from remote repository ssh_exchange_identification

Hi all,

For some reason we couldn’t add the commit content into a review. We can see the commit’s content in git, but FishEye displays strange error for this commit:

Unable to fetch from remote repository: [repository url] - [ssh_exchange_identification: Connection closed by remote host, fatal: The remote end hung up unexpectedly]

And files list in FishEye for the commit is empty

So, when we’re trying to add the commit into a review, nothing happens.

Please help

1 answer

0 votes

Hi Viachaslau,

Seems like FishEye instance is struggling to retrieve changeset details from remore repository. ssh exchange identification suggest there is problem authenticating against remote repository. Is this possible permissions were amended recently? Can you try testing connectivity? Just go to Administration / Repositories / <<YOUR REPOSITORY>> and click Test Connection button.

Alternatively you can try looking into log files located in FISHEYE_INST/var/log, you might be able to find more information there. Paste error details here so I will try to assist you.

Kind regards,

ERROR - Exception "com.cenqua.fisheye.PathNotFoundException: File not found while getting Contents : Src/UlbsStub/ExternalSystemsStub/RequestHandling/GetAllPackageProductsHandler.cs@f33799bd7a65358446e02f2246ba1d38d81cf771 in REPO_NAME" (javax.el.ELException) while processing "/WEBINF/jsp/crucible/review/monolithic/redisplayFrxDiv.jsp" (Referer:"https://my.company.url/cru/CR-PRJNAME-641")

javax.el.ELException: com.cenqua.fisheye.PathNotFoundException: File not found while getting Contents : Src/UlbsStub/ExternalSystemsStub/RequestHandling/GetAllPackageProductsHandler.cs@f33799bd7a65358446e02f2246ba1d38d81cf771 in REPO_NAME

Caused by: com.cenqua.fisheye.PathNotFoundException: File not found while getting Contents : Src/UlbsStub/ExternalSystemsStub/RequestHandling/GetAllPackageProductsHandler.cs@f33799bd7a65358446e02f2246ba1d38d81cf771 in REPO_NAME

here is parts of log touching the repo i am interested in.


WARN - Exception during FishEye Incremental Indexing of REPO_NAME: com.cenqua.fisheye.config.ConfigException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: ssh_exchange_identification: Connection closed by remote host

WARN - Exception during FishEye Incremental Indexing of REPO_NAME: com.cenqua.fisheye.config.ConfigException: Unable to fetch from remote repository: REPO_URL

ERROR - Error getting current branch for git repo REPO_NAME

Caused by: com.atlassian.utils.process.ProcessException: While executing: "/usr/bin/git remote show REPO_URL" in [/home/atlassian/tools/crucible/var/cache/REPO_NAME/clone]

ERROR - Exception "null" (org.eclipse.jetty.io.EofException) while processing "/rest/api/1.0/rest-service-fe/commit-graph-v1/details/REPO_NAME.json" (Referer:"https://my.company.url/graph/REPO_NAME")

Caused by: java.sql.BatchUpdateException: Batch entry 1 insert into cru_revision(cru_create_date, cru_commit_date, cru_author_name, cru_deletion, cru_file_type, cru_binary, cru_added, cru_modified, cru_moved, cru_copied, cru_detail_version, cru_source_name, cru_path, cru_revision, cru_revision_display_name, cru_upload_item, cru_oversize, cru_revision_id) values (1408949931879, NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'REPO_NAME', 782782, '232d444e7e1558fc9506f3ed527db8113294f576', '232d444', NULL, NULL, 1299736) was aborted. Call getNextException to see the cause.

Log excerpts suggests the same, remote side rejects authentication and does not allow FishEye to communicate with it, see:

WARN - Exception during FishEye Incremental Indexing of REPO_NAME: com.cenqua.fisheye.config.ConfigException: com.atlassian.fisheye.dvcs.handler.DvcsProcessException: Error while communicating with VCS: ssh_exchange_identification: Connection closed by remote host

Have you tried clicking "Test Connection" button as advised in my first reply? I'm guessing credentials must have changed, so you may want to review authentication details on this repository, ensure appropiate username/password or ssh key is provided.

Yes, i tried clicking the button. It works fine. We are using ssh keys,it uses for a long time and it haven't been changed. And I think, that re-clone repository had to fix this problem.

May it caused by some restrictions in Fisheye for commit message(lenght,encoding,etc.)?

for example, the commit message due merge was: [XXXXXXX-9731] BR-6606. Внести изменения по BisquitReportRunner +review CR-XXXXXXX-684Merge remote-tracking branch 'origin/feature-BR-6606-BANK' into pre-commit_ND_R4_BR6606

is the message ok ?

First of all apologies for late reply. I think at this stage you better raise this as a support request on support.atlassian.com. We would need to enable debug mode and see the details of the failure. Would you mind doing so? Kind regards,

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Nov 01, 2018 in Summit

Summit 2019 is going to Las Vegas

You asked we answered - Summit 2019 registration is now open! Can you believe Atlassian Summit hasn’t been to the US since 2017? Now is the time to get ready for an event to remember! Our biggest u...

282 views 6 4
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you