Problem communicating with Stash when adding repository

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

問題

When adding a repository to Fisheye/Crucible using the Stash repositories tab, the following error appears which prevents the page from loading:

Problem communicating with Stash

Did not receive SSH clone URL information from Stash instance. This could be because SSH is disabled or because the Stash version is too old. Atlassian Stash 2.11.4 or later is required.

atlassian-fisheye-YYYY-MM-DD.log に次のメッセージが出力される。

2015-09-17 00:06:27,440 DEBUG [qtp1984513847-586 ] fisheye ProfilingServletFilter-logRequest - start request GET /fecru/rest/stash-integration-plugin/1.0/8c938ee7-cbb5-372e-a9f2-4f0fd28958d9/repos?start=0&limit=500&_=1442448387296 sessionid=msggw8n5jumj991v58dozk6o
2015-09-17 00:06:27,850 DEBUG [Resource Monitor ] fisheye SystemResourceMonitor$MonitoringTask-run - tc=161, ofd=497, mfd=4096, fm=179690792, tm=631238656
2015-09-17 00:06:27,911 WARN  [qtp1984513847-586 ] fisheye StashExceptionMapper-handleException - Error occurred making request to Stash com.atlassian.fecru.plugins.stash.rest.errors.StashTooOldException: Did not receive SSH clone URL information from Stash instance.  This could be because SSH is disabled or because the Stash version is too old.  Atlassian Stash 2.11.4 or later is required.
        at com.atlassian.fecru.plugins.stash.rest.RestStashRepoListService.getStashRepoList(RestStashRepoListService.java:125)
...
2015-09-17 00:06:27,912 DEBUG [qtp1984513847-586 ] fisheye ProfilingServletFilter-logRequest - end request in 473ms GET /fecru/rest/stash-integration-plugin/1.0/8c938ee7-cbb5-372e-a9f2-4f0fd28958d9/repos?start=0&limit=500&_=1442448387296 sessionid=msggw8n5jumj991v58dozk6o 400

原因

This message can have multiple causes. 

The integration requires that you're running Stash 2.11.4+. Older versions of Stash do not support this integration.

If you're running Bitbucket Server 4.0+ this is caused by a change in the REST API to not return an SSH clone URL if your account is not setup with an SSH key. This change was tracked at  STASH-7827 - Getting issue details... STATUS .

回避策

If you're running Bitbucket Server 4.0.0 add an SSH key to your profile in Bitbucket Server - SSH user keys for personal use

ソリューション

If you're running an older version of Stash before 2.11.4, upgrade to a newer version.

If you're running Bitbucket Server 4.0.0, upgrade to version 4.0.1 where this issue was fixed.

 

最終更新日 2018 年 7 月 31 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.