trezor-suite icon indicating copy to clipboard operation
trezor-suite copied to clipboard

Connect popup loading indefinitely

Open bradwood opened this issue 3 years ago • 33 comments

Hi,

https://connect.trezor.io/8/popup.html#loading loading indefinetely -- this is after my trezor connects fine via trezord to wallet.trezor.io...

I'm on Manjaro (arch linux) and Brave, if that helps.

Trying to connect to adalite.io, but no ADA-based wallet seems to work with Trezor right now.

thanks in advance for any help

bradwood avatar Mar 07 '21 21:03 bradwood

Brave is doing some aggressive popup blocking. Use Chrome. Brave is not supported.

prusnak avatar Mar 07 '21 21:03 prusnak

Same problem on Chrome -- please don't just close before knowing the cause of the problem.

bradwood avatar Mar 07 '21 21:03 bradwood

Try incognito mode in Chrome - does it work? If yes, you have some kind of extension which is blocking the popups - disable it.

prusnak avatar Mar 07 '21 21:03 prusnak

image No joy :(

bradwood avatar Mar 07 '21 22:03 bradwood

Does this help:

 P ~ ❯ journalctl -u trezord.service
-- Journal begins at Sat 2020-10-10 10:53:57 BST, ends at Sun 2021-03-07 22:13:09 GMT. --
Feb 15 14:58:28 daveman systemd[1]: Started Trezor Bridge.
Feb 15 14:58:28 daveman trezord[32405]: 2021/02/15 14:58:28 trezord v2.0.30 is starting.
Feb 15 15:06:11 daveman systemd[1]: Stopping Trezor Bridge...
Feb 15 15:06:11 daveman systemd[1]: trezord.service: Succeeded.
Feb 15 15:06:11 daveman systemd[1]: Stopped Trezor Bridge.
Feb 15 15:06:11 daveman systemd[1]: Started Trezor Bridge.
Feb 15 15:06:11 daveman trezord[34947]: 2021/02/15 15:06:11 trezord v2.0.30 is starting.
Feb 15 16:38:23 daveman trezord[34947]: POST /
Feb 15 16:38:23 daveman trezord[34947]: 127.0.0.1 - - [15/Feb/2021:16:38:23 +0000] "POST / HTTP/1.1" 200 21
Feb 15 16:38:23 daveman trezord[34947]: POST /enumerate
Feb 15 16:38:23 daveman trezord[34947]: 127.0.0.1 - - [15/Feb/2021:16:38:23 +0000] "POST /enumerate HTTP/1.1" 200 94
Feb 15 16:38:23 daveman trezord[34947]: POST /listen
Feb 15 16:38:24 daveman trezord[34947]: POST /acquire/1/null
Feb 15 16:38:24 daveman trezord[34947]: 127.0.0.1 - - [15/Feb/2021:16:38:24 +0000] "POST /acquire/1/null HTTP/1.1" 200 16
Feb 15 16:38:24 daveman trezord[34947]: POST /call/1
Feb 15 16:38:24 daveman trezord[34947]: 127.0.0.1 - - [15/Feb/2021:16:38:23 +0000] "POST /listen HTTP/1.1" 200 93
Feb 15 16:38:24 daveman trezord[34947]: POST /listen
Feb 15 16:38:24 daveman trezord[34947]: 127.0.0.1 - - [15/Feb/2021:16:38:24 +0000] "POST /call/1 HTTP/1.1" 200 360
Feb 15 16:38:24 daveman trezord[34947]: POST /release/1
Feb 15 16:38:24 daveman trezord[34947]: 127.0.0.1 - - [15/Feb/2021:16:38:24 +0000] "POST /release/1 HTTP/1.1" 200 16
Feb 15 16:38:25 daveman trezord[34947]: 127.0.0.1 - - [15/Feb/2021:16:38:24 +0000] "POST /listen HTTP/1.1" 200 94
Feb 15 16:38:25 daveman trezord[34947]: POST /listen
Feb 15 16:38:25 daveman trezord[34947]: POST /acquire/1/null
Feb 15 16:38:25 daveman trezord[34947]: 127.0.0.1 - - [15/Feb/2021:16:38:25 +0000] "POST /acquire/1/null HTTP/1.1" 200 16
Feb 15 16:38:25 daveman trezord[34947]: POST /call/2
Feb 15 16:38:25 daveman trezord[34947]: 127.0.0.1 - - [15/Feb/2021:16:38:25 +0000] "POST /call/2 HTTP/1.1" 200 430
Feb 15 16:38:25 daveman trezord[34947]: 127.0.0.1 - - [15/Feb/2021:16:38:25 +0000] "POST /listen HTTP/1.1" 200 93
Feb 15 16:38:25 daveman trezord[34947]: POST /listen
Feb 15 16:38:42 daveman trezord[34947]: POST /call/2
Feb 15 16:38:43 daveman trezord[34947]: 127.0.0.1 - - [15/Feb/2021:16:38:42 +0000] "POST /call/2 HTTP/1.1" 200 84
Feb 15 16:38:43 daveman trezord[34947]: POST /call/2

bradwood avatar Mar 07 '21 22:03 bradwood

And there is this, in the browser: image

bradwood avatar Mar 07 '21 22:03 bradwood

And then, finally, the connect timed out, and I got this on the adalite.io site:

image

bradwood avatar Mar 07 '21 22:03 bradwood

Sorry to keep dumping info, but wanted to make sure I provide as much diagnostic info as possible:

Udev rules

seem okay

/usr/lib/udev/rules.d🔒 ❯ cat /usr/lib/udev/rules.d/50-trezor.rules
# Trezor: The Original Hardware Wallet
# https://trezor.io/
# Put this file into /usr/lib/udev/rules.d

# note - hidraw* lines are not necessary for trezord-go, as we don't use hidraw
# however, it is still necessary for Chrome support of u2f

# Trezor
SUBSYSTEM=="usb", ATTR{idVendor}=="534c", ATTR{idProduct}=="0001", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="trezor%n"
KERNEL=="hidraw*", ATTRS{idVendor}=="534c", ATTRS{idProduct}=="0001",  MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl"

# Trezor v2
SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="53c0", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="trezor%n"
SUBSYSTEM=="usb", ATTR{idVendor}=="1209", ATTR{idProduct}=="53c1", MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl", SYMLINK+="trezor%n"
KERNEL=="hidraw*", ATTRS{idVendor}=="1209", ATTRS{idProduct}=="53c1",  MODE="0660", GROUP="plugdev", TAG+="uaccess", TAG+="udev-acl"

Device

/usr/lib/udev/rules.d🔒 ❯ lsusb | grep -i trez
Bus 001 Device 014: ID 1209:53c1 Generic SatoshiLabs TREZOR

Firmware version

2.3.6

bradwood avatar Mar 07 '21 22:03 bradwood

Everything looks fine except for the LIBUSB_ERROR_ACCESS. Try disconnecting and connecting the device to reload the udev rule. If that does not help, try restarting the computer.

prusnak avatar Mar 07 '21 22:03 prusnak

Reconnected the device and rebooted -- still the exact same thing.

trezor wallet and trezor suite (web version) both work fine in brave.

trezor wallet, suite and adalite.io all don't work in chrome with the exact same problem. same, obviously, for adalite in brave.

Is there any way I can get my ADA out of the wallet?! -- even a cli tool or something -- I can't be locked out of these funds indefinitely - I have quite a bit of ADA on this wallet, which it looks like I'm going to have to move to an online wallet. is there any way I can do that?

bradwood avatar Mar 07 '21 23:03 bradwood

You can still try using different computer to get to your coins.

prusnak avatar Mar 08 '21 08:03 prusnak

just tried it on chrome on macOS -- http://127.0.0.1:21345/status/ gives me version 2.0.27 of the bridge, but I still get the same hanging issue on adalite.io :(

Any other options? This is become a problem now

bradwood avatar Mar 09 '21 01:03 bradwood

just tried it on chrome on macOS -- http://127.0.0.1:21345/status/ gives me version 2.0.27 of the bridge, but I still get the same hanging issue on adalite.io :(

This setup runs just fine on my computer. Do you have any Chrome extensions installed that might interfere?

prusnak avatar Mar 09 '21 09:03 prusnak

I've just encountered a similar issue with my device where my USB-C cable was faulty. Have you tried a different cable?

keraf avatar Mar 09 '21 14:03 keraf

you can enable debugging level using following steps:

  • goto adalite.io
  • when the page is fully loaded open the console and paste: window.__TREZOR_CONNECT_SRC='https://connect.trezor.io/8/';
  • sign in with trezor

this should print out a lot of messages in adalite console like this: Screenshot from 2021-03-09 16-31-05

szymonlesisz avatar Mar 09 '21 15:03 szymonlesisz

Reason is crypto wallets page throws:

{
    "message": "Transport is missing"
}

in "Crypto Wallets" page when anything OTHER than "disabled" from the "Trackers & ads blocking" is set

For the case on native "Crypto Wallets" connecting to connect.trezor.io

Basically, in Brave, All others work except brave fork "Crypto Wallets" and MetaMask when Shields ads blocking is enabled at all. I tried various amount of whitelisting to no avail.

xenithorb avatar Mar 15 '21 13:03 xenithorb

Temporary workaround: uBlock instead of "shields" on Brave, and metamask and/or the brave MM fork work fine

xenithorb avatar Mar 15 '21 15:03 xenithorb

Interesting @xenithorb -- I tried turning shields off completely on connect.trezor.io - no joy.

Not following you re metamask and the brave mm fork? can you provide a bit more detail please?

thanks

Brad

bradwood avatar Mar 15 '21 19:03 bradwood

same problem, and found this error in background console: image looks like Chrome update cross-origin iframe policy in Chrome 91.0.4472.77

galenyuan avatar Jun 09 '21 02:06 galenyuan

I am also having problems with connect.trezor.io/8/popup.html#. It keeps spinning forever when I try to connect the trezor. It works fine with trezor suite, but won't let me connect to the apps that worked just fine yesterday. Any suggestions? Thanks

Defnewbe avatar Sep 01 '21 20:09 Defnewbe

same for me. before it happens, I added a test hidden account. not sure if it is relevant.

ConanChou avatar Nov 09 '21 22:11 ConanChou

I am also having problems with connect.trezor.io/8/popup.html#. It keeps spinning forever when I try to connect the trezor. It works fine with trezor suite.

ETA: WORKING NOW ! I was using Firefox when I experienced this issue. I switched to Chromium / incognito and got it working. Hope this helps anyone else that may be experiencing this issue.

Thank you.

dantzler avatar Jul 19 '22 20:07 dantzler

Same problem here in Windows 11, with Brave, Chrome and Firefox, no ad blockers and shields disabled.

antoniohs avatar Jul 20 '22 05:07 antoniohs

@antoniohs Couple of questions:

  • Which device do you have
  • Which site are you using?
  • What action are you performing on that site?
  • Which version of Trezor Bridge do you have (find it by visiting: http://127.0.0.1:21325/status/)
  • Are you using a passphrase protected wallet? If not, disable passphrase in Trezor Suite settings and try again.

sime avatar Jul 20 '22 09:07 sime

@antoniohs Couple of questions:

  • Which device do you have

Trezor T

  • Which site are you using?

Eternl.io

  • What action are you performing on that site?

Adding a wallet by pairing the hardware wallet

  • Which version of Trezor Bridge do you have (find it by visiting: http://127.0.0.1:21325/status/)

Version: 2.0.27

  • Are you using a passphrase protected wallet? If not, disable passphrase in Trezor Suite settings and try again.

No passphrase.

antoniohs avatar Jul 20 '22 11:07 antoniohs

Thanks for the getting back to me!

  • Which version of Trezor Bridge do you have (find it by visiting: http://127.0.0.1:21325/status/)

Version: 2.0.27

That is the version of Trezor Bridge when you install it standalone. If you run Trezor Suite, it has a newer version of Trezor Bridge bundled in. Please try that, you will see version 2.0.31.

  • Are you using a passphrase protected wallet? If not, disable passphrase in Trezor Suite settings and try again.

No passphrase.

Please disable passphrase in Trezor Suite, that way we can eliminate that is causing the spinner.

Screenshot 2022-07-20 at 13 57 08

Are you clicking something in Trezor Connect before the endless spinner starts, or is it spinner on launch?

sime avatar Jul 20 '22 11:07 sime

Running the trezor suite while I try to connect in Eternl.io has the same result.

Is spinner on launch, and as I said, I do not have a passphrase.

antoniohs avatar Jul 20 '22 12:07 antoniohs

@antoniohs Can you see if you have Total Cookie Protection on in Firefox for Eternl.io

Related to https://github.com/trezor/trezor-suite/issues/5644

sime avatar Jul 20 '22 12:07 sime

Just standard, nothing special. Firefox is almost in mint condition, xbrowsersync and bitwarden extensions, nothing else.

antoniohs avatar Jul 20 '22 13:07 antoniohs

@antoniohs Turning off 'Enhanced Tracking Protection' for Eternl.io makes no difference?

sime avatar Jul 22 '22 11:07 sime