facebook / flipper

A desktop debugging platform for mobile developers.
https://fbflipper.com/
MIT License
13.31k stars 954 forks source link

Can't load plugins with error `Failed while retrieving marketplace plugins TypeError: Failed to fetch` #3782

Open abdallah-abdelfatah opened 2 years ago

abdallah-abdelfatah commented 2 years ago

🐛 Bug Report

Using Flipper (0.147.1, 0.146.x), I can't see the plugins in the Plugin manger. After checking the logs I found the following error [Failed while retrieving marketplace plugins TypeError: Failed to fetch] I've tried diff network connections, and it's reproducible across any.

To Reproduce

For me, it can be reproduced by just opening flipper.

Environment

Flipper: (0.147.1, 0.146.x). Mac OS: 12.1

aigoncharov commented 2 years ago

@abdallah-abdelfatah do you have marketplace enabled in your settings? Could you share a screenshot and Flipper logs?

abdallah-abdelfatah commented 2 years ago

@aigoncharov Yes, I do. Here's the screenshots:

Screen Shot 2022-06-08 at 3 07 36 PM Screen Shot 2022-06-08 at 3 07 21 PM

edit: more logs for easier cpy & paste:

Failed while retrieving marketplace plugins TypeError: Failed to fetch
    at loadAvailablePlugins (file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4490:404](http://flipper.app/Contents/Resources/app.asar/bundle.js:4490:404))

    at loadPluginsFromMarketplace (file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4489:2636](http://flipper.app/Contents/Resources/app.asar/bundle.js:4489:2636))

    at refreshMarketplacePlugins (file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4489:2872](http://flipper.app/Contents/Resources/app.asar/bundle.js:4489:2872))

    at file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4489:2052](http://flipper.app/Contents/Resources/app.asar/bundle.js:4489:2052)

    at run (file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4285:389](http://flipper.app/Contents/Resources/app.asar/bundle.js:4285:389))

    at sideEffect (file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4285:1229](http://flipper.app/Contents/Resources/app.asar/bundle.js:4285:1229))

    at _default (file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4489:1928](http://flipper.app/Contents/Resources/app.asar/bundle.js:4489:1928))

    at file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4520:1111](http://flipper.app/Contents/Resources/app.asar/bundle.js:4520:1111)

    at [Array.map](http://array.map/) (<anonymous>)

    at _default (file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4520:1094](http://flipper.app/Contents/Resources/app.asar/bundle.js:4520:1094))

    at file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4370:4239](http://flipper.app/Contents/Resources/app.asar/bundle.js:4370:4239)

    at Object.rehydrate (file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4348:2772](http://flipper.app/Contents/Resources/app.asar/bundle.js:4348:2772))

    at _rehydrate (file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4340:2969](http://flipper.app/Contents/Resources/app.asar/bundle.js:4340:2969))

    at file:///Applications/[Flipper.app/Contents/Resources/app.asar/bundle.js:4340:3879](http://flipper.app/Contents/Resources/app.asar/bundle.js:4340:3879)
abdallah-abdelfatah commented 2 years ago

@aigoncharov I've update to latest 0.149.0 and the same issue is there, any ideas how to address this?

safwaan-menk commented 2 years ago

I am having the same issue!

And I have this message as well for the Reactotron plugin. Plugin 'Reactotron' is not supported by the selected application

Any ideas?

jan-happy commented 1 year ago

I also have this problem.

cjhines commented 1 year ago

Happening on Version 0.203.0

abdallah-abdelfatah commented 11 months ago

Hey, this has been reported/opened for 1.5+ years now!!

Any idea on workarounds or near fixes?

rp-henriqueoliveira commented 10 months ago

Happening on Version 0.239.0

Cheizr commented 7 months ago

0.239.0 I'm having this problem, also, in the window title says "Unsupported" and No application selected, but i can see app logs and use react devtools

image

JackClown commented 7 months ago

can not fetch any plugins

ShineKidd commented 7 months ago

I also have this problem. Version 0.239.0

davidfuzju commented 7 months ago

same here 0.239.0