# Rocketchat Gray screen when embeded within iframe

**URL:** <https://forums.rocket.chat/t/rocketchat-gray-screen-when-embeded-within-iframe/11945>\
**Category:** Community Support\
**Created:** [August 18, 2021, 10:15am UTC](https://forums.rocket.chat/t/rocketchat-gray-screen-when-embeded-within-iframe/11945 "2021-08-18T10:15:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayudh37](https://avatars.discourse-cdn.com/v4/letter/a/3be4f8/32.png) [@ayudh37](https://forums.rocket.chat/u/ayudh37)\
**Post date:** [August 18, 2021, 10:15am UTC](https://forums.rocket.chat/t/rocketchat-gray-screen-when-embeded-within-iframe/11945/1 "2021-08-18T10:15:55Z")

</div>

### Description

### Server Setup Information

- Version of Rocket.Chat Server: 3.17.1
- Operating System: windows 10
- Deployment Method: docker
- Number of Running Instances:
- DB Replicaset Oplog: enabled
- NodeJS Version:
- MongoDB Version:
- Proxy: 
- Firewalls involved:

### Any additional Information

I was able to login users using the iframe commands about 2 weeks ago but now when I login the user and refresh the iframe using chat.src = chat.src (where chat is

> const chat = document.getElementById(‘rc\_chat\_html\_element’)

), I just get the gray screen.

 ![rc_chat_window](https://us1.discourse-cdn.com/flex021/uploads/rocketchat/original/2X/9/9dc3fd8655d4cf78e24603611c8a2de61b319d19.png)

I believe this is the issue I have [RocketChat /home randomly not loaded when embedded in iFrame · Issue #22125 · RocketChat/Rocket.Chat · GitHub](https://github.com/RocketChat/Rocket.Chat/issues/22125) band it does occur randomly but now it seems to be happening all the time.

What happened? TY
