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

Uncaught (in promise) Error: Pica: cannot use getImageData on canvas, make sure fingerprinting protection isn't enabled #191

Closed
rozek opened this issue May 22, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@rozek
Copy link

rozek commented May 22, 2024

Hi!

I just tried the example found at https://example-pets.jazz.tools/ and did not even succeed to run it locally - see the following error log from my browser:

Uncaught (in promise) Error: Pica: cannot use getImageData on canvas, make sure fingerprinting protection isn't enabled

Additionally, I also could not open a websocket connection to your server(s) (as described in my previous issue).

Any idea how to proceed?

@aeplay
Copy link
Contributor

aeplay commented May 23, 2024

Hi @rozek, thanks for trying! Which browser/OS are you using?

@rozek
Copy link
Author

rozek commented May 23, 2024

Hello,

thanks for your response!

I am using macOS Ventura 13.6 with the latest Brave Browser Version 1.66.110 Chromium: 125.0.6422.60 (Offizieller Build) (arm64)

@aeplay
Copy link
Contributor

aeplay commented May 25, 2024

Are you by chance using Brave's "Strict fingerprinting protection mode"?

@rozek
Copy link
Author

rozek commented May 26, 2024

Similar to the other issue I mentioned above, I tried the example again today - and it worked now.

Could it be that the error I reported was just a consequence of the missing websocket connection?

@aeplay
Copy link
Contributor

aeplay commented May 26, 2024

I'd be surprised, because the image resizing is a completely local operation and should work/not work the same regardless of if you have a working connection to the sync server.

You didn't by chance update Brave in the meantime? (it sounded like they were working on exactly the fingerprinting strictness)

@aeplay aeplay added the bug Something isn't working label May 26, 2024
@rozek
Copy link
Author

rozek commented May 27, 2024

well, it could be that I updated Brave (as that happens quite often) but I can't tell you for sure.

Anyway, thanks a lot for your effort!

@aeplay aeplay closed this as completed Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants