flutter-intellij icon indicating copy to clipboard operation
flutter-intellij copied to clipboard

Embedded inspector cannot display

Open AlexV525 opened this issue 3 years ago • 10 comments

2022-05-16 09:34:19,571 [  80616]   INFO - #i.f.j.EmbeddedBrowserEngine - JxBrowser user data path: X:\IDEs\apps\IDEA-U\ch-0\221.5080.210.plugins\flutter-idea\jxbrowser\user-data
2022-05-16 09:34:33,433 [  94478]   INFO - #i.f.j.JxBrowserManager - Browser message(WARNING): The page requested an origin-keyed agent cluster using the Origin-Agent-Cluster header, but could not be origin-keyed since the origin 'http://127.0.0.1:9101' had previously been placed in a site-keyed agent cluster. Update your headers to uniformly request origin-keying for all pages on the origin.

Steps to Reproduce

Just open a Flutter app. I tried to reinstall the plugin but it doesn't help.

Version info

Flutter: 2.10.5 (Windows) IDEA: 2022.1 (221.5080.210) Plugin: 67.1.4

AlexV525 avatar May 16 '22 01:05 AlexV525

This is what it looks like now: image

AlexV525 avatar May 16 '22 01:05 AlexV525

Still not working after .idea was deleted. But only the specific project facing the issue.

AlexV525 avatar May 16 '22 10:05 AlexV525

Was this working for you before? Do you use an internet proxy?

This might help understand the problem: https://web.dev/origin-agent-cluster/

@helin24

stevemessick avatar May 16 '22 18:05 stevemessick

Was this working for you before?

Yes, it always works before, and after something idk it starts to not work.

Do you use an internet proxy?

Yes, but it's not applied to the IDEA or globally.

AlexV525 avatar May 17 '22 03:05 AlexV525

Besides, opening the Devtools with the same address (starts with http://127.0.0.1:9101) works, which means it shouldn't relate to the proxy.

AlexV525 avatar May 17 '22 04:05 AlexV525

@AlexV525 could you send us your idea.log file and the jxbrowser.log file? Both can be found if you go to Help > Show log in finder. If you'd prefer to send by email let me know.

helin24 avatar May 17 '22 16:05 helin24

@helin24 log.zip

AlexV525 avatar May 18 '22 03:05 AlexV525

After I switched to Flutter 3, it starts to work, Maybe the issue is caused by a downgrade from 3 to 2.10.

AlexV525 avatar May 18 '22 07:05 AlexV525

Just to confirm, it is working and we can close this issue?

stevemessick avatar May 20 '22 21:05 stevemessick

Sorry for not providing additional information these days. I can confirm that after using Flutter 3 for the project, switching back to 2.10 will cause the embedded inspector not to be functional. If switching between Flutter versions will cause this issue, then I don't think it's safe to close. Because versions switching sounds like a common request.

AlexV525 avatar May 21 '22 03:05 AlexV525

I believe this is somehow the same as #6611. Closing as it's been tracked in another issue.

AlexV525 avatar Mar 21 '23 07:03 AlexV525