# Are localhost plugins crashing your browser?

**URL:** <https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549>\
**Category:** Plugins / Actions builders\
**Created:** [April 20, 2023, 2:11am UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549 "2023-04-20T02:11:04Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![yawnxyz](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/yawnxyz/32/117913_2.png) [@yawnxyz](https://community.openai.com/u/yawnxyz)\
**Post date:** [April 20, 2023, 2:11am UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/1 "2023-04-20T02:11:04Z")

</div>

All localhost plugins seem to be running up the Chrome CPU usage and crashing it, once there’s a response from the server. Even an empty or simple text response, including vanilla starter plugin example crashes immediately.

When I come re-open ChatGPT, the response from the crashed tab will show up under “New Chat” as the first message of the new chat. If I try to respond it’ll say “Conversation not found” or something similar.

Is this… a bug on my end??

---

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [April 20, 2023, 3:05am UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/2 "2023-04-20T03:05:50Z")

</div>

Yup, I spent the whole day assuming I was doing something wrong in my openapi.yaml untill I finally tried firefox just to check my sanity, and Voila!  
Hope this gets fixed soon…

---

<div class="post-metadata">

**Author:** ![yawnxyz](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/yawnxyz/32/117913_2.png) [@yawnxyz](https://community.openai.com/u/yawnxyz)\
**Post date:** [April 20, 2023, 3:06am UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/3 "2023-04-20T03:06:54Z")

</div>

me too, I thought my code was bad haha. I guess we’ll just hang tight and get back to doing some real work 😛

---

<div class="post-metadata">

**Author:** ![codie](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/codie/32/77495_2.png) [@codie](https://community.openai.com/u/codie)\
**Post date:** [April 20, 2023, 3:57am UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/4 "2023-04-20T03:57:13Z")

</div>

Getting the same effect. I don’t think it is the custom APIs themself. All of the API calls on my end complete. But after GPT gets the data, it hangs for a little bit, then crashes.

---

<div class="post-metadata">

**Author:** ![yawnxyz](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/yawnxyz/32/117913_2.png) [@yawnxyz](https://community.openai.com/u/yawnxyz)\
**Post date:** [April 20, 2023, 4:40am UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/5 "2023-04-20T04:40:43Z")

</div>

Yeah it’s the GPT-Plugin model that’s crashing. If you monitor traffic, so see it receive it properly, and then it just jacks up GPU/CPU and Chrome kills it

---

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [April 20, 2023, 4:06pm UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/6 "2023-04-20T16:06:16Z")

</div>

Arrrgh! yesterday it was only crashing chrome, but firefox was ok. Now it is crashing both!

---

<div class="post-metadata">

**Author:** ![wfhbrian](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/wfhbrian/32/19388_2.png) [@wfhbrian](https://community.openai.com/u/wfhbrian)\
**Post date:** [April 20, 2023, 4:14pm UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/7 "2023-04-20T16:14:09Z")

</div>

Eventually, this starts happening on every plugin request.

“Empty cache and hard reload” seems to be a temporary fix. Though, it starts happening again within 10 requests.

Edit: also seems to be worse when “expanding” the request/response element for review.

attn @logankilpatrick

---

<div class="post-metadata">

**Author:** ![wfhbrian](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/wfhbrian/32/19388_2.png) [@wfhbrian](https://community.openai.com/u/wfhbrian)\
**Post date:** [April 20, 2023, 4:30pm UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/8 "2023-04-20T16:30:42Z")

</div>

It seems to be getting worse. Localhost plugins are effectively unusable for me at this point.

Things I’ve tried:

- clear cache & hard refresh
- incognito window
- re-installing the plugin

---

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [April 20, 2023, 5:12pm UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/9 "2023-04-20T17:12:29Z")

</div>

Based on very limited testing, it seems if I open both the openai debugging tool AND chrome browser developer-tools debugger, my plugin seems to work, even after 5 calls. It had been crashing the browser immediately on response from the first call. Kinda awkward, the two debuggers take up a lot of screen real-estate, but at least I can continue working. We’ll see how long before a crash.

---

<div class="post-metadata">

**Author:** ![wfhbrian](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/wfhbrian/32/19388_2.png) [@wfhbrian](https://community.openai.com/u/wfhbrian)\
**Post date:** [April 20, 2023, 5:45pm UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/11 "2023-04-20T17:45:29Z")

</div>

> [@bruce.dambrosio](#):
>
> Based on very limited testing, it seems if I open both the openai debugging tool AND chrome browser developer-tools debugger, my plugin seems to work, even after 5 calls. It had been crashing the browser immediately on response from the first call. Kinda awkward, the two debuggers take up a lot of screen real-estate, but at least I can continue working. We’ll see how long before a crash.

Weird, but yeah, this seems to be working

---

<div class="post-metadata">

**Author:** ![codie](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/codie/32/77495_2.png) [@codie](https://community.openai.com/u/codie)\
**Post date:** [April 20, 2023, 6:38pm UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/12 "2023-04-20T18:38:34Z")

</div>

Oh that’s a good point. I should mention I was using edge which is chromium based.

---

<div class="post-metadata">

**Author:** ![codie](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/codie/32/77495_2.png) [@codie](https://community.openai.com/u/codie)\
**Post date:** [April 20, 2023, 6:40pm UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/13 "2023-04-20T18:40:01Z")

</div>

@bruce.dambrosio @wfhbrian Thanks for sharing your solutions. I’ll try them out today.

---

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [April 20, 2023, 7:33pm UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/14 "2023-04-20T19:33:49Z")

</div>

Might not actually need both, I haven’t tried just one or the other, just happy to be able to move forward…

---

<div class="post-metadata">

**Author:** ![wfhbrian](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/wfhbrian/32/19388_2.png) [@wfhbrian](https://community.openai.com/u/wfhbrian)\
**Post date:** [April 20, 2023, 9:02pm UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/15 "2023-04-20T21:02:12Z")

</div>

There seems to have been a UI update (the bottom left corner now expands to show settings). The tab has crashed after every plugin request since the update.

---

<div class="post-metadata">

**Author:** ![wfhbrian](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/wfhbrian/32/19388_2.png) [@wfhbrian](https://community.openai.com/u/wfhbrian)\
**Post date:** [April 20, 2023, 9:07pm UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/16 "2023-04-20T21:07:47Z")

</div>

Both CPU and memory increase right before the crash. Chrome memory utilization quadruples from 400mb to 1.6gb. CPU usage increases maybe 2–3X.

---

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [April 20, 2023, 9:44pm UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/17 "2023-04-20T21:44:18Z")

</div>

Yup. Sigh, back to square one

---

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [April 20, 2023, 11:16pm UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/18 "2023-04-20T23:16:03Z")

</div>

Interestingly, the last call made before the crash is to moderation. Hmm

---

<div class="post-metadata">

**Author:** ![wfhbrian](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/wfhbrian/32/19388_2.png) [@wfhbrian](https://community.openai.com/u/wfhbrian)\
**Post date:** [April 21, 2023, 12:30am UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/19 "2023-04-21T00:30:20Z")

</div>

I think that’s the standard operating procedure.

I just checked my network tab, and the call to the localhost API request responds as expected.

Then two calls to the OpenAI `/conversation` endpoint occur directly before the crash. Considering that erroneous conversations appear in my chat history, the bug probably has to do with these requests to `/conversation`.

@logankilpatrick

---

<div class="post-metadata">

**Author:** ![wfhbrian](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/wfhbrian/32/19388_2.png) [@wfhbrian](https://community.openai.com/u/wfhbrian)\
**Post date:** [April 21, 2023, 12:32am UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/20 "2023-04-21T00:32:28Z")

</div>

Example erroneous chat in history

 ![example erroneous chat log](https://us1.discourse-cdn.com/openai1/original/3X/9/5/95aec8b93e16f902389b54df442d5d1c5595ddb7.png)

Edit: Unconfirmed, but it might occur when a second API request is made immediately after the first request. @logankilpatrick

Update: WORKAROUND: Resubmit the same prompt by clicking “Edit” and “Submit” after refreshing after the crash. Seems to work after that.

---

<div class="post-metadata">

**Author:** ![bruce.dambrosio](https://sea2.discourse-cdn.com/openai1/user_avatar/community.openai.com/bruce.dambrosio/32/224818_2.png) [@bruce.dambrosio](https://community.openai.com/u/bruce.dambrosio)\
**Post date:** [April 21, 2023, 1:08am UTC](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549/21 "2023-04-21T01:08:26Z")

</div>

@wfhbrian  
posted this in the other thread by accident, but after refresh I just see a blank new chat window, no original input or edit or resubmit. Did I miss something?

[Next page](https://community.openai.com/t/are-localhost-plugins-crashing-your-browser/169549.md?page=2)
