# \`shutdown\` crash site in web sdk

**URL:** <https://forum.deepar.ai/t/shutdown-crash-site-in-web-sdk/412>\
**Category:** Bugs\
**Tags:** web, web-sdk\
**Created:** [September 5, 2023, 7:53am UTC](https://forum.deepar.ai/t/shutdown-crash-site-in-web-sdk/412 "2023-09-05T07:53:21Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![jelena](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.deepar.ai/jelena/32/14_2.png) [@jelena](https://forum.deepar.ai/u/jelena)\
**Post date:** [September 5, 2023, 3:06pm UTC](https://forum.deepar.ai/t/shutdown-crash-site-in-web-sdk/412/3 "2023-09-05T15:06:49Z")

</div>

Hi, you do typically need to shutdown deepar to reinitialize with a different canvas

Can you check the metadata headers settings (Content-Encoding and Content-Type) for .js, .wasm, model and effect files on your server. This error usually happens on startup, but try checking out the thread dedicated to it

> [@Web SDK Memory Out Of Bounds exception](https://forum.deepar.ai/t/web-sdk-memory-out-of-bounds-exception/31):
>
> If you get this error while using DeepAR on your domain, you should check the metadata header settings (Content-Encoding and Content-Type) for .js, .wasm, model and effect files on your server. These are explained in the [getting started guide](https://docs.deepar.ai/deepar-sdk/deep-ar-sdk-for-web/getting-started) You can also Inspect your page and compare the metadata headers to one of our [demo examples](https://sdk.developer.deepar.ai/virtualTryOn/index.html). This should make it any mismatches easier to spot.

If that doesn’t help, can you share some of your shutdown code so we can check for potential issues?

---

_[View the full topic](https://forum.deepar.ai/t/shutdown-crash-site-in-web-sdk/412)._
