Rabby icon indicating copy to clipboard operation
Rabby copied to clipboard

BUG cant connect bitbox02

Open vogues opened this issue 2 years ago • 10 comments

please check connection w your wallet error when trying to link my bitbox hardware wallet.

on brave, newest bitbox02 firmware. this was not an issue in the past.

there is a connection to the hardware wallet and bitbox app on the computer. the display is on and signed in. everything works from a hardware connection perspective. the only time i run into an issue is linking a new address via rabby.

it is also possible to connect bitbox via MEW, so it appears it is not a hardware issue.

vogues avatar Jul 25 '22 02:07 vogues

@benma Could you help on this issue?

vvvvvv1vvvvvv avatar Jul 26 '22 02:07 vvvvvv1vvvvvv

Does it work on Chrome?

Is your BitBoxBridge service running? Check the output of http://127.0.0.1:8178/.

Try disabling the Brave shield, which blocks connections to the BitBoxBridge.

benma avatar Jul 27 '22 08:07 benma

Does it work on Chrome?

Is your BitBoxBridge service running? Check the output of http://127.0.0.1:8178/.

Try disabling the Brave shield, which blocks connections to the BitBoxBridge.

chrome doesnt work

the bridge app is running and connected.

shield is disabled, antivirus is disabled. unable to connect to that link.

i am able to connect to bitbox over MEW. this issue is isolated to rabby.

vogues avatar Jul 27 '22 12:07 vogues

chrome doesnt work after more testing.

vogues avatar Jul 30 '22 09:07 vogues

Tested on Chrome and Brave, it works for me. @vogues please try closing the BitBoxApp first and then try Rabby.

jadzeidan avatar Aug 01 '22 13:08 jadzeidan

ng the BitBoxApp first and then try Rabby.

what firmware are you on? this has been an issue since updating bitbox. i still cant connect even after doing what you said and reinstalling.

what avenues can i take?

vogues avatar Aug 01 '22 15:08 vogues

I'm running the latest firmware, 9.12.0 and the latest Rabby release, 0.41.1

Do you have another computer you can try on?

Maybe try reinstalling the Bridge as well?

jadzeidan avatar Aug 01 '22 16:08 jadzeidan

@vogues please try the suggestions of @jadzeidan.

You could also try setting it up on a new Chrome/Brave user profile, to see if the Brave data folder/cache might be corrupt. If it works with a clean slate, it indicates a bug in Rabby.

It would also be interesting to see if the console shows anything useful. In the extensions manager, you can inspect the views (background.html and maybe one more) and see the console output. Maybe it outputs something useful when attempting to connect.

benma avatar Aug 02 '22 07:08 benma

@vogues please try the suggestions of @jadzeidan.

You could also try setting it up on a new Chrome/Brave user profile, to see if the Brave data folder/cache might be corrupt. If it works with a clean slate, it indicates a bug in Rabby.

It would also be interesting to see if the console shows anything useful. In the extensions manager, you can inspect the views (background.html and maybe one more) and see the console output. Maybe it outputs something useful when attempting to connect.

even with a new profile it is still being blocked.

may i have more specific instructions to inspect the views please

vogues avatar Aug 02 '22 16:08 vogues

is it possible my bitbox is outputting to a different port?

vogues avatar Aug 04 '22 19:08 vogues

@vogues make sure there are no other apps using the device in the same time (that includes the official BitBox app).

The instructions should guide the user to do that btw.

stas avatar Oct 09 '22 18:10 stas

@vogues make sure there are no other apps using the device in the same time (that includes the official BitBox app).

The instructions should guide the user to do that btw.

this is in fact the case. the error is still "please check connection to wallet" this is the only app that doesn't work.

vogues avatar Oct 11 '22 09:10 vogues

. the error is still "please check connection

I have gone and replaced my original bitbox02- I am still unable to connect to rabby

vogues avatar Nov 25 '22 18:11 vogues

@stas @jadzeidan @benma

Rabby will not connect to bitbox on either chrome or brave browser with a brand new hardware device with everything updated. I've tried with and without the bridge on. I've also tried it with the bitbox hardware locked and unlocked.

This can't just be isolated to me can it?

vogues avatar Dec 15 '22 17:12 vogues

@vogues do you have a different computer you can try on? Perhaps it's something specific to your PC.

jadzeidan avatar Dec 15 '22 19:12 jadzeidan

@jadzeidan

it will not work on the new computer either

vogues avatar Dec 15 '22 20:12 vogues

@vogues I'm not sure I understood your response here: https://github.com/RabbyHub/Rabby/issues/895#issuecomment-1274431682

The idea is that the bridge seems to handle just one client at a time (be that Rabby, or the BitBox app). Could you confirm that there are no other wallets/apps using the device? One you unlocked the device, just close the BitBox app.

stas avatar Dec 16 '22 01:12 stas

@stas

I can confirm nothing was using rabby (I closed the bridge) on both computers, and that the hardware was unlocked.

vogues avatar Dec 17 '22 05:12 vogues

The second computer I did a fresh install, so it was clear of any third-party software potentially using the device

vogues avatar Dec 17 '22 05:12 vogues

@vogues what operating system are you using for both computers you tried on?

jadzeidan avatar Dec 17 '22 13:12 jadzeidan

@jadzeidan

One windows 10, the other 11.

vogues avatar Dec 17 '22 15:12 vogues

@vogues Can you please verify that the BitBoxBridge is running in "Services". You can do this by

  1. Search "services" in search bar and open the "Services" app:

image

image

  1. In the "Services" window, check that the "BitBoxBridge" status is "Running":

image

jadzeidan avatar Dec 17 '22 16:12 jadzeidan

@jadzeidan I thought you didn't want it running. It shuts down when the bridge is closed.

At any rate, I have tried it with that service running and not running.

vogues avatar Dec 17 '22 16:12 vogues

@vogues

I think you might be confusing the BitBoxBridge with the BitBoxApp?

The BitBoxBridge needs to be running to use Rabby. It is a background application so the BitBox02 can connect to web wallets.

The BitBoxApp should not be running.

Please confirm you have installed the BitBoxBridge and it is running in the Services application like in the screenshot above.

jadzeidan avatar Dec 17 '22 16:12 jadzeidan

@jadzeidan

Oh interesting. Looks like there is an overlap in the names of services which is why I thought the bridge was running. At any rate you have solved the issue- I downloaded the bridge separately and it worked.

Thank you!

vogues avatar Dec 17 '22 16:12 vogues

Lol, @jadzeidan btw, is there a reason why the bridge and the app are not bundled?

Tbh, I'm on the side of @vogues here, this is confusing for regular end-user :see_no_evil:

stas avatar Dec 17 '22 17:12 stas

This is definitely an issue, I have it too and I couldn't solve it and I downloaded and installed the bridge separately.

Others have it too, see https://github.com/digitalbitbox/bitbox-bridge/issues/43 for example. And it's most propably not a problem of the bridge because I can connect to the other supported wallets of bitbox just fine.

I also tried it with an old version of chrome, chomium, brave and edge and I tried various versions of Rabby between 44 and the current release all without luck.

I'd hunt this down and submit a PR but sadly, I found out that Rabby is not quite open-source, there is private packages missing to run it in dev mode, see https://github.com/RabbyHub/Rabby/issues/1317 https://github.com/RabbyHub/Rabby/issues/1163

If anybody could unlock me in some ways that be great.

pozylon avatar May 06 '23 05:05 pozylon