Closed GeetaSarvadnya closed 1 year ago
How to test this:
(Side note: Geeta says that even though the A-C is failing, for some reason, the A-C amount is showing up in the UI...)
@zenparsing @GeetaSarvadnya
tried several times using 1.51.105
and AC and monthly tips went through successfully on my Google Pixel 3XL. will sync with @GeetaSarvadnya to see if we can determine where our steps differ.
I have some example logs I can share if needed.
@LaurenWags @GeetaSarvadnya lets try to narrow this one down. If it's a real issue, we'll want to get this fixed in 1.51.x
. Sounds like it's not occurring in 1.50.x
as per the notes in the original issue so we'll be regressing users.
@LaurenWags Thanks for checking!
I have tried AC and monthly contribution together on 1.51.105
, only AC is going through. Also I have tried Monthly contribution alone (AC is turned OFF) monthly tips are NOT processing alone also. It looks strange I am not sure why monthly tips are NOT working for me.
The issue is Reproducible on both Desktop
and Android
. Steps which I followed on Desktop and Android are listed below.
Desktop
1.51.105
brave.exe --enable-logging=stderr --vmodule="*/bat-native-ledger/*"=9,"*/brave_rewards/*"=9,"*/bat-native-ads/*"=9,"*/bat-native-confirmations/*"=9,"*/brave_ads/*"=9,"*/brave_user_model/*"=9 --rewards=staging=true,rewards=debug=true
Next Contribution date
is disaplyed as 27th May
in AC and monthly tips panel27th May
Android
1.51.105
QA preferences
1.25 BAT
Next contribution date
is dispalyed as 27 May
in AC and Monthly tips panel27 May
However, monthly tips are processed on both Desktop and Android if we use the cmd line flag brave.exe --enable-logging=stderr --vmodule="*/bat-native-ledger/*"=9,"*/brave_rewards/*"=9,"*/bat-native-ads/*"=9,"*/bat-native-confirmations/*"=9,"*/brave_ads/*"=9,"*/brave_user_model/*"=9 --rewards=staging=true,rewards=debug=true,reconcile-interval=5
Reproduced on both desktop and android using @GeetaSarvadnya steps above and 1.51.106
.
Not sure if it's helpful, but when I was trying to reproduce the monthly tips issue without any sites in my AC list (empty list, not AC disabled), I saw this in my logs (I took out superfluous info re: prefix list download, etc)
[27106:259:0527/093538.496519:VERBOSE1:contribution.cc(275)] Auto-contribute timer set for 2.592e+06 s
[27106:259:0527/093538.497075:VERBOSE1:contribution.cc(241)] Starting auto-contribute
[27106:259:0527/093538.498514:VERBOSE1:contribution_ac.cc(31)] Starting auto contribution
[27106:259:0527/093538.499832:VERBOSE1:contribution.cc(308)] Monthly contribution timer set for -3e-06 s
[27106:259:0527/093538.500754:VERBOSE1:publisher.cc(447)] Publisher list is empty
[27106:259:0527/093538.500868:VERBOSE1:contribution_ac.cc(51)] AC list is empty
[27106:259:0527/093538.502397:VERBOSE1:contribution.cc(216)] Starting monthly contributions
[27106:259:0527/093539.069106:VERBOSE1:contribution.cc(135)] Queue timer set for 2 s
[27106:259:0527/093539.298212:VERBOSE1:contribution.cc(308)] Monthly contribution timer set for 2.592e+06 s
Note, when I was initially trying via https://github.com/brave/brave-browser/issues/29859#issuecomment-1523988179, I had been using a similar command line to the one mentioned by @GeetaSarvadnya but the one I was using had reconcile-interval=10
as part of the --rewards=
section. Seems like when we use command line to set this value then everything processes as expected, but without reconcile-interval=somevalue
, then monthly tips do not process.
The above requires 1.51.109
or higher for 1.51.x
verification 👍
Verification PASSED on
Brave | 1.51.109 Chromium: 113.0.5672.63 (Official Build) (64-bit)
-- | --
Revision | 0e1a4471d5ae5bf128b1bd8f4d627c8cbd55f70c-refs/branch-heads/5672@{#912}
OS | Windows 10 Version 21H2 (Build 19044.2846)
Verification PASSED on Vivo X70 Pro version 12
running Bravemonoarm64.apk_1.51.109
Description
Found while testing https://github.com/brave/brave-browser/issues/28173 Monthly contributions are not going through in 1.51
Steps to reproduce
1.51.x
enabled Rewards and connect to an an external walletActual result
The monthly contributions are not going through
Expected result
The monthly contributions should go through
Issue reproduces how often
Easy
Version/Channel Information:
Device details
Brave version
1.51.80
Website problems only
Additional information
CC: @brave/qa-team @Miyayes @zenparsing
slack thread about the issue discussion https://bravesoftware.slack.com/archives/CNH9Q6REV/p1681746838676479