odota / web

React web interface for the OpenDota platform
https://www.opendota.com
MIT License
1.07k stars 390 forks source link

Opendota shows profile as private and doesn't show any stats #3154

Closed milindpatel63 closed 4 months ago

milindpatel63 commented 4 months ago

Current Behavior Opendota is showing my profile is private and not showing any stats even after logging in, even though my profile is set to public and "Expose match data" is checked under dota.

Expected behavior/code It should show my stats

Console Output image

TypeError: a.default.detectStore(...) is undefined
[h1-check.js:1:1301](moz-extension://83a0f36b-bede-4f09-9afb-1803f9aea02e/h1-check.js)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5591574346816667. (Reason: CORS request did not succeed). Status code: (null).

<script> source URI is not allowed in this document: “https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5591574346816667”. [177030576:28:30](https://www.opendota.com/players/177030576)
Error: Promised response from onMessage listener went out of scope [ExtensionMessagingService.js:89:34](moz-extension://0dd0ad49-a607-4352-8112-4a16400c4f4f/scripts/services/ExtensionMessagingService.js)
Loading failed for the <script> with source “https://www.google-analytics.com/analytics.js”. [177030576:1:1](https://www.opendota.com/players/177030576)
Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). [contentscript.js:1:5294](moz-extension://3249fc57-29f0-4506-acbd-8912519cc1fc/contentscript.js)
Content-Security-Policy: The page’s settings observed the loading of a resource at inline (“script-src”). A CSP report is being sent. [contentscript.js:1:5294](moz-extension://3249fc57-29f0-4506-acbd-8912519cc1fc/contentscript.js)
Content-Security-Policy: The page’s settings blocked the loading of a resource at inline (“script-src”). [contentscript.js:1:5294](moz-extension://3249fc57-29f0-4506-acbd-8912519cc1fc/contentscript.js)
Error: Promised response from onMessage listener went out of scope 2 [ExtensionMessagingService.js:89:34](moz-extension://0dd0ad49-a607-4352-8112-4a16400c4f4f/scripts/services/ExtensionMessagingService.js)

Environment

Possible Solution

Additional context/Screenshots image

milindpatel63 commented 4 months ago

Forgot to mention. My Opendota profile url: https://www.opendota.com/players/177030576 Steam ID: https://steamcommunity.com/id/kirigaya__yuuki/

milindpatel63 commented 4 months ago

Issue seems to have resolved for now. Marking this as closed,

howardchung commented 4 months ago

We reverted #3151 which was causing the issue.