# About web pages in Flask

**URL:** <https://forum.remote.it/t/about-web-pages-in-flask/1446>\
**Category:** Developers\
**Created:** [October 15, 2025, 4:50pm UTC](https://forum.remote.it/t/about-web-pages-in-flask/1446 "2025-10-15T16:50:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tayama](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@tayama](https://forum.remote.it/u/tayama)\
**Post date:** [October 15, 2025, 4:50pm UTC](https://forum.remote.it/t/about-web-pages-in-flask/1446/1 "2025-10-15T16:50:54Z")

</div>

Hi everyone,

I’m trying to access my Raspberry Pi’s web page remotely, but the page can’t load data from the JSON file.  
When I access it from the same local network, everything works fine.  
I’ve tried changing the URL inside the code, but it still doesn’t work.  
When I use HTTPS, it returns “404 Not Found.”

Does anyone know what might be causing this issue or how to fix it?

Thanks in advance for your help!

---

<div class="post-metadata">

**Author:** ![bstrech](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.remote.it/bstrech/32/266_2.png) [@bstrech](https://forum.remote.it/u/bstrech)\
**Post date:** [October 15, 2025, 4:56pm UTC](https://forum.remote.it/t/about-web-pages-in-flask/1446/2 "2025-10-15T16:56:39Z")

</div>

I would check that your endpoint saved for the remote.it service is the correct url. It should be 127.0.0.1 with the correct port you are serving it on and make sure that you have the SSL protocol correct. For example, if it is running on port 8080 but you do not have SSL. i.e. you get to in on your LAN as something like [http://192.168.10.109:8080](http://192.168.10.109:8080), then you would set it up in remote.it as [http://127.0.0.1:8080](http://127.0.0.1:8080) (note no https and it is 127.0.0.1 because the service is running local to the raspberry pi).  
If you are still having issues, open the developer tools in your browser to find the error. It is possible that your webserver is having a CORS issue or some other setting that needs to be fixed.

---

<div class="post-metadata">

**Author:** ![mycal](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@mycal](https://forum.remote.it/u/mycal)\
**Post date:** [October 16, 2025, 10:49pm UTC](https://forum.remote.it/t/about-web-pages-in-flask/1446/3 "2025-10-16T22:49:36Z")

</div>

Use the web debugger in the browser and look at the network tab. This will tell you how it is trying to load.

---

<div class="post-metadata">

**Author:** ![tayama](https://avatars.discourse-cdn.com/v4/letter/t/ac8455/32.png) [@tayama](https://forum.remote.it/u/tayama)\
**Post date:** [October 23, 2025, 8:49am UTC](https://forum.remote.it/t/about-web-pages-in-flask/1446/4 "2025-10-23T08:49:28Z")

</div>

Thank you very much.  
I’m not sure which one was the cause, but it was resolved after I reviewed it.

---

<div class="post-metadata">

**Author:** ![awill](https://avatars.discourse-cdn.com/v4/letter/a/9dc877/32.png) [@awill](https://forum.remote.it/u/awill)\
**Post date:** [November 5, 2025, 11:15pm UTC](https://forum.remote.it/t/about-web-pages-in-flask/1446/5 "2025-11-05T23:15:54Z")

</div>

Hello,

I am having a similar issue. I am using Python/Flask. The GET request is received by the Raspberry PI, but I never get corresponding Response. This behavior happens while using the Remote.IT proxy. It works fine when accessing locally. I opened developer tool and navigated to Networks tab an saw a “content\_length\_mismatch” error. Since my request work fine locally, I am assuming that the issue is on the Remote.IT side. Please help shine a light on this. Thanks

---

<div class="post-metadata">

**Author:** ![mycal](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@mycal](https://forum.remote.it/u/mycal)\
**Post date:** [December 22, 2025, 6:18pm UTC](https://forum.remote.it/t/about-web-pages-in-flask/1446/6 "2025-12-22T18:18:30Z")

</div>

Post a screen shot of the error
