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 do not work on clean install till browser restart #42466

Open
btlechowski opened this issue Nov 22, 2024 · 0 comments
Open

Ads do not work on clean install till browser restart #42466

btlechowski opened this issue Nov 22, 2024 · 0 comments
Labels
bug feature/ads OS/iOS Fixes related to iOS browser functionality QA/Yes

Comments

@btlechowski
Copy link

btlechowski commented Nov 22, 2024

Description

Fixed after browser restart. Maybe due to seed variation not being enabled.

Found by @Uni-verse

Steps to reproduce

  1. Clean install (do not restart)
  2. Enable rewards
  3. Trigger ads

Actual result

Notification ads, NTT ads and Brave news ads are shown, but there are many error.
Errors:

error	19:41:51.324470+0100	Client	Failed to load data for publisher_state.json: The file “publisher_state.json” couldn’t be opened because there is no such file.
error	19:41:51.941572+0100	Client	Failed to load data for client.json: The file “client.json” couldn’t be opened because there is no such file.
error	19:41:51.941732+0100	Client	Failed to load data for client.json: The file “client.json” couldn’t be opened because there is no such file.
error	19:41:51.942373+0100	Client	Failed to load data for confirmations.json: The file “confirmations.json” couldn’t be opened because there is no such file.
error	19:41:51.943886+0100	Client	Failed to load data for confirmations.json: The file “confirmations.json” couldn’t be opened because there is no such file.
error	19:41:52.004688+0100	Client	Failed to register device with mobile attestation server: <private>
info	19:41:52.832530+0100	Client	[ads] Failed to get signed tokens

Expected result

Ads work.

Reproduces how often

Easily reproduced

Brave version

Reproduced on 1.75.44 on iPhone 13 Pro Max (iOS 17.7)
Reproduced on 1.73.91 on iPhone 13 Pro Max (iOS 17.7)

cc @tmancey @aseren @iambrianfung

@btlechowski btlechowski added bug feature/ads OS/iOS Fixes related to iOS browser functionality QA/Yes labels Nov 22, 2024
@btlechowski btlechowski added this to Ads Nov 22, 2024
@github-project-automation github-project-automation bot moved this to New issues in Ads Nov 22, 2024
@btlechowski btlechowski changed the title Ads does not work on clean install till browser restart Ads do not work on clean install till browser restart Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feature/ads OS/iOS Fixes related to iOS browser functionality QA/Yes
Projects
Status: New issues
Development

No branches or pull requests

1 participant