Comments (7)
Looks like the SecurityError: The operation is insecure.
is related to using websockets. Here is a screenshot of the line that threw the error in docz.site:
Following the advice in this SO post that recommends setting network.websocket.allowInsecureFromHTTPS
to true in about:config
, I was able to get docz.site to load in Firefox.
Not sure what the fix is for this site right now, but I hope this information helps narrow down the bug source.
from docz-website.
Same here on macOS
With Content blocking (configured by default)
With Content blocking manually turned off for docz.site
About Firefox
from docz-website.
just a heads up that ongoing dev is at the v1 branch: https://github.com/pedronauck/docz-website/tree/v1 and we should prob check firefox there cc @pedronauck
from docz-website.
I can repro this in Firefox v60 ESR (edit: on macOS), so it's not just a problem with the most recent release.
from docz-website.
No @sw-yx, by mad... I forgot to delete the v1
branch, master
is already merged. I need to check how fix this insecure warning :sad:
from docz-website.
Attaching the stacktraces for completeness' sake.
In Chrome I'm seeing this instead:
I'm guessing this is the culprit:
useDataServer('ws://127.0.0.1:60505')
This probably shouldn't be in production code. Looks like the deployed code is set up for hot module replacement and tries to listen on a websocket on localhost, which Firefox correctly prohibits but Chrome just shrugs off.
from docz-website.
Fixed ✅
from docz-website.
Related Issues (19)
- Include a live example of playground HOT 1
- Project configuration doc: "src" instead of "source" HOT 2
- Request for favicon documentation HOT 2
- Document new menu system HOT 1
- No favicon
- Copyright holder and license HOT 1
- document typescript HOT 1
- request to help maintain docz docs HOT 1
- website doesnt run locally HOT 4
- Broken links to default theme's GitHub URL
- Error when running dev script HOT 3
- Handle netlify redirects HOT 1
- Broken links in migration guide HOT 1
- Broken link: "source code of `docz-theme-default`" HOT 1
- Add docgenConfig documentation
- Add section about debugging the build
- Update remark plugin section
- Upgrade to docz v2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docz-website.