extension icon indicating copy to clipboard operation
extension copied to clipboard

Prevent Gaia outages from breaking app authentication

Open 314159265359879 opened this issue 2 years ago • 11 comments

I am getting multiple reports that users are having trouble connecting to dapps with their wallet. After selecting the account to connect with. It loads forever and never logs in on the dapp.

When doing the same on a ledger enabled wallet extension their is no issue.

On Firefox I see this: https://user-images.githubusercontent.com/33360391/232696153-7c3b8bda-49af-45ad-a64c-50ff56cd37c2.mp4

Chrome shows this in console: image

314159265359879 avatar Apr 18 '23 06:04 314159265359879

It looks like this is the underlying issue, already resolved: image

314159265359879 avatar Apr 18 '23 07:04 314159265359879

@kyranjamie should we reduce or remove our Gaia dependency further here so future outages aren't breaking?

markmhendrickson avatar Apr 18 '23 08:04 markmhendrickson

@markmhx Gaia dependency is part of auth protocol. You want to change the protocol?

friedger avatar Apr 18 '23 10:04 friedger

Can you elaborate on that @friedger? Where does it say this?

kyranjamie avatar Apr 18 '23 10:04 kyranjamie

@kyranjamie We store app meta data in the profile and we use the gaia protocol for storage. See also (https://github.com/stacksgov/sips/blob/58aae536637ad9236365d0873f07d8d831b4add1/sips/sip-x/sip-x-authentication-protocol.md#public-profile)

To remove dependency we either A) need to remove the app meta data and public profiles (like for ledger users) or B) find a different storage solution.

For A), the auth response could remove the app private key and all the apps needs to handle the reduced auth response. For a different storage solution B), we need to add support for users to update their zonefile.

friedger avatar Apr 18 '23 11:04 friedger

Update from diwaker diwaker — Today 10 minutes ago Hey all, appreciate the pings -- I'm in EST so appreciate your patience while our team comes online. We're looking into the Gaia hub issue, I don't see anything obviously wrong on our end -- it's likely something with Azure. Please bear with us, we'll update as soon as we have something to share.

314159265359879 avatar Apr 18 '23 11:04 314159265359879

https://status.hiro.so/ to keep an eye on the current status

314159265359879 avatar Apr 18 '23 12:04 314159265359879

https://status.hiro.so/ to keep an eye on the current status

Resolved as of an hour ago.

diwakergupta avatar Apr 18 '23 14:04 diwakergupta

To remove dependency we either A) need to remove the app meta data and public profiles (like for ledger users) or B) find a different storage solution.

@friedger my sense here is that it'd be most expedient to implement option A only for when the wallet detects that Gaia is down, defaulting to a degraded yet unblocked experience a la the one Ledger users have?

markmhendrickson avatar Apr 26 '23 09:04 markmhendrickson

I agree in the hope that some resources re available to make gaia usable and configurable so that Hiro carries all the load. See forum post about gaia at home.

friedger avatar Apr 26 '23 10:04 friedger

Apparently this error can also be caused by an ad blocker sometimes. Having a solution so that the user can proceed, in degraded state, rather than being blocked completely seems like a good idea. hz.btc agrees ;-)

image

314159265359879 avatar Aug 24 '23 20:08 314159265359879

Is gaia always out these days? Seeing this a lot and it prevents the user from connecting to dapps

Image

314159265359879 avatar Nov 27 '24 13:11 314159265359879

This comment related (the rest of the issue seems different, although I am not entirely sure): https://github.com/leather-io/extension/issues/5919#issuecomment-2497548908

314159265359879 avatar Nov 27 '24 13:11 314159265359879