You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
When attempting to contribute/reconcile under Mint 18.3 x64, I keep receiving the following error message every time I try to contribute/reconcile: (this doesn't happen on Win/macOS)
[ response for POST https://ledger-staging.mercury.basicattentiontoken.org/v2/batch/surveyor ]
>>> HTTP/1.1 404
>>> cache-control: no-cache
>>> connection: keep-alive
>>> content-length: 60
>>> content-type: application/json; charset=utf-8
>>> date: Fri, 01 Jun 2018 00:34:58 GMT
>>> server: Cowboy
>>> vary: accept-encoding
>>> via: 1.1 vegur
>>>
>>> {"statusCode":404,"error":"Not Found","message":"Not Found"}
ledger client callback: clientP=true errP=true resultP=false delayTime=undefined
ledger client error(1): {}
Error: HTTP response 404 for POST /v2/batch/surveyor
at request.request (/usr/lib/brave/resources/app.asar/app/browser/api/ledger.js:1617:9)
at Function.defaultSession.webRequest.fetch (/usr/lib/brave/resources/app.asar/js/lib/request.js:75:5)
Steps to Reproduce
launch brave 0.22.724 using LEDGER_VERBOSE=true LEDGER_ENVIRONMENT=staging brave
enable Payments via about:preferences#payments and accept a UGP grant
add several websites into the Payments table (I used the heart under the URL bar)
once you've populated the Payments table, close brave.
edit reconcileStamp under ledger-state.json so it's ~15 days back in the past
launch brave using LEDGER_NO_DELAY=true LEDGER_NO_FUZZING=true LEDGER_VERBOSE=true LEDGER_ENVIRONMENT=staging brave
You'll notice that the contribution process will start but after ~1min, you'll notice the above errors being spammed in the terminal.
Actual result:
When attempting to contribute/reconcile, brave is returning:
[ response for POST https://ledger-staging.mercury.basicattentiontoken.org/v2/batch/surveyor ]
>>> HTTP/1.1 404
>>> cache-control: no-cache
>>> connection: keep-alive
>>> content-length: 60
>>> content-type: application/json; charset=utf-8
>>> date: Fri, 01 Jun 2018 00:34:58 GMT
>>> server: Cowboy
>>> vary: accept-encoding
>>> via: 1.1 vegur
>>>
>>> {"statusCode":404,"error":"Not Found","message":"Not Found"}
ledger client callback: clientP=true errP=true resultP=false delayTime=undefined
ledger client error(1): {}
Error: HTTP response 404 for POST /v2/batch/surveyor
at request.request (/usr/lib/brave/resources/app.asar/app/browser/api/ledger.js:1617:9)
at Function.defaultSession.webRequest.fetch (/usr/lib/brave/resources/app.asar/js/lib/request.js:75:5)
Expected result:
Contribution/Reconcilement should work under Linux without any issues.
Reproduces how often:
100% reproducible using the above STR.
Brave Version
about:brave info:
Brave: 0.22.724
V8: 6.6.346.32
rev: 1f07e939c72de545bb7a402dad57ce0f576c2261
Muon: 6.0.12
OS Release: 4.13.0-43-generic
Update Channel: Release
OS Architecture: x64
OS Platform: Linux
Node.js: 7.9.0
Brave Sync: v1.4.2
libchromiumcontent: 66.0.3359.170
Reproducible on current live release:
Haven't tried on it on the release version of Brave but I'm assuming this is due to changes that are being added for the 0.22.x Release 5 release.
@kjozwiak this probably happens because we have bat-client version ready for this new endpoint. This new version is not pulled into bl yet, but apparently it was pulled when doing linux build
@NejcZdovc gotcha, makes sense 👍 Can we get this fixed by tomorrow morning? This basically blocks Linux QAing as you can't contribute/reconcile, which means we can't verify a lot of the fixed issues that require a successful contribution/reconcilement.
Description
When attempting to contribute/reconcile under Mint 18.3 x64, I keep receiving the following error message every time I try to contribute/reconcile: (this doesn't happen on Win/macOS)
Steps to Reproduce
0.22.724
usingLEDGER_VERBOSE=true LEDGER_ENVIRONMENT=staging brave
about:preferences#payments
and accept a UGP grantreconcileStamp
underledger-state.json
so it's ~15 days back in the pastLEDGER_NO_DELAY=true LEDGER_NO_FUZZING=true LEDGER_VERBOSE=true LEDGER_ENVIRONMENT=staging brave
You'll notice that the contribution process will start but after ~1min, you'll notice the above errors being spammed in the terminal.
Actual result:
When attempting to contribute/reconcile, brave is returning:
Expected result:
Contribution/Reconcilement should work under Linux without any issues.
Reproduces how often:
100% reproducible using the above STR.
Brave Version
about:brave info:
Reproducible on current live release:
Haven't tried on it on the release version of Brave but I'm assuming this is due to changes that are being added for the
0.22.x Release 5
release.Additional Information
@evq mentioned that the URL should be
POST https://ledger-staging.mercury.basicattentiontoken.org/v2/batch/surveyor/voting
and NOT:
POST https://ledger-staging.mercury.basicattentiontoken.org/v2/batch/surveyor
CCing @NejcZdovc & @evq
The text was updated successfully, but these errors were encountered: