fpvout/live.fpvout.com

Connect to googles not working

SebastianKumor opened this issue · 10 comments

Hey guys, I cloned your repo last week while it was just a connect button and a label and the website worked fine on my mac and google chrome. I just pulled the latest changes and the connect button no longer gives me the prompt from chrome to choose a device. When I plug the googles and click the connect button nothing happens.

I checkout out few commits back and it started working again. I came to conclusion that commit d96c2c0e904ad27e28f5727d7635f16b1b94836b is when it stops working for me and I cannot get connection to my googles. I am using v2 googles

Do you get any errors in the chrome devtools?

@atiernan hey sorry for a late reply but here is some console logs and some errors. I do not get these on the earlier versions.

Screenshot 2021-06-22 at 09 35 35

Screenshot 2021-06-22 at 09 34 41

What OS and version of Chrome are you using?

@atiernan macOS 11.4 and chrome 91.0.4472.114

I'm also not able to connect but with access denied error in the console.

@shulhi @SebastianKumor Did you already try Zadig and different USB drivers?

@shulhi @SebastianKumor Did you already try Zadig and different USB drivers?

I'm using Ubuntu.I'll give it another go because it might be permission issue, the goggle was detected.

@florian-senn seems like this zadig is only for windows? Not sure how that will help me. Also the older version of this app worked for me so I assume someone changed something while updating the UI

@shulhi @SebastianKumor yeah, guess it's only for Windows, so it's not the right solution for your problem unfortunately...

@SebastianKumor @atiernan This could be due to the fact that https flag was removed from the devServer config, here:
d96c2c0#diff-1fb26bc12ac780c7ad7325730ed09fc4c2c3d757c276c3dacc44bfe20faf166fL18

I just added it and navigator.usb is no longer undefined, USB devices prompt appears again.

I can make the PR to add the flag again if you guys agree. I just did a PR.