zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
17.27k stars 405 forks source link

MS Teams V2 fails to init on Zen #556

Closed JoshCunningHum closed 2 months ago

JoshCunningHum commented 2 months ago

What happened?

When opening the new teams, it fails to load and displays this mesage: image

But when opening other browsers, it works, even on firefox. I am not sure if it is safe to show dev logs here but I guess I can share the errors(?) image I guess this conflicts with how Zen restricts tracking and MS Teams does a lot of telemetry.

I can't install the MS Teams desktop since something broke with my webview installation, and I am fine with it since it takes a lot of space due to tons of generated temporary files, so I prefer using the teams browser.

However, the older version of teams works, its just when opening it, it forces you to use the newer version, and also I don't know how to switch to the previous version since it is an organization set policy to use the newer version.

Reproducible?

Version

1.0.0-a.28 (64-bit)

Severity impact

Low

What platform are you seeing the problem on?

Windows

Relevant log output

Content-Security-Policy: The page’s settings blocked an inline script (script-src-elem) from being executed because it violates the following directive: “script-src 'nonce-jORUFqloackBTAQlFAxpOQ==' 'report-sample' 'self' https://statics.teams.cdn.office.net https://browser.events.data.microsoft.com https://local.teams.microsoft.invalid 'wasm-unsafe-eval' https://c1-powerpoint-15.cdn.office.net https://c4-powerpoint-15.cdn.office.net https://c5-powerpoint-15.cdn.office.net https://cdn.dev.fluidpreview.office.net https://cdn.fluidpreview.office.net https://ch5.fluidpreview.office.net https://dev.loop.microsoft.com https://powerpoint.cdn.office365.us https://res.cdn.office.net https://res-1.cdn.office.net https://res-2.cdn.office.net https://res-gcch.cdn.office.net https://res-sdf.cdn.office.net https://statics.teams.cdn.office.net https://staticsint.teams.cdn.office.net https://www.bing.com https://r.bing.com https://t.ssl.ak.dynamic.tiles.virtualearth.net https://dev.virtualearth.net https://whiteboard.office.com https://app.whiteboard.microsoft.com https://az725175.vo.msecnd.net https://lpcres.delve.office.com https://midgardbranches.blob.core.windows.net https://web.vortex.data.microsoft.com” index.js:7410:27
Content-Security-Policy: (Report-Only policy) The page’s settings would block an inline script (script-src-elem) from being executed because it violates the following directive: “script-src 'nonce-jORUFqloackBTAQlFAxpOQ==' 'report-sample' 'self' https://statics.teams.cdn.office.net https://az725175.vo.msecnd.net https://browser.events.data.microsoft.com https://local.teams.microsoft.invalid https://lpcres.delve.office.com https://midgardbranches.blob.core.windows.net https://web.vortex.data.microsoft.com https://c1-powerpoint-15.cdn.office.net https://c4-powerpoint-15.cdn.office.net https://c5-powerpoint-15.cdn.office.net https://cdn.dev.fluidpreview.office.net https://cdn.fluidpreview.office.net https://ch5.fluidpreview.office.net https://dev.loop.microsoft.com https://powerpoint.cdn.office365.us https://res.cdn.office.net https://res-1.cdn.office.net https://res-2.cdn.office.net https://res-gcch.cdn.office.net https://res-sdf.cdn.office.net https://www.bing.com https://r.bing.com https://t.ssl.ak.dynamic.tiles.virtualearth.net https://dev.virtualearth.net” index.js:7410:27
uncaught exception: Unable to load image data:image/svg+xml;base64,PHN2ZyBzdHlsZT0id2lkdGg6IDJyZW0iIGlkPSJub3JtYWwtbG9nbyIgdmlld0JveD0iMiAyIDIwIDIwIiByb2xlPSJwcmVzZW50YXRpb24iPgogICAgICA8cGF0aCBmaWxsPSIjNTA1OUM5IiBkPSJNMjEuMDM0NCAxMC4wMDEySDE2Ljg3MzRMMTUuNzEyNCAxMC45NDAyVjE1LjU5NzJDMTUuNzEyNCAxNy4zMjYyIDE3LjExMzQgMTguNzI4MiAxOC44NDI0IDE4LjcyODJDMjAuNTcyNCAxOC43MjgyIDIxLjk3MzQgMTcuMzI2MiAyMS45NzM0IDE1LjU5NzJWMTAuOTQwMkMyMS45NzM0IDEwLjQyMjIgMjEuNTUzNCAxMC4wMDEyIDIxLjAzNDQgMTAuMDAxMloiPjwvcGF0aD4KICAgICAgPHBhdGggZmlsbD0iIzUwNTlDOSIgZD0iTTIyIDdDMjIgOC4xMDQgMjEuMTA1IDkgMjAgOUMxOC44OTUgOSAxOCA4LjEwNCAxOCA3QzE4IDUuODk2IDE4Ljg5NSA1IDIwIDVDMjEuMTA1IDUgMjIgNS44OTYgMjIgN1oi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LjAwNDRIMTUuMDAwMVYxNy44Mzk0QzE1LjAwMDEgMTguMzg5NCAxNC4zODIxIDE5LjAwMDQgMTMuNzQ1MSAxOS4wMDA0SDkuNzE1MTRDOS4yNjIxNCAxOC4zMDc0IDguOTk0MTQgMTcuNDgzNCA4Ljk5NDE0IDE2LjU5NDRWMTAuOTAyNFoiIG9wYWNpdHk9IjAuNSI+PC9wYXRoPgogICAgICAKICAgICAgICA8cGF0aCBmaWxsPSIjNEI1M0JDIiBkPSJNMyAxOEMyLjQ1IDE4IDIgMTcuNTUgMiAxN1Y3QzIgNi40NSAyLjQ1IDYgMyA2SDEzQzEzLjU1IDYgMTQgNi40NSAxNCA3VjE3QzE0IDE3LjU1IDEzLjU1IDE4IDEzIDE4SDNaIj48L3BhdGg+CiAgICAgIDxwYXRoIGZpbGw9IndoaXRlIiBkPSJNMTEuMDAwMSAxMEg4LjgzNTExVjE1LjgySDcuNDEyMTFWMTBINS4yMzUxMVY4LjU3MDAxSDExLjAwMDFWMTBaIj48L3BhdGg+CiAgICAgIAogICAgPC9zdmc+
[ExpLoader] ExperienceLoader: Message: Core::Unable to process navigation intents, ["activeWindowsService","appResponsivenessService","appStateService","appsRegistryService","avatarImageCache","brbServiceManager","cdlWorkerRegistrarService","clientPreferences","clientState","commandChangeReportingService","commandResultChangeReportingService","config","configLoader","coreSecurityService","coreSettings","coreSettingsContext","coreUtilities","correlation","criticalDynamicImports","crossTabsService","dataClientTrackingService","diagnosticsService","endpointsHealthService","endpointsManager","errorState","experienceChangeReportingService","experimentationService","getPlatformConfigurationOverrides","hostCommunicationService","hostState","isEntityInView","leakDetectorService","lifeCycleScopeChangeReportingService","localStorage","loggerFactory","logsCollectorService","networkState","platformService","postTaskSchedulerDiagnosticsService","profilerService","pulsar","routingServices","scheduler","schedulerChangeReporting","shortcutExecutionService","shortcutRegistryService","stateManagementServices","telemetryContextService","waitForRenderingContextReady","windowProvider","windowTrackerService"]:: dataClient::false, deeplink::false, entityCommanding::false::CoreNavigationServicesMissing - Filename: undefined - Line: undefined - Column: undefined - Error object: undefined webclient_framework_exp_loader_event v2:6:124061
Unhandled error/rejection {"isTrusted":true} 5 v2:6:124061
Uncaught (in promise) TypeError: this.scenarioFactory is undefined
    _reportError https://statics.teams.cdn.office.net/teams-modular-packages/hashed-assets/async-entry-b6bbbebb8508cda7.js:30
    _onWindowError https://statics.teams.cdn.office.net/teams-modular-packages/hashed-assets/async-entry-b6bbbebb8508cda7.js:30
5 async-entry-b6bbbebb8508cda7.js:30:270888
[ExpLoader] ExperienceLoader: CriticalError {} v2:6:124061
Cookie “MSFPC” rejected because it has the “SameSite=None” attribute but is missing the “secure” attribute. t.js:1:1
Cookie “MSFPC” rejected because it has the “SameSite=None” attribute but is missing the “secure” attribute.
NathanGlasby commented 2 months ago

Blurred my classes for privacy, but just want to note it appears to work for me? It's the education version, and appears to be using V2 image

JoshCunningHum commented 2 months ago

hmmm this might be something with the organization settings. I guess I'll just have to use other browsers for this. @NathanGlasby appreciate the response.

ninbura commented 2 months ago

I'm running into this issue as well, logged in under my organization.

Help me understand how this could be a problem. Surely my workplace's help desk isn't whitelisting every browser. I use Teams in Arc browser. I was able to login and use Teams when Arc was invite only on Windows. I'm sure they haven't manually whitelisted that application.

decimal3954 commented 2 months ago

I am experiencing the same issue. When I try to access the web version of Teams, I get the following message: "Oops, app failed to init!". Strangely enough, I am able to open the Teams V2 web app using a private browser window in Zen Browser.

Has anyone found a solution to this problem?