cryptoadvance / cryptoadvance/specter-desktop

qr scanner will not start / qr-scanner.min.js not loaded

Open
#705 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
847
Forks
259
Avg merge
6d 18h
Merged PRs (30d)
2

Description

Window 10 + Specter-Setup-v0.10.1.exe

Steps to reproduce:
1, Add New Device -> cobo vault
2, Click Scan QR button
Expected: camera to start to scan QR code
Actual: nothing happens / camera is not started.

From developer tools console: shows the following error:

qr-scanner.min.js:1 Failed to load module script: The server responded with a non-JavaScript MIME type of "text/plain". Strict MIME type checking is enforced for module scripts per HTML spec.

Also: tested with earlier versions 0.9.2 and it does not work either.
This machine did previously have specter-desktop 0.7.2 (I think) installed, but I can not confirm if the qr scanner worked on that version.

Also: opening http://localhost:25441/static/qr/qr-scanner.min.js in browser works, the js file is served.

Also: Installed on another machine (fresh win10 install) and dev tools console shows a different error about not streaming camera when not using https:

Is this expected to work? (on windows 10?)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.