Attachment Links are unavailable in Confluence with java.net.URISyntaxException exception thrown in the UI

お困りですか?

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

コミュニティに質問

問題

When clicking the link to an attachment, you are redirected to a 'Oops - an error has occurred page' with the following exception displayed on screen: 

Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in path at index 47: /confluence/download/attachments/xxx/xxx 

診断

環境

  • Network traffic goes through a proxy

Diagnostic Steps

  • Bypass the proxy. If clicking the link takes you to the attachment, proceed with the resolution below. 

原因

The proxy server is not configured correctly for URI encoding.

ソリューション

Ensure all steps listed in Proxying Atlassian server applications with Apache HTTP Server (mod_proxy_http) have been completed successfully, specially the ProxyPass and ProxyPassReverse directives. If using mod_jk, add the following option to your Apache mod_jk configuration:

 

JkOptions +ForwardURICompatUnparsed
最終更新日: 2016 年 10 月 19 日

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

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