flipper icon indicating copy to clipboard operation
flipper copied to clipboard

Question: No plugins appear due to cert issue

Open MaxBuster opened this issue 6 years ago • 15 comments

I have Flipper 0.39.0 installed on my Mac with no issues showing in the Flipper Doctor. However when I launch my app Flipper doesn't connect and the diagnostics activity shows that there is a certificate issue.

Any idea what I need to get the correct certs on my laptop?

Screenshot_1588019444 Screen Shot 2020-04-27 at 1 34 18 PM Screen Shot 2020-04-27 at 1 34 54 PM

MaxBuster avatar Apr 27 '20 20:04 MaxBuster

0.39 is fairly old, would you mind checking if this is still the case in 0.45?

mweststrate avatar Jun 04 '20 16:06 mweststrate

I just downloaded Version 0.47.0 (50.0.0) and see the same issue

MaxBuster avatar Jun 18 '20 17:06 MaxBuster

cc @jknoxville ideas?

mweststrate avatar Aug 24 '20 10:08 mweststrate

Strange, I'd expect to see some related errors in Flipper, as it's failing to deploy the certs, but it doesn't look like there are any.

It might be worth checking that your port forwards are correct: adb reverse --list

You should see two entries for your android device, port 8088 and 8089. Is that true?

Also, when this is happening, does Flipper show any "connecting..." spinner, or any other indication that it is aware you app is trying to connect?

jknoxville avatar Aug 24 '20 13:08 jknoxville

I actually get an empty list when running adb reverse --list, should I set those two ports @jknoxville ?

And no, there isn't any messaging in Flipper to show the app is trying to connect.

MaxBuster avatar Aug 24 '20 16:08 MaxBuster

Nevermind, I do see those ports

host-9 tcp:8088 tcp:8088
host-9 tcp:8089 tcp:8089

MaxBuster avatar Sep 01 '20 17:09 MaxBuster

I have same problem with my Huawei phone android v 10.

try run adb command in your computer: adb shell run-as

I got "run-as: /data has wrong owner: 0/1000, not 1000"

See https://github.com/facebook/flipper/issues/92

thu2004 avatar Sep 02 '20 06:09 thu2004

@passy do you have any tips on how to debug this?

shashachu avatar Sep 14 '20 17:09 shashachu

And no, there isn't any messaging in Flipper to show the app is trying to connect.

This suggests that no connection at all is being made between client and flipper.

The problem could be either in your desktop installation, or the mobile app. To narrow it down I'd suggest trying it with the android sample app we provide. You can build it locally or download the apk from the releases page.

jknoxville avatar Sep 15 '20 14:09 jknoxville

I'm having the same issue with the sample app as well (downloaded from latest release). I'm certain it must be something about my laptop, or maybe the config our IT department uses, but I'm unsure where to start for debugging. This is using Flipper desktop app version 0.56.0

Screenshot_20200915-162405

shashachu avatar Sep 15 '20 23:09 shashachu

@jknoxville just checking in again to see if there are any tips for debugging the connection issue. Thanks!

shashachu avatar Sep 24 '20 23:09 shashachu

@jknoxville I can confirm that I get the same issue with the sample app and my app works on other laptops so it's definitely an issue with my laptop config or installation.

MaxBuster avatar Sep 25 '20 20:09 MaxBuster

Also having this issue on RN63, Mac, android phone/emulator, and flipper ver 0.63.0 (50.0.0). It doesn't seem app specific as the sample flipper app also has the same problem on the diagnostics screen. The chrome dev tools console has no errors of note. Would love a pointer here on debugging this.

eliot1019 avatar Oct 22 '20 21:10 eliot1019

The solution in this comment worked for me for an iOS device.

darvelo avatar Oct 28 '20 21:10 darvelo

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions.

stale[bot] avatar Jun 26 '21 03:06 stale[bot]