# IFrame method integration failing intermittently

**URL:** <https://forums.rocket.chat/t/iframe-method-integration-failing-intermittently/10686>\
**Category:** Development\
**Tags:** rocketchat-apps\
**Created:** [March 18, 2021, 2:00am UTC](https://forums.rocket.chat/t/iframe-method-integration-failing-intermittently/10686 "2021-03-18T02:00:17Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dave.koo](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/dave.koo/32/2204_2.png) [@dave.koo](https://forums.rocket.chat/u/dave.koo)\
**Post date:** [March 25, 2021, 7:19am UTC](https://forums.rocket.chat/t/iframe-method-integration-failing-intermittently/10686/4 "2021-03-25T07:19:02Z")

</div>

UPDATE: I’ve done some more digging and posted my final analysis and workaround here:

> [@User is sometimes logged out right after reconnecting to the RC server](https://forums.rocket.chat/t/user-is-sometimes-logged-out-right-after-reconnecting-to-the-rc-server/10671):
>
> Description tl;dr Can anyone think of a reason why the Rocket Chat web app would randomly log a user out when their browser reconnects to the RC server after being offline for a while? I’m using standard email/password auth and am nowhere near the 90 day login expiration threshold. It’s currently happening around once a day to my users. ============================== I’ve customized RC to properly install and function as a PWA (with very basic service worker). I have the PWA installed on my A…

The same solution will likely work for this IFrame issue as well.

---

_[View the full topic](https://forums.rocket.chat/t/iframe-method-integration-failing-intermittently/10686)._
