question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Blur plugin tries to establish connections to https://storage.googleapis.com

See original GitHub issue

Description:

On my server I host a jitsi-meet instance according to DSGVO (GDPR) and therefore disabled all connections to external services like Gravatar and Google. The jitsi-meet config contains the following entry: disableThirdPartyRequests: true

My Content Security Policy directive contains “connect-src ‘self’” to not accidentally establish connections to foreign sites which may log user metadata.

When I try to click on the blur button nothing happens and the chrome web developer tools show the following warning:

tf-core.esm.js:17 Refused to connect to 'https://storage.googleapis.com/tfjs-models/savedmodel/bodypix/mobilenet/quant2/050/model-stride16.json' because it violates the following Content Security Policy directive: "connect-src 'self'".

Can we bundle this data with jitsi-meet instead and avoid the connection to Google? Or disable the button altogether when disableThirdPartyRequests: true is set?

Steps to reproduce:

see description.

Expected behavior:

I would like to use the blur feature without establishing connections to Google services.

Actual behavior:

see description.

Server information:

  • Operating System: Debian Buster
  • Jitsi Meet Version: 2.0.4627-1 (Stable Debian packages)

Nginx Version: 1.14.2-2+deb10u1 :

add_header Content-Security-Policy "connect-src 'self';";

Client information:

  • Browser / app version: Chromium 84.0.4147.89 Arch Linux
  • Operating System: Arch Linux (latest)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
amsnekcommented, Nov 1, 2020

still an issue, just more meh now because the new blur is improved performance wise

tf-core.esm.js:17 Refused to connect to 'https://storage.googleapis.com/tfjs-models/savedmodel/bodypix/mobilenet/quant2/050/model-stride16.json' because it violates the following Content Security Policy directive: "connect-src"

0reactions
saghulcommented, Jan 6, 2022

The virtual backgrounds were reworked and no longer make requests to Google. The model is vendored.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Test that timeout should cancel EventChannel an...anycodings
On popular request I anycodings_dart am trying to add a timeout option to the anycodings_dart plugin method which retrieved the current ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found