facebook / flipper

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

Android: Connection loop detected #3722

Open Shamus-Murray-ck opened 2 years ago

Shamus-Murray-ck commented 2 years ago

🐛 Bug Report

Getting

Running 0.145.0 on M1 Mac. Connected to Android app through emulator and randomly getting:

Connection loop detected with Android-sdk_gphone64_arm64 - 12 - API 31-My App. Connected 4 times within 20s. server 

Which causes the whole UI to refresh every couple seconds.

To Reproduce

Seems to be arbitrary when it comes and goes. I have found no workaround for it.

Environment

Android emulator running API 31. M1 Mac desktop version. Mac Os Monterey 12.3.1

mweststrate commented 2 years ago

I think we were able to reproduce and fix this, let us know if it still happens once 0.147 is released.

frog1014 commented 2 years ago

still happens on 0.147 windows 10, android 8.0 asus zenfone3 image

Shamus-Murray-ck commented 2 years ago

@mweststrate still seeing it on 0.147 too

frog1014 commented 2 years ago

still happens 0.149.0 (8/6/2022)

frog1014 commented 2 years ago

still happens 0.154.0

Med-Amine-Fredj commented 2 years ago

still happen 0.164.0

devYonz commented 2 years ago

still happens on Version 0.166.0 (50.0.0)

Mac 12.6 (21G115) Can be re produced with a bare react-native project with npx react-native init

vitoroliveiraacct commented 1 year ago

Same here on 0.162.0. I'm on a Macbook air M1 2020 and trying to connect a physical device (Asus Zenfone 3).

RohovDmytro commented 1 year ago

@mweststrate, M1 Air, Flipper 0.182.0. The problem persists.

shridharkalagi commented 1 year ago

I'm facing this issue. Any workaround?

mtzfactory commented 1 year ago

I'm facing the same issue in Android... started when added react-native-maps to the project.

My system:

❯ npx react-native info
info Fetching system and libraries information...
System:
    OS: macOS 10.15.7
    CPU: (4) x64 Intel(R) Core(TM) i7-3520M CPU @ 2.90GHz
    Memory: 390.13 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 19.5.0 - ~/.nvm/versions/node/v19.5.0/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 9.3.1 - ~/.nvm/versions/node/v19.5.0/bin/npm
    Watchman: 2022.08.15.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.12.0 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.2, DriverKit 20.0, macOS 11.0, tvOS 14.2, watchOS 7.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.2 AI-212.5712.43.2112.8815526
    Xcode: 12.2/12B45b - /usr/bin/xcodebuild
  Languages:
    Java: 18.0.2 - /usr/local/opt/openjdk/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0
    react-native: 0.71.4 => 0.71.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found
mweststrate commented 1 year ago

adb kill-server and restarting fixed it the last few times I had it

xuanmai-agilityio commented 1 year ago

I'm facing this issue after a long time of being able to use Flipper. I don't know what's wrong with it. Anyone have workaround? This is the log I get from the Flipper.

Screen Shot 2023-08-26 at 11 04 26