Git Product home page Git Product logo

Comments (7)

macklinu avatar macklinu commented on June 30, 2024 1

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:

image

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.

kachkaev avatar kachkaev commented on June 30, 2024

Same here on macOS

With Content blocking (configured by default)

Screenshot 2019-03-25 at 13 08 51

With Content blocking manually turned off for docz.site

Screenshot 2019-03-25 at 13 10 37

About Firefox

Screenshot 2019-03-25 at 13 09 43

from docz-website.

swyxio avatar swyxio commented on June 30, 2024

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.

jwhitley avatar jwhitley commented on June 30, 2024

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.

pedronauck avatar pedronauck commented on June 30, 2024

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.

pluma avatar pluma commented on June 30, 2024

Attaching the stacktraces for completeness' sake.

Firefox stacktraces

In Chrome I'm seeing this instead:

Chrome stacktrace

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.

pedronauck avatar pedronauck commented on June 30, 2024

Fixed ✅

from docz-website.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.