<?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: embedded-expiration/timeout issue? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/361313#M10778</link>
    <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/7028"&gt;@ThomasDay&lt;/a&gt;&amp;nbsp;Did you get a solution for this? We are facing similar issue where we are using Sharepoint PowerBI webpart and embedding the reports inside that webpart. After navigating to another tab in report 403 error&amp;nbsp;pops up.&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2018 10:38:05 GMT</pubDate>
    <dc:creator>arujindal</dc:creator>
    <dc:date>2018-02-20T10:38:05Z</dc:date>
    <item>
      <title>embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59156#M1872</link>
      <description>&lt;P&gt;Hello fellow Embedders,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a site that is working great...until it sits for 3 minutes or perhaps 5. &amp;nbsp;Then I get this when I click another tab in the report.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/11360i982EA45EBD7D0D9B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;The token expiration is set for 1 hr, btw, so I'm not sure what's up. &amp;nbsp;A refresh sets things straight. &amp;nbsp;What's to be done here..any ideas?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 15:47:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59156#M1872</guid>
      <dc:creator>ThomasDay</dc:creator>
      <dc:date>2016-08-16T15:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59157#M1873</link>
      <description>&lt;P&gt;If you click on one of the "See Details" links do you get an activity or request id GUID? &amp;nbsp;If so please share. &amp;nbsp;I'll be able to look up the root cause of the issue with this information.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 15:52:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59157#M1873</guid>
      <dc:creator>wabreza</dc:creator>
      <dc:date>2016-08-16T15:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59162#M1875</link>
      <description>&lt;P&gt;If this does come down to being a timeout issue you can try one of the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In a server generated app you can get around this by generating a token for each render of the page.&lt;/LI&gt;&lt;LI&gt;In a single page app (SPA) - one option is to set a client-side timer on your page/view that is shorter than your token expiration. &amp;nbsp;At that point you can regenerate the token and reload the report passing in the new access token.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 16 Aug 2016 15:58:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59162#M1875</guid>
      <dc:creator>wabreza</dc:creator>
      <dc:date>2016-08-16T15:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59172#M1877</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/3694"&gt;@wabreza﻿&lt;/a&gt;&amp;nbsp;Here are the tech details of the error. &amp;nbsp;Let me know what you see as a root cause.....and thanks, Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/11362iAA813AF9C17B21E9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 16:23:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59172#M1877</guid>
      <dc:creator>ThomasDay</dc:creator>
      <dc:date>2016-08-16T16:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59180#M1880</link>
      <description>&lt;P&gt;Its a 403 which is an access issue. &amp;nbsp;What is the expiration of your generated tokens? &amp;nbsp;Is the expiration you are setting inline which the timeout you are seeing in the embedded report?&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 16:37:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59180#M1880</guid>
      <dc:creator>wabreza</dc:creator>
      <dc:date>2016-08-16T16:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59183#M1882</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/3694"&gt;@wabreza﻿&lt;/a&gt;&amp;nbsp;No the token timeout is set to 1hr. &amp;nbsp;We've had 403's forever to be honest. &amp;nbsp;They happen when the site has been sitting and I click on another tab in a report. &amp;nbsp;Time is 3-7 minutes, but not always. &amp;nbsp;Sometimes longer...but seldom a non-issue. &amp;nbsp;We have 4 embedded reports up behind our paywall. &amp;nbsp;The tabbed ones are the main issue. &amp;nbsp;There are lots of filters and data...and the app is really useful and fast. &amp;nbsp;Very good market reception. &amp;nbsp;Can't say I recall a non-tabbed one giving me trouble but I'll look more carefully going forward. &amp;nbsp;Now that we're live and have users starting up...we're paying more attention in general. &amp;nbsp;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 16:57:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59183#M1882</guid>
      <dc:creator>ThomasDay</dc:creator>
      <dc:date>2016-08-16T16:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59197#M1885</link>
      <description>&lt;P&gt;You mentioned you have 4 embedded reports. &amp;nbsp;Are they all embedded within the app at the same time? &amp;nbsp;Or are they embedded seperatly in different views?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If they are all embedded in the page at the same time I'm thinking of some potential issues where their may be some shared state (cookies/local storage) that have&amp;nbsp;the potential to be shared accross the iframes.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 17:27:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59197#M1885</guid>
      <dc:creator>wabreza</dc:creator>
      <dc:date>2016-08-16T17:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59219#M1890</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/3694"&gt;@wabreza﻿&lt;/a&gt;They all are called via&amp;nbsp;the same iFrame. &amp;nbsp;We have a wordpress site where the page behind our paywall has a side menu navbar where you pick the report--and it's retrieved via it's id from the collection/workspace. &amp;nbsp;There is seldom&amp;nbsp;an issue as it's retrieved...just when it's been sitting and I click a report page tab&amp;nbsp;or sometimes just click a slicer on the idle page and sometimes there are no&amp;nbsp;problems. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;This morning's picture of problems had a single chrome tab&amp;nbsp;open to&amp;nbsp;our site iframe and the x's appeared when I clicked a powerbi report tab to switch pages.&lt;/LI&gt;&lt;LI&gt;The picture I sent to this topic, had two chrome tabs open to our site--and the second chrome tab iframe&amp;nbsp;presented problems when I clicked a powerbi report tab to switch pages.&lt;/LI&gt;&lt;LI&gt;BTW, the&amp;nbsp;first chrome tab iframe has not shown problems at all and has been sitting for quite some time.&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is there something I can do to understand any shared state issues?&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 18:33:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59219#M1890</guid>
      <dc:creator>ThomasDay</dc:creator>
      <dc:date>2016-08-16T18:33:57Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59221#M1891</link>
      <description>&lt;P&gt;OK - So to be clear your app is re-using the same iframe to load multiple reports. &amp;nbsp;Correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How are you loading the reports? &amp;nbsp;Are you manually making the postMessage(...) calls or are you using the JavaScript SDK? &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 18:35:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59221#M1891</guid>
      <dc:creator>wabreza</dc:creator>
      <dc:date>2016-08-16T18:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59222#M1892</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/3694"&gt;@wabreza﻿&lt;/a&gt;&amp;nbsp; I just called the embed&amp;nbsp;site guy (I'm the powerbi guy) and he says "every time a new menu item is called, I load a new page and a new token." &amp;nbsp;So, I don't think that's the same iFrame in this sense. &amp;nbsp;&lt;/P&gt;&lt;P&gt;And using the JavaScript SDK...&lt;/P&gt;&lt;P&gt;Thanks for patience on this...&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 19:15:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59222#M1892</guid>
      <dc:creator>ThomasDay</dc:creator>
      <dc:date>2016-08-16T19:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59557#M1907</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/3694"&gt;@wabreza﻿&lt;/a&gt;&amp;nbsp;Are we out of pursuable&amp;nbsp;options as you think about this? &amp;nbsp;I'm not sure how we'd pursue/fix conflicts in the shared&amp;nbsp;state. &amp;nbsp;Do I need to put in a ticket of some sort? Tom&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 14:00:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59557#M1907</guid>
      <dc:creator>ThomasDay</dc:creator>
      <dc:date>2016-08-17T14:00:45Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59587#M1908</link>
      <description>&lt;P&gt;Can you put together a small sample app that reproduces the problem? &amp;nbsp;I haven't been able to reproduce your issue locally.&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 15:07:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59587#M1908</guid>
      <dc:creator>wabreza</dc:creator>
      <dc:date>2016-08-17T15:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59604#M1910</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/3694"&gt;@wabreza﻿&lt;/a&gt;&amp;nbsp;That's a great next step. &amp;nbsp;It may take awhile as we're in active dev of features etc as we launch, but that seems like a good exercise for a lot of reasons. &amp;nbsp;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 17 Aug 2016 15:57:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/59604#M1910</guid>
      <dc:creator>ThomasDay</dc:creator>
      <dc:date>2016-08-17T15:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/64245#M2031</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/3694"&gt;@wabreza﻿&lt;/a&gt;&amp;nbsp;&amp;nbsp;In the interim--I thought a short video of the failure would be helpful to the community and perhaps allow you to get further along in deciphering what is happening when our site "fails" when inactive for a short while (3-5 minutes). To recap, each report loaded from a menu gets it's own page and token and the timeout period is set to 1 hour. We are embedding using Javascript in wordpress. Jesse will post the embedding code on git hub to benefit the opensource community that is embedding powerbi models. &lt;A href="https://www.dropbox.com/s/bokzx2ia47era15/2016-08-31_13-13-04.mp4?dl=0" target="_self"&gt;Here is a link to the video&lt;/A&gt; in dropbox which I've set to share for 7 days. Hopefully you'll get a flavor for what's happening and can perhaps direct us to more inquiry or a path to eliminate our issue. Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: there are no report level filters--all slicers/filters are contained on a page. &amp;nbsp;Not that it matters...the x's appear for report level filtered pages as well.&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 19:29:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/64245#M2031</guid>
      <dc:creator>ThomasDay</dc:creator>
      <dc:date>2016-08-31T19:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/64257#M2032</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/3694"&gt;@wabreza﻿&lt;/a&gt;&amp;nbsp; finally, here is the &lt;A href="https://github.com/jesseday/wp-powerbi-embedded" target="_self"&gt;embedding code on github&lt;/A&gt;. &amp;nbsp;&lt;SPAN&gt;The `getEmbedTokens` method makes it look as though maybe we’re reusing tokens--we&amp;nbsp;thought about that as an option at one point, but we don’t save tokens across requests, so in reality the way it works out is that a new token is generated for each request. &amp;nbsp;We should probably pull that out for the sake of clarity. &amp;nbsp;You'll most likely want to look at&amp;nbsp;the `includes/powerbi.inc` file&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2016 19:52:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/64257#M2032</guid>
      <dc:creator>ThomasDay</dc:creator>
      <dc:date>2016-08-31T19:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/361313#M10778</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/7028"&gt;@ThomasDay&lt;/a&gt;&amp;nbsp;Did you get a solution for this? We are facing similar issue where we are using Sharepoint PowerBI webpart and embedding the reports inside that webpart. After navigating to another tab in report 403 error&amp;nbsp;pops up.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 10:38:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/361313#M10778</guid>
      <dc:creator>arujindal</dc:creator>
      <dc:date>2018-02-20T10:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/361316#M10779</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/7028"&gt;@ThomasDay&lt;/a&gt;&amp;nbsp;Did you get a solution for this? We are facing similar issue where we are using Sharepoint PowerBI webpart and embedding the reports inside that webpart. After navigating to another tab in report 403 error&amp;nbsp;pops up.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 10:42:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/361316#M10779</guid>
      <dc:creator>arujindal</dc:creator>
      <dc:date>2018-02-20T10:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/361330#M10780</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/7028"&gt;@ThomasDay&lt;/a&gt;&amp;nbsp;did you get resolution of this issue. we are facing similar issue with PowerBI webpart in SharePoint site. Reports working fine in PowerBI but erroring out in SharePoint site.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:04:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/361330#M10780</guid>
      <dc:creator>arujindal</dc:creator>
      <dc:date>2018-02-20T11:04:27Z</dc:date>
    </item>
    <item>
      <title>Re: embedded-expiration/timeout issue?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/361450#M10785</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/55555"&gt;@arujindal&lt;/a&gt;&amp;nbsp; Actually I never got an answer from the forum.&amp;nbsp; I did get to the Microsoft person who built the github code for embedding V1.&amp;nbsp; (You'll notice this is quite an old post).&amp;nbsp; The end of this story was that there is a php command in the embedding code we used that sets the timeout period and it's measured in seconds not minutes, so turns out se had set the timeout to 60 instead of 3600 for a one hour timeout period.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I really don't know how the sharepoint embedding works, but that's what did it for us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 13:59:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/embedded-expiration-timeout-issue/m-p/361450#M10785</guid>
      <dc:creator>ThomasDay</dc:creator>
      <dc:date>2018-02-20T13:59:16Z</dc:date>
    </item>
  </channel>
</rss>

