# Issue with demo

**URL:** <https://forum.dfinity.org/t/issue-with-demo/1960>\
**Category:** Developers\
**Created:** [February 8, 2021, 12:10pm UTC](https://forum.dfinity.org/t/issue-with-demo/1960 "2021-02-08T12:10:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmcneish](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gmcneish/32/828_2.png) [@gmcneish](https://forum.dfinity.org/u/gmcneish)\
**Post date:** [February 8, 2021, 12:10pm UTC](https://forum.dfinity.org/t/issue-with-demo/1960/1 "2021-02-08T12:10:11Z")

</div>

Hello can anyone help me please I am following this example [Customize the front-end :: Internet Computer](https://sdk.dfinity.org/docs/developers-guide/tutorials/custom-frontend.html)

but when I go to view the canister I just get errors

[http://165.22.124.211:8000/?canisterId=rrkah-fqaaa-aaaaa-aaaaq-cai](http://165.22.124.211:8000/?canisterId=rrkah-fqaaa-aaaaa-aaaaq-cai)

Any help is greatly appreciated

---

<div class="post-metadata">

**Author:** ![cryptoschindler](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/cryptoschindler/32/26_2.png) [@cryptoschindler](https://forum.dfinity.org/u/cryptoschindler)\
**Post date:** [February 8, 2021, 12:30pm UTC](https://forum.dfinity.org/t/issue-with-demo/1960/2 "2021-02-08T12:30:42Z")

</div>

Works on my end? What exactly are the errors you are recieving?

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/1X/e5b6e9e2b49cdbbebefa2a4654739fff0a10921c.jpeg)

---

<div class="post-metadata">

**Author:** ![gmcneish](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gmcneish/32/828_2.png) [@gmcneish](https://forum.dfinity.org/u/gmcneish)\
**Post date:** [February 8, 2021, 12:36pm UTC](https://forum.dfinity.org/t/issue-with-demo/1960/3 "2021-02-08T12:36:04Z")

</div>

thats really strange on chrome I get

 ![error](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/1X/42040f71f0242ce06cf8fe8438bdc5d169aabe55.png)  
and on firefox

 ![firefox](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/1X/e02479bee21b6e26e7eda9b023a9122d37b7424f.png)

---

<div class="post-metadata">

**Author:** ![gmcneish](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gmcneish/32/828_2.png) [@gmcneish](https://forum.dfinity.org/u/gmcneish)\
**Post date:** [February 8, 2021, 12:50pm UTC](https://forum.dfinity.org/t/issue-with-demo/1960/4 "2021-02-08T12:50:04Z")

</div>

![errordev](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/1X/d1cdeb0ecd6e0e90bb379b5be927907109c75fa8.png)

here is the error in inspect on chrome

---

<div class="post-metadata">

**Author:** ![gmcneish](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gmcneish/32/828_2.png) [@gmcneish](https://forum.dfinity.org/u/gmcneish)\
**Post date:** [February 8, 2021, 12:51pm UTC](https://forum.dfinity.org/t/issue-with-demo/1960/5 "2021-02-08T12:51:49Z")

</div>

I also tried installing [Add a stylesheet :: Internet Computer](https://sdk.dfinity.org/docs/developers-guide/tutorials/my-contacts.html)

but I get the same errors as above

[http://165.22.124.211:8000/?canisterId=r7inp-6aaaa-aaaaa-aaabq-cai](http://165.22.124.211:8000/?canisterId=r7inp-6aaaa-aaaaa-aaabq-cai)

---

<div class="post-metadata">

**Author:** ![cryptoschindler](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/cryptoschindler/32/26_2.png) [@cryptoschindler](https://forum.dfinity.org/u/cryptoschindler)\
**Post date:** [February 8, 2021, 1:12pm UTC](https://forum.dfinity.org/t/issue-with-demo/1960/6 "2021-02-08T13:12:25Z")

</div>

Maybe this is the problem? Did you try and serve the canister from 127.0.0.1 and access it locally?

> [@How to run canister on public network?](https://forum.dfinity.org/t/how-to-run-canister-on-public-network/1260/2):
>
> I think the issue is because 192.168.1.9 is not considered as a secure context and so your browser doesn’t load the SubtleCrypto API ( [https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto](https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto) ), while [http://localhost](http://localhost) (or 127.0.0.1) is considered as secure. try typing isSecureContext in the webconsole, if it returns false it means that you need to serve this endpoint via SSL

Another thing you could try is to empty your browser cache.

---

<div class="post-metadata">

**Author:** ![gmcneish](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gmcneish/32/828_2.png) [@gmcneish](https://forum.dfinity.org/u/gmcneish)\
**Post date:** [February 8, 2021, 1:16pm UTC](https://forum.dfinity.org/t/issue-with-demo/1960/7 "2021-02-08T13:16:58Z")

</div>

> [@cryptoschindler](#):
>
> Maybe this is the problem? Did you try and serve the canister from 127.0.0.1 and access it locally?

I changed the IP address from localhost to the public IP address as I’m running it on a ubuntu server and had no way of accessing localhost

---

<div class="post-metadata">

**Author:** ![gmcneish](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gmcneish/32/828_2.png) [@gmcneish](https://forum.dfinity.org/u/gmcneish)\
**Post date:** [February 8, 2021, 1:17pm UTC](https://forum.dfinity.org/t/issue-with-demo/1960/8 "2021-02-08T13:17:58Z")

</div>

isSecureContext  
false

how do you think I should proceed to access the site from an external server?

also thank you so much for your help

---

<div class="post-metadata">

**Author:** ![gmcneish](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/gmcneish/32/828_2.png) [@gmcneish](https://forum.dfinity.org/u/gmcneish)\
**Post date:** [February 8, 2021, 1:22pm UTC](https://forum.dfinity.org/t/issue-with-demo/1960/9 "2021-02-08T13:22:55Z")

</div>

Ill run it in a vm to save the hastle

Thank you so much
