flipper icon indicating copy to clipboard operation
flipper copied to clipboard

No plugins load due to a certificate issue

Open MaxBuster opened this issue 6 years ago • 11 comments

🐛 Bug Report

Flipper does not load plugins due to certificates not transferring from desktop. The app works against a different laptop, so the issue seems to only be with this machine.

Troubleshooting Steps Taken

  • Tried the app against Flipper on another desktop and it works so it seems the issue is with this particular computer
  • The Flipper diagnostic activity shows X's for Check required certificates are present and Getting cert from desktop Flipper diagnostic activity
  • The only error in the Flipper dev tools is (anonymous) | @ | bundle.js:208546
  • Flipper doctor shows all checks
  • Checked that the desktop and mobile device have the same date and time
  • Cleared ~/.flipper and restarted both Flipper and uninstall/reinstalled the app
  • Uninstalled and reinstalled Flipper

Expected Behavior

Flipper should load a network plugin for the app on the connected device

Environment

Desktop: MacOS Mojave 10.14.6 Flipper: 0.30.2 Devices: Android emulator API 29, Physical Pixel 3a Android 10

MaxBuster avatar Jan 31 '20 05:01 MaxBuster

@MaxBuster Silly question, but do you have internet permissions enabled in your app's manifest?

passy avatar Jan 31 '20 10:01 passy

Thanks for the quick reply @passy! Yes the app does have internet permissions. The same app works with a different laptop which makes me think it's something with the system on the other laptop.

maximumbuster avatar Jan 31 '20 15:01 maximumbuster

@maximumbuster Would you mind sharing the specs of the two machines you've run this one? The one where it works and the one where it doesn't?

passy avatar Feb 07 '20 10:02 passy

Closing for staleness, but please let us know if this is still an issue.

passy avatar Feb 12 '20 11:02 passy

Sorry for reopening but I'm still seeing this issue. Both laptops are MacBook Pros on Mojave 10.14.6. Both have LibreSSL 2.6.5 installed. Both have adb version 1.0.41 installed.

Can you think of any other specs that may affect it?

MaxBuster avatar Mar 24 '20 06:03 MaxBuster

I should note that the one not working with flipper is for work with some company security installed but I don't see anything obviously interfering such as firewall or port access

MaxBuster avatar Mar 24 '20 17:03 MaxBuster

I'm facing the same problem on Windows 10. "Check if the necessary certificates are present" and "Getting the desktop certificate" both fail with error: StreamInterruptedException: connection error / connection closed. Could this error be caused by white spaces on the certificate path? On the flipper, Manage Plugins fails with error: "While Flipper was able to connect to your device, it wasn't able to connect to the app...". React DevTools works and show the components hierarchy after many attempts. I noticed that on each connection attempt, it uses a different port. First it attempts the 8097 port and then many other random ports. Is this behavior expected?

david-laurentino avatar Apr 30 '20 12:04 david-laurentino

@david-laurentino I have the same exact issue. Did you find a solutinon to it? Same app work with Flipper on Mac, but doesn't on Windows.

Symyon avatar Sep 18 '20 15:09 Symyon

Never mind, fixed it. Moved both Watchman (not related probably) and openssl paths from user variables to system variables. Also used openssl path from Git/user/bin, not my previous openssl build I got from one of the suggested sources on their website.

Symyon avatar Sep 18 '20 15:09 Symyon

same problem

messenja avatar Mar 25 '21 11:03 messenja

This issue was filed over a year ago. Please provide your own reproduction steps. +1 is inactionable and won't be acted upon.

mweststrate avatar Mar 25 '21 11:03 mweststrate