flutter / devtools

Performance tools for Flutter
https://flutter.dev/docs/development/tools/devtools/
BSD 3-Clause "New" or "Revised" License
1.58k stars 326 forks source link

Perfetto attempting to access internal google URL to download scripts on non-corp machine. #6006

Open jonahwilliams opened 1 year ago

jonahwilliams commented 1 year ago

When running a flutter application on a non-corp machine, I'm unable to load the perfetto viewer. Looking in the browser network tab shows a failed request to https://storage.cloud.google.com/perfetto-ui-internal/is_internal_user.js .

Is there some internal configuration option I might have enabled accidentally?

CoderDake commented 1 year ago

@kenzieschmoll any idea whether this could prevent perfetto from loading?

kenzieschmoll commented 1 year ago

That request looks like it is coming from perfetto itself, not from DevTools. Can you open ui.perfetto.dev and if so do you see that same request? Another thing to try - try opening DevTools in an incognito browser or clearing your browser cache.

jonahwilliams commented 1 year ago

Yes, I see the same issue on ui.perfetto.dev. If I access either that or devtools via incognito, instead it fails on a google sign in request:

https://accounts.google.com/v3/signin/identifier?...

With continue urls that point to the same resource.

kenzieschmoll commented 1 year ago

We should file an issue here, since this is not specific to the DevTools configuration: https://github.com/google/perfetto/issues