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

"Adding default global override for .org.matrix.msc3786.rule.room.server_acl" logged every time I start sdk client #2619

Open
BurnyBoi opened this issue Aug 23, 2022 · 3 comments
Labels
S-Tolerable Low/no impact on users T-Defect

Comments

@BurnyBoi
Copy link

BurnyBoi commented Aug 23, 2022

Describe the bug
Every time I start a matrix-js-sdk client, I see the line "Adding default global override for .org.matrix.msc3786.rule.room.server_acl" is logged multiple times.

To Reproduce
I am running the following code on matrix-js-sdk 19.3.0:

const sdk = require("matrix-js-sdk");
const matrixcs = require("matrix-js-sdk/lib/matrix");
const request = require('request');
matrixcs.request(request);

const log = require('loglevel');
const { logger} = require('matrix-js-sdk/lib/logger');
logger.setLevel(log.levels.INFO, false);

var myUserId = "@test:matrix.example.com";
var myAccessToken = "syt_token";
var matrixClient = sdk.createClient({
    baseUrl: "https://matrix.example.com",
    accessToken: myAccessToken,
    userId: myUserId
});

matrixClient.startClient({initialSyncLimit: 0});

Expected behavior
Should start up quietly without this output. It didn't used to log this message on an older version of matrix-js-sdk.

Actual Behavior

$ node ./test.js
Adding default global override for .org.matrix.msc3786.rule.room.server_acl
Adding default global override for .org.matrix.msc3786.rule.room.server_acl

Desktop (please complete the following information):

  • OS: Arch Linux
  • Browser Firefox
  • Version 103
@t3chguy
Copy link
Member

t3chguy commented Aug 24, 2022

Update your Matrix server to one which supports MSC3786 and then the log line will go away.

@t3chguy t3chguy closed this as completed Aug 24, 2022
@theobouwman
Copy link

I am running docker.io/matrixdotorg/synapse:latest now and am getting this message as well:

 DEBUG  FetchHttpApi: <-- GET http://192.168.178.166:8008/_matrix/client/v3/sync?filter=xxx&timeout=xxx&since=xxx [383ms 200]
 DEBUG  FetchHttpApi: <-- GET http://192.168.178.166:8008/_matrix/client/v3/sync?filter=xxx&timeout=xxx&since=xxx [382ms 200]
 DEBUG  FetchHttpApi: <-- GET http://192.168.178.166:8008/_matrix/client/v3/sync?filter=xxx&timeout=xxx&since=xxx [375ms 200]
 DEBUG  FetchHttpApi: <-- GET http://192.168.178.166:8008/_matrix/client/v3/sync?filter=xxx&timeout=xxx&since=xxx [381ms 200]
 WARN  Adding default global override push rule .org.matrix.msc3786.rule.room.server_acl
 WARN  Adding default global underride push rule .org.matrix.msc3914.rule.room.call

@richvdh
Copy link
Member

richvdh commented Sep 30, 2024

Update your Matrix server to one which supports MSC3786 and then the log line will go away.

This doesn't sound right. I see this line (along with Adding default global underride push rule .org.matrix.msc3914.rule.room.call) every time I start Element Web.

@richvdh richvdh reopened this Sep 30, 2024
@richvdh richvdh added T-Defect S-Tolerable Low/no impact on users labels Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-Tolerable Low/no impact on users T-Defect
Projects
None yet
Development

No branches or pull requests

4 participants