Code Monkey home page Code Monkey logo

Comments (4)

wincelau avatar wincelau commented on July 22, 2024 3

Ok j'ai testé, c'est parce que l'application utilise le cache api du navigateur pour stocker le pdf (https://github.com/24eme/signaturepdf/blob/master/public/js/signature.js#L1042). Et ce module de cache fonctionne seulement avec une connexion sécurisé https et sauf en localhost.

Il ne fonctionne pas non plus en navigation privé c'est pourquoi c'est le message "Erreur d'accès au cache. Cette application ne fonctionne pas en mode de navigation privée"

Si tu testes en localhost ça devrait fonctionner.

docker run -d --name=signaturepdf -p 8080:80 -e SERVERNAME=localhost signaturepdf

Ce qui serait bien, ce serait de faire évoluer le javascript pour utiliser du module cache uniquement si c'est possible, quitte à dégrader un peu le fonctionnement si n'est pas le cas et éviter ce genre de problèmes.

from signaturepdf.

shad00m avatar shad00m commented on July 22, 2024

Getting the same error in french

from signaturepdf.

wincelau avatar wincelau commented on July 22, 2024

Are you using https? Does the cache you're using only work in https or with localhost ?

Could you see if you have an error in the console (F12) ?

from signaturepdf.

jerrywham avatar jerrywham commented on July 22, 2024

I have the same issue with private navigation. The console error is

DOMException: The operation is insecure.
    pageUpload https://mydomain/js/signature.js?03efc49:1042
    <anonymous> https://mydomain/js/signature.js?03efc49:1159
    <anonymous> https://mydomain/js/signature.js?03efc49:1164
signature.js:1044:17

from signaturepdf.

Related Issues (20)

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.