-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Google Chrome but error says "Google Chrome required" #10
Comments
Same problem for me. |
I found the reason. |
It looks like this just does not work on a Raspi whatsoever, not locally with Chromium or remote after opening the port with other browsers. If I try to connect to that from another computer in the network I get "use Chrome" on http, on https I get "not able to establish a secure connection". However I am stuck at pairing any one of my Vectors via Bluetooth, but that should be another issue. |
I have managed to use it with this :
PS : Digital dream labs needs to add CORS to the node application. |
Yes the app does a capabilities check to see if the browser will let us talk to the BLE interface for programming. If that capabilities check fails we show a simplified error message that seemed to be useful to most users. We'll have to come up with a way to get some better error messages that don't overwhelm users. |
The cors is a separate issue because we need to decide how to handle that on the cloud side which issues the list of valid domains. Our cloud stack is restricted to a select set of authorized domains so users don't get a malicious firmware installed via a random website. As the escape pod rolls out people will be able to set their own cors settings as they see fit. |
I just tried to load localhost:8000 in Edge. According to the Mozilla page on Web BT that browser implements it way further than Chrome, but I still get "Browser needs to support Web BT". Is the Chrome check hardcoded? I do not think you will need to think about "most users" at the moment, as all of this is way beyond most normal users anyway in the current state. ;) So more elaborate error messages would be helpful in debugging. |
We do a capabilities check here: https://github.com/digital-dream-labs/vector-web-setup/blob/master/rts-js/main.js#L408 If you want to investigate you can eliminate the check, but then the code in |
The following
|
Has anyone else had any more success with this? I would love to get this working, I am on Ubuntu and am unable to get past this capabilities check. I have the server running on Ubuntu and have tried connecting via a native windows device as well as android to no avail. |
Usually I do not use Google Chrome for privacy reasons. However, since your readme claims web bluetooth only runs in Google Chrome (which is not true regarding the information here: https://developer.mozilla.org/en-US/docs/Web/API/Bluetooth#Browser_compatibility) I installed it for this reason.
Chrome version 84.0.4147.105
I still get this error message: "Vector Web Setup uses Web Bluetooth which requires Google Chrome. See Mozilla's compatibility table for details."
The text was updated successfully, but these errors were encountered: