Stream not marked when adding Stash repository to Fisheye

お困りですか?

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

コミュニティに質問

症状

The following error appears when trying to add a Stash repository to Fisheye:

Problem communicating with Stash

java.io.IOException: Stream not marked

 

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

2014-07-10 14:40:56,958 WARN  [qtp891136526-868359 ] org.apache.commons.httpclient.HttpMethodDirector HttpMethodDirector-processWWWAuthChallenge - Unable to respond to any of these challenges: {oauth=OAuth realm="http%3A%2F%2Fserver.domain.com%3A7990", oauth_signature="%OAuth_Signature%", oauth_signature_base_string="GET%26http%253A%252F%252Fserver.domain.com%253A7990%252Frest%252Fapi%252F1.0%252Frepos%26limit%253D500%2526oauth_consumer_key%253DFishEye%25253A2218598753%2526oauth_nonce%253D3281234481354611%2526oauth_signature_method%253DRSA-SHA1%2526oauth_timestamp%253D1123424856%2526oauth_token%253D%2526oauth_version%253D1.0%2526start%253D0%2526xoauth_requestor_id%253Dkjj3", oauth_problem="signature_invalid", oauth_signature_method="RSA-SHA1"}
2014-07-10 14:40:56,960 WARN  [qtp891136526-868359 ] fisheye StashExceptionMapper-handleException - Error occurred making request to Stash
com.atlassian.stash.rest.client.api.StashException: java.io.IOException: Stream not marked

原因

This is caused by a difference between the Application Link URL and the base URL for Stash.

For example, the Application Link URL from Fisheye to Stash is set to use http://stash.domain.com:7990/ but the base URL in Stash is set to http://stash:7990

ソリューション

Change the Application Link URL and the base URL in Stash so that they match.

Updating the Application Link URL

  1. Remove the existing Application Link from Administration >> Global Settings >> Application Links
  2. Create a new Application Link with the correct URL that matches the base URL for Stash

Updating the Stash base URL

Specifying the base URL for Stash

最終更新日 2018 年 7 月 31 日

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

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