GoodDollar / GoodDAPP

GoodDollar.org Wallet is the simplest access point to Claim your daily G$. It Is based on web3 and React native web.
good-dapp.vercel.app
MIT License
108 stars 55 forks source link

Bug: Balance does not load for some users #4010

Closed L03TJ3 closed 1 year ago

L03TJ3 commented 1 year ago

Description

Some (increasing) users are reporting that balances are not loaded and show 0, even if the block-explorer shows there is balance. They are also not able to claim, even if there is enough native funds.

Steps to reproduce

  1. Unable to reproduce

Which network did you use?

Mainly reported on Fuse, but (see screen) can also affect both

Supporting data

image

sirpy commented 1 year ago

@L03TJ3

  1. server would rarely be related to wallet issues and more specifically blockchain data issues.
  2. is the css issue causing that or that is a separate issue? if so it doesnt make sense to mention it here, and should have a separate issue. if css issue is specific to a region that could be a problem with cloudflare or vercel caching services.
  3. it seems to me like rpcs issue, any way we can get the users console logs? might be worth checking also sentry for any relevant issue
sirpy commented 1 year ago

@L03TJ3 this seems like a possible cause: https://gooddollar.sentry.io/issues/4114004724/?project=1829798&referrer=issue-stream&statsPeriod=14d&stream_index=9

This happens only on android and it looks like it is using pokt network for celo i've checked on vercel where the CELO rpc var isnt defined for production while it is defined for mobile .env.prod so my guess is that it is related for using pokt for CELO

L03TJ3 commented 1 year ago
  1. moved to separate issue as it does not relate: https://github.com/GoodDollar/GoodDAPP/issues/4011
L03TJ3 commented 1 year ago
  1. ok
  2. Did not know about sentry so that is useful for next time

The only way to get user logs is to add those logs. getting logs directly from users on mobile (by support) is a bit complicated

L03TJ3 commented 1 year ago

https://gooddollar.sentry.io/issues/4226991120/?project=1829798&query=is%3Aunresolved&referrer=issue-stream&stream_index=0

confirmed that it also affects fuse pokt rpc @sirpy

L03TJ3 commented 1 year ago

Fixed by also removing pokt-fuse after @sirpy removed pokt-celo: https://github.com/GoodDollar/GoodDAPP/commit/fd769636d253976e6dcd8229c414274643e5e7d8

Ticket is created to their support desk

johnsmith-gooddollar commented 1 year ago

@vldkhh We need the final confirmation it's working

vldkhh commented 1 year ago

@johnsmith-gooddollar it works for me, balance loads all the time