Blockstream / green_qt

Blockstream Green App
GNU General Public License v3.0
188 stars 31 forks source link

Mac OS Crash Loop after Toggling Proxy Setting #79

Open amosgroth opened 1 year ago

amosgroth commented 1 year ago

Description

Downloaded Green for the very first time, installed and opened it. Before setting everything up, I wanted to make sure communication goes through Tor. Jumped to the settings menu, activated the toggle for "Proxy", the application immediately crashed and is not usable ever since. Every time I want to restart the app, the Mac OS error dialogue shows up instead, telling me to send the crash report. Makes no difference, if I click on "send" or not, the dialogue closes after the click but the application won't start so I am stuck in this loop and cannot use the application at all.

Version

1.1.6

Steps to reproduce

  1. Install Green
  2. Open Green
  3. Go to settings
  4. Toggle "Proxy" (Crash)
  5. Reopen Green

Expected behaviour

Actual behaviour

Screenshots

Capture d’écran 2023-02-01 à 07 21 23

Device or machine

Capture d’écran 2023-02-01 à 07 44 42

macOS Crash Report.log

amosgroth commented 1 year ago

So after waiting for more than one month for a reply here, I suppose Blockstream is not willing or unable to help. Not very professional, to say the least. I'll stick to my BitBox02 and Shiftcrypto. Their device and software runs without problems at all and their support is fast, friendly, reliable and they care about their software...

domegabri commented 1 year ago

Hello @amosgroth, your report has been noted and the issue has been fixed upstream in the library (see https://github.com/Blockstream/gdk/commit/c86946a8079067561b4027f93f6db3b3fe33a0fb).

We are in the middle of a larger refactor in the app, to fix a few issues including this one. We should release a new version in a week or so. Sorry for the inconvenience.

If you are still willing to give Green a try, this is how you unstuck the app from this state:

I hope this can help.

domegabri commented 1 year ago

Hello @amosgroth , this should be fixed in the latest release.

amosgroth commented 1 year ago

Hello @domegabri , It is still not usable for me. Now I can open green and set up Tor without a crash loop as before, but then I set up a local BTC Node as a server and after that the application is not responding anymore, showing the "loading ball" of Mac OS and not responding anymore. I can repeat that over and over again and I have to kill the app by force...

amosgroth commented 1 year ago

Update: Deleting all data & reinstalling doesn't help. Even with standard settings, the app freezes right after start while trying to connect to Blockstream servers...

domegabri commented 1 year ago

Is the node that you are connecting to running in LAN? Do you have other optiona enabled like spv?

amosgroth commented 1 year ago

Yes, it's in the LAN. In the UI I don't see clearly what is happening, if I am connected or not, what the problem is etc. No other option changed, no SPV.

But in the meantime I tested the Linux and the Android App. They don't crash but they don't recognize the device, neither via USB nor BT. I am giving up...

domegabri commented 1 year ago

If you are exposing your server through an hidden service it makes sense to use Tor. But if you are trying to connect in LAN I don't see why you should use Tor. If this is the case I can see why connection is not working. Also keep in mind that the app can connect to an electrum server, not a btc node directly.

amosgroth commented 1 year ago

I repeat:

As said earlier, Linux and Android app don't work neither, though with a different problem (not being able to find and connect to the device).

borgbyte commented 1 year ago

@amosgroth can you check 1.2.0 and let us know how it goes.

amosgroth commented 1 year ago

@amosgroth can you check 1.2.0 and let us know how it goes.

Manjaro Linux: AppImage doesn't open, the application doesn't even start. Nothing happens. Trying to run it from terminal gives me this, nothing more: Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

borgbyte commented 1 year ago

@amosgroth try https://github.com/Blockstream/green_qt/issues/82#issuecomment-1555306466

amosgroth commented 1 year ago

@amosgroth try #82 (comment)

OK, that fix works.

amosgroth commented 1 year ago

@amosgroth try #82 (comment)

OK, that fix works.

* Still I have to restart the app after changing the server to my personal one. The app doesn't tell me so I have to guess.

* Also to me it's still not clear wether I am connected or not. No tooltip on the "connection" icon, no message from the application. I suppose I am connected when the wheel stops spinning. After a few minutes it seems to lose connection (icon disappears?). Tested aside with Sparrow where I get feedback and stay connected.

* Next problem: No connection of the device possible, neither with USB nor with BLE. Terminal (lsusb) tells me: `Bus 003 Device 005: ID 1a86:55d4 QinHeng Electronics USB Single Serial` so it is properly connected. The application doesn't show or tell me anything about it.

Helped myself with https://help.blockstream.com/hc/en-us/articles/900005443223-Why-is-Blockstream-Jade-not-recognized-by-my-computer-

Meaning I could upgrade the firmware but still the application doesn't connect and I cannot see the balance or anything, it stays like this:

Capture d’écran du 2023-06-02 06-57-36

Via BLE I could connect with system tools but the application doesn't recognize the device:

Capture d’écran du 2023-06-02 07-02-17

amosgroth commented 1 year ago

@borgbyte

Heading back to Mac OS the application is still unusable. Deleted all old files and application. Installed recent green version. No difference: the application slows down the whole system, showing the spinning wheel ball and needs to be force-quitted. Also my firewall noticed initial communication attempts of green to google servers, which I don't like at all and blocked it...

borgbyte commented 1 year ago

@amosgroth

the application slows down the whole system, showing the spinning wheel ball and needs to be force-quitted.

please try version 1.2.3.

Via BLE I could connect with system tools but the application doesn't recognize the device:

the app does not support BLE yet.

my firewall noticed initial communication attempts of green to google servers,

some stuff is hosted on google buckets, like software update info and blog content.

amosgroth commented 1 year ago

@amosgroth

the application slows down the whole system, showing the spinning wheel ball and needs to be force-quitted.

please try version 1.2.3.

The application in Linux recognizes and shows the device and I could change the firmware. But the device stays "locked" and there is no prompt (neither on the device nor in the application) to actually unlock it with the given password. So nothing has changed with this version....

Via BLE I could connect with system tools but the application doesn't recognize the device:

the app does not support BLE yet.

my firewall noticed initial communication attempts of green to google servers,

some stuff is hosted on google buckets, like software update info and blog content.

As I said, I could imagine that I am not the only one that doesn't like it (the google servers connection).