Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ads service shows "Failed to load" error on startup #8138

Closed
jonathanKingston opened this issue Feb 8, 2020 · 1 comment · Fixed by brave/brave-core#4560
Closed

Ads service shows "Failed to load" error on startup #8138

jonathanKingston opened this issue Feb 8, 2020 · 1 comment · Fixed by brave/brave-core#4560

Comments

@jonathanKingston
Copy link

I keep seeing these perpetual errors when stating up an existing Brave profile.

[8507:8549:0207/230115.308801:ERROR:ads_service_impl.cc(211)] Failed to read file: /home/jonathan/.config/BraveSoftware/Brave-Browser-Development/Default/ads_service/notifications.json
[8541:1:0207/230115.309032:ERROR:notifications.cc(301)] Failed to load notifications state, resetting to default values
[8507:8549:0207/230115.309281:ERROR:ads_service_impl.cc(211)] Failed to read file: /home/jonathan/.config/BraveSoftware/Brave-Browser-Development/Default/ads_service/ad_conversions.json
[8541:1:0207/230115.309433:ERROR:ad_conversion_tracking.cc(279)] Failed to load ad conversions state, resetting to default values

It appears that it should be saving the state when there isn't one.

@tmancey tmancey added bug feature/ads priority/P3 The next thing for us to work on. It'll ride the trains. labels Feb 9, 2020
@tmancey tmancey changed the title Ads service errors on startup Ads service shows "Failed to load" error on startup Feb 9, 2020
@tmancey tmancey added QA/Yes and removed bug labels Feb 9, 2020
jonathanKingston added a commit to jonathanKingston/brave-core that referenced this issue Feb 9, 2020
@tmancey tmancey added this to the 1.6.x - Nightly milestone Feb 14, 2020
@bbondy bbondy modified the milestones: 1.6.x - Beta, 1.7.x - Dev Mar 10, 2020
@btlechowski
Copy link

btlechowski commented Mar 24, 2020

Verification passed on

Brave 1.7.70 Chromium: 80.0.3987.149 (Official Build) dev (64-bit)
Revision 5f4eb224680e5d7dca88504586e9fd951840cac6-refs/branch-heads/3987_137@{#16}
OS Ubuntu 18.04 LTS

Verified test plan from brave/brave-core#4560
On clean profile

[13963:13963:0324/034758.059885:ERROR:confirmations_impl.cc(777)] Failed to load confirmations state, resetting to default values
[13964:1:0324/034808.459457:ERROR:client.cc(682)] Failed to load client state, resetting to default values
[13964:1:0324/034808.466720:ERROR:ad_notifications.cc(324)] Failed to load notifications state, resetting to default values
[13964:1:0324/034808.480881:ERROR:ad_conversions.cc(281)] Failed to load ad conversions state, resetting to default values

Verified errors are not shown after restart

Verification passed on

Brave 1.7.71 Chromium: 80.0.3987.149 (Official Build) dev (64-bit)
Revision 5f4eb224680e5d7dca88504586e9fd951840cac6-refs/branch-heads/3987_137@{#16}
OS Windows 10 OS Version 1803 (Build 17134.1006)
[14852:17972:0324/153834.311:ERROR:client.cc(682)] Failed to load client state, resetting to default values
  • Verified that "Failed to load notifications state, resetting to default values" log is only shown in the console once after a fresh install, and not after subsequent launches of the application
[13640:17360:0324/160834.503:ERROR:ad_notifications.cc(324)] Failed to load notifications state, resetting to default values
  • Verified that "Failed to load ad conversions state, resetting to default values" log is only shown in the console once after a fresh install, and not after subsequent launches of the application
[10164:10232:0324/161847.626:ERROR:ad_conversions.cc(281)] Failed to load ad conversions state, resetting to default values
  • Verified that "Failed to load confirmations state, resetting to default values" log is only shown in the console once after a fresh install, and not after subsequent launches of the application
[1976:7240:0324/165752.193:ERROR:confirmations_impl.cc(777)] Failed to load confirmations state, resetting to default values

Verified passed with

Brave 1.7.78 Chromium: 80.0.3987.149 (Official Build) dev (64-bit)
Revision 5f4eb224680e5d7dca88504586e9fd951840cac6-refs/branch-heads/3987_137@{#16}
OS macOS Version 10.14.6 (Build 18G3020)
[9477:775:0330/092150.772852:ERROR:client.cc(682)] Failed to load client state, resetting to default values
  • Confirmed that Failed to load notifications state, resetting to default values log is only shown in the terminal once after a fresh install, and not after subsequent launches of the application.
[9477:775:0330/092150.784893:ERROR:ad_notifications.cc(324)] Failed to load notifications state, resetting to default values
  • Confirmed that Failed to load ad conversions state, resetting to default values log is only shown in the terminal once after a fresh install, and not after subsequent launches of the application.
[9477:775:0330/092150.795740:ERROR:ad_conversions.cc(281)] Failed to load ad conversions state, resetting to default values
  • Confirmed that Failed to load confirmations state, resetting to default values log is only shown in the terminal once after a fresh install, and not after subsequent launches of the application.
[9476:775:0330/092141.504873:ERROR:confirmations_impl.cc(777)] Failed to load confirmations state, resetting to default values

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

6 participants