Print at Dec 27, 2025, 1:11:52 PM View all posts in this thread on one page
Posted by sunkgrowsupply at Mar 19, 2020, 2:00:15 PM
html5 error 0
I keep getting error 5 while requesting ( *.zip file ).
I tried searching error 0 in the forum with nothing coming up. anyone have the quick fix for this?

Posted by Puybaret at Mar 19, 2020, 9:53:20 PM
Re: html5 error 0
I guess you should allow your browser to read local files or host the exported files on a web server.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Alex210 at Apr 23, 2020, 11:14:19 PM
Re: html5 error 0
Check this thread hope it might help you,
http://www.sweethome3d.com/support/forum/viewthread_thread,6708

Posted by davequ at Mar 8, 2021, 12:42:03 AM
Re: html5 error 0
Having an issue trying to get the default html to work. Opening it in Chrome (latest version Version 88.0.4324.190 on Windows 10) get Error 0 when requesting default.sh3d. I have checked the settings and File System access is on, as is Allow apps to access... Also tried C:\PROGRA~2\Google\Chrome\Application>chrome.exe --allow-file-access-from-file but seems to make no difference. I get a tab with a View Home button, and ...HTML5 Viewer at the bottom. but on clicking the button get the error.

Posted by Puybaret at Mar 11, 2021, 10:24:54 AM
Re: html5 error 0
Apparently, Chrome wants to make it harder and harder to use it for developers sad

From this page, you should now run Chrome with the following options:
--disable-web-security --user-data-dir="[some directory here]"

for example:
--disable-web-security --user-data-dir=ChromeTemp

----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by vinaayaksingh at Jan 24, 2023, 6:19:36 PM
Re: html5 error 0
Browser blocks local file.
Assuming you have dev env setup
You can install very simple dev server & then access the html from browser via server.
Here are the steps:
1. Installing the Node.js http-server. Its simple. Open cmd prompt and type:
npm install http-server -g

Then go to the folder where your html file is there. open cmd prompt in that folder. and type command:
http-server . -p 8000

Now you can open http://127.0.0.1:8000/ and then from there open your html file.

Above is just one method. There are many such server available.