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.

Gravatars are loaded with disableThirdPartyRequests set to true

See original GitHub issue

Description

I set disableThirdPartyRequests to true, but I am still seeing my Gravatar image being displayed when I switch off the camera. Also according to network inspector there are still calls being made to gravatar.com.

This is unexpected since the comment states:

// If third party requests are disabled, no other server will be contacted.
// This means avatars will be locally generated and callstats integration
// will not function.
disableThirdPartyRequests: true,

Current behavior

gravatar.com is still being called.

Expected Behavior

gravatar.com should not be called.

Steps to reproduce

Set disableThirdPartyRequests: true, and check the network inspector during a page reload.

Environment details

jitsi-meet 2.0.4384-1 on Debian 10.3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Commifreakcommented, Sep 9, 2020

Same here. In addition, a request to callstats.io is made to load the Main JS! Both should be disabled with disableThirdPartyRequests: true,


GET | https://api.callstats.io/static/callstats-ws.min.js
-- | --



GET /static/callstats-ws.min.js HTTP/1.1
Host: api.callstats.io
0reactions
csett86commented, May 31, 2021

I debugged into this first of all, the behaviour is still present in current stable (2.0.5870) and master (f84f7332b9205652a7e9cd8772d05c6fd98e0329) and I found out the following:

When handling the PARTICIPANT_JOINED action, the ‘features/base/config’ state is empty, thus disableThirdPartyRequests is undefined, ie falsy, which means that the preloading of the avatar is triggered. I debugged this by showing the full redux state in the middleware of participants (https://github.com/jitsi/jitsi-meet/blob/f84f7332b9205652a7e9cd8772d05c6fd98e0329/react/features/base/participants/middleware.js#L410):

state-participant-joined

Unfortunately my react / redux skills are not good enough to propose a fix for this, but maybe this debugging helps someone to fix it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Disable Gravatar (or any non essential third party connections)
Description I set disableThirdPartyRequests to true, but I am still seeing my Gravatar image being displayed when I switch off the camera.
Read more >
User Guide (advanced) | Jitsi Meet - GitHub Pages
defaultLanguage, en, change the UI default language ; disableThirdPartyRequests, true, generate avatars locally and disable callstats integration.
Read more >
Gravatar - Globally Recognized Avatars
Set once, seen everywhere. Create, upload, and manage your globally recognized avatar from a single place. · More than just an image. Instantly...
Read more >
Compare config with ucom (#12) · Issues · hosting / fairmeeting ...
do not load external avatars, but avatar2.png (modified ucom avatar) disableThirdPartyRequests: true, // test etherpad integration etherpad_base: ...
Read more >
https://cdck-file-uploads-global.s3.dualstack.us-w...
preferH264: true, // If set to true, disable H.264 video codec by stripping it out ... Array of script URLs to load as...
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