# Bug Report: RPC Disconnect and Page Refresh on File Save

**URL:** <https://community.firebasestudio.dev/t/bug-report-rpc-disconnect-and-page-refresh-on-file-save/2137>\
**Category:** General\
**Created:** [October 1, 2024, 8:29am UTC](https://community.firebasestudio.dev/t/bug-report-rpc-disconnect-and-page-refresh-on-file-save/2137 "2024-10-01T08:29:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Richen](https://sea2.discourse-cdn.com/flex002/user_avatar/community.firebasestudio.dev/richen/32/1968_2.png) [@Richen](https://community.firebasestudio.dev/u/Richen)\
**Post date:** [October 1, 2024, 8:29am UTC](https://community.firebasestudio.dev/t/bug-report-rpc-disconnect-and-page-refresh-on-file-save/2137/1 "2024-10-01T08:29:41Z")

</div>

## Environment

- Template: Node Express
- Browser: Chrome

## Steps to Reproduce

1. Open the Node Express project in the workspace
2. Make changes to the index.ejs file (e.g., changing “hello world” to “hello earth”)
3. Save the file

## Observed Behavior

Upon saving the file, the following issues occur:

### 1. RPC Disconnect Error

An error appears in the Chrome console:

```auto
ERR Rpc channel disconnected: Error: Rpc channel disconnected
	at pBe.handleHeartbeatTimeout (/opt/code-oss/extensions/monospace/dist/extension.js:1177:6527)
	at /opt/code-oss/extensions/monospace/dist/extension.js:1177:6102
	at async Timeout._onTimeout (/opt/code-oss/extensions/monospace/dist/extension.js:1177:7114)

```

### 2. Automatic Page Reload

The web page `idx.google.com/&lt;workspace id&gt;` reloads automatically.

### 3. 404 Errors

Several 404 errors occur for missing resources:

```auto
GET https://idx-mynodeexpressdemo-1727770215074.cluster-lqnxvk7thvfw4wbonsercicksm.cloudworkstations.dev/oss-cf213cd39a3bfb26ce45d2c85949fee44b9d03d9/static/out/vsda.js net::ERR_ABORTED 404 (Not Found)
 
GET https://idx-mynodeexpressdemo-1727770215074.cluster-lqnxvk7thvfw4wbonsercic…ations.dev/oss-cf213cd…/static/out/vsda.js net::ERR_ABORTED 404 (Not Found)
GET https://idx-mynodeexpressdemo-1727770215074.cluster-lqnxvk7thvfw4wbonsercicksm.cloudworkstations.dev/oss-cf213cd39a3bfb26ce45d2c85949fee44b9d03d9/static/out/vsda_bg.wasm ::ERR_ABORTED 404 (Not Found)

```

## Additional Notes

- After the initial refresh, subsequent workspace re-entries trigger automatic reloads at regular intervals, even without action.
