<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reporting Server - Manifest.json error with reverse proxy in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/Reporting-Server-Manifest-json-error-with-reverse-proxy/m-p/1188637#M14792</link>
    <description>&lt;P&gt;I solved the issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Add an application in Default Website&lt;/P&gt;&lt;P&gt;* Add the following mod-rewrite rules to the config that resides inside the location path:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;configuration&amp;gt;
    &amp;lt;system.webServer&amp;gt;
        &amp;lt;rewrite&amp;gt;
            &amp;lt;rules&amp;gt;
                &amp;lt;clear /&amp;gt;
                &amp;lt;rule name="ReverseProxyInboundRule1" enabled="true" stopProcessing="true"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false" /&amp;gt;
                    &amp;lt;action type="Rewrite" url="http://localhost/Reports/{R:1}" appendQueryString="true" /&amp;gt;
                &amp;lt;/rule&amp;gt;
                &amp;lt;rule name="ReverseProxyInboundRule2" stopProcessing="true"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false"&amp;gt;
                        &amp;lt;add input="{CACHE_URL}" pattern="^(https?)://" /&amp;gt;
                    &amp;lt;/conditions&amp;gt;
                    &amp;lt;action type="Rewrite" url="{C:1}://localhost/Reports/{R:1}" /&amp;gt;
                &amp;lt;/rule&amp;gt;
            &amp;lt;/rules&amp;gt;
        &amp;lt;/rewrite&amp;gt;
    &amp;lt;/system.webServer&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jun 2020 08:42:34 GMT</pubDate>
    <dc:creator>rks</dc:creator>
    <dc:date>2020-06-29T08:42:34Z</dc:date>
    <item>
      <title>Reporting Server - Manifest.json error with reverse proxy</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Reporting-Server-Manifest-json-error-with-reverse-proxy/m-p/1185606#M14778</link>
      <description>&lt;P&gt;Hi Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a somewhat exciting setup:&lt;/P&gt;&lt;P&gt;* Server 1: The PBI Reporting Service is installed on a machine behind a firewall&lt;/P&gt;&lt;P&gt;* Server 2: There's a Load Balancer receiving requests from outside the DMZ with a URL&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On Server 1 I have installed another web-app with IIS. This is the main webservice. The main webservice is installed as the Default Website receiving the binding from the URL.&lt;/P&gt;&lt;P&gt;The PBI Reporting Service is also installed on that same machine. I want to route the requests from &lt;A href="http://www.url.com/Reports&amp;nbsp;to" target="_blank"&gt;www.url.com/Reports&amp;nbsp;to&lt;/A&gt; the local server 10.1.2.3.123... I used a URL rewrite to accomplish this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;system.webServer&amp;gt;
        &amp;lt;rewrite&amp;gt;
            &amp;lt;rules&amp;gt;
                &amp;lt;rule name="ReverseProxyInboundRule1" stopProcessing="true"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;action type="Rewrite" url="http://10.1.2.123/Reports/{R:1}" appendQueryString="false" /&amp;gt;
                &amp;lt;/rule&amp;gt;
            &amp;lt;/rules&amp;gt;
        &amp;lt;/rewrite&amp;gt;
    &amp;lt;/system.webServer&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When calling &lt;A href="http://www.url.com/Reports" target="_blank" rel="noopener"&gt;www.url.com/Reports&lt;/A&gt;&amp;nbsp;the web server shows the Power BI framework. However, in the console there are some errors:&lt;BR /&gt;&lt;BR /&gt;Failed to load resource: the server responded with a status of 401 (Unauthorized)&lt;BR /&gt;manifest.json:1 Manifest: Line: 1, column: 1, Syntax error.&lt;/P&gt;&lt;P&gt;Refused to apply style from '&lt;A href="http://www.url.com/Reports/api/v2.0/SafeGetSystemResourceContent(type='UniversalBrand',key='stylesheet" target="_blank" rel="noopener"&gt;www.url.com/Reports/api/v2.0/SafeGetSystemResourceContent(type='UniversalBrand',key='stylesheet&lt;/A&gt;')' because its MIME type ('application/octet-stream') is not a supported stylesheet MIME type, and strict MIME checking is enabled.&lt;BR /&gt;/Reports/api/v2.0/System/Properties?properties=MaxFileSizeMb,ShowDownloadMenu:1 Failed to load resource: the server responded with a status of 400 (Bad Request)&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 16:09:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Reporting-Server-Manifest-json-error-with-reverse-proxy/m-p/1185606#M14778</guid>
      <dc:creator>rks</dc:creator>
      <dc:date>2020-06-26T16:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reporting Server - Manifest.json error with reverse proxy</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/Reporting-Server-Manifest-json-error-with-reverse-proxy/m-p/1188637#M14792</link>
      <description>&lt;P&gt;I solved the issue:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;* Add an application in Default Website&lt;/P&gt;&lt;P&gt;* Add the following mod-rewrite rules to the config that resides inside the location path:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
&amp;lt;configuration&amp;gt;
    &amp;lt;system.webServer&amp;gt;
        &amp;lt;rewrite&amp;gt;
            &amp;lt;rules&amp;gt;
                &amp;lt;clear /&amp;gt;
                &amp;lt;rule name="ReverseProxyInboundRule1" enabled="true" stopProcessing="true"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false" /&amp;gt;
                    &amp;lt;action type="Rewrite" url="http://localhost/Reports/{R:1}" appendQueryString="true" /&amp;gt;
                &amp;lt;/rule&amp;gt;
                &amp;lt;rule name="ReverseProxyInboundRule2" stopProcessing="true"&amp;gt;
                    &amp;lt;match url="(.*)" /&amp;gt;
                    &amp;lt;conditions logicalGrouping="MatchAll" trackAllCaptures="false"&amp;gt;
                        &amp;lt;add input="{CACHE_URL}" pattern="^(https?)://" /&amp;gt;
                    &amp;lt;/conditions&amp;gt;
                    &amp;lt;action type="Rewrite" url="{C:1}://localhost/Reports/{R:1}" /&amp;gt;
                &amp;lt;/rule&amp;gt;
            &amp;lt;/rules&amp;gt;
        &amp;lt;/rewrite&amp;gt;
    &amp;lt;/system.webServer&amp;gt;
&amp;lt;/configuration&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jun 2020 08:42:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/Reporting-Server-Manifest-json-error-with-reverse-proxy/m-p/1188637#M14792</guid>
      <dc:creator>rks</dc:creator>
      <dc:date>2020-06-29T08:42:34Z</dc:date>
    </item>
  </channel>
</rss>

