To simplify my app development workflow I decided to host Bangle.js Loader on a local server (a Synology NAS) rather than GitHub.io.
Currently I have selected Apache HTTP Server 2.4 as the back-end server, and PHP 7.3 with its default profile for PHP. I also tried with Nginx and a more advanced configuration for PHP.
The Bangle.js Loader web page displays fine when connecting to my local server (10.0.1.4) with Google Chrome under Windows 10.
But when I click on Connect I get this error message:
10.0.1.4 says
This Web Browser doesn't support Web Bluetooth.
Please click Ok to see instructions for enabling it.
Do you know the reason for such a bug? Is it to find on my server side or does it have to do with something wrong with the AppLoader code?
IIRC web bluetooth requires https, that might be the problem. (admittedly, localhost does work for me without https)
Check the console for errors. Or manually try to connect with BLE, if you see no errors. Probably just a general try-catch showing the same message on all errors.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
To simplify my app development workflow I decided to host Bangle.js Loader on a local server (a Synology NAS) rather than GitHub.io.
Currently I have selected Apache HTTP Server 2.4 as the back-end server, and PHP 7.3 with its default profile for PHP. I also tried with Nginx and a more advanced configuration for PHP.
The Bangle.js Loader web page displays fine when connecting to my local server (10.0.1.4) with Google Chrome under Windows 10.
But when I click on Connect I get this error message:
Do you know the reason for such a bug? Is it to find on my server side or does it have to do with something wrong with the AppLoader code?
1 Attachment