Open TheRockaXXX opened 2 years ago
Electrum and Sparrow do not use the bridge.
Is the bridge running? You can check by visiting http://localhost:8178/.
What is the contents of your /etc/hosts file?
Does Firefox work?
/etc/hosts:
`##
#
127.0.0.1 localhost 255.255.255.255 broadcasthost ::1 localhost ` I don´t use Firefox, but will try it later.
http://localhost:8178/ shows:
`BitBoxBridge v1.5.0 GET /api/info GET /api/v1/devices GET/WS /api/v1/socket/:socket
api version = 1.5.0`
Safari blocks fetching dada from http://localhost:8178/api/v1/devices.
@thisconnect would 127.0.0.1 work instead?
@benma unfortunately not
fetch('http://127.0.0.1:8178/api/v1/devices').then(body => body.json()).then(console.log).catch(console.error)
@benma @thisconnect I think this is due to Safari breaking the spec, not allowing localhost content over http for a https website. https://bugs.webkit.org/show_bug.cgi?id=171934
Interesting! Seems like the issue won't be resolved anytime soon either :/
On Mac OS Big Sur i can´t use adalite.to with Safari. The site can't find the device. http://127.0.0.1:8178/ shows, that bitbox bridge is running. Electrum and Sparrow can use the bridge without any problems. Chrome works perfectly, but i think, it doesn't use the bridge directly. So, is there a common issue with Safari and BitBox Bridge?