Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

Non-local initial discovery doesn't work #140

Open
nekr0z opened this issue Mar 4, 2019 · 2 comments
Open

Non-local initial discovery doesn't work #140

nekr0z opened this issue Mar 4, 2019 · 2 comments

Comments

@nekr0z
Copy link
Member

nekr0z commented Mar 4, 2019

While investigating #139 I bumped into this one, and thought it was worth reporting.

Steps to demostrate and reproduce:

  1. Have Android Studio installed and Android Emulator set up.
  2. Create a new AVD of a known configuration working with ST-lite.
    • Nexus 6P running Android 8.0 (API level 27) should do.
  3. Run the AVD in emulator.
  4. Download fresh ST-lite APK (from F-Droid) and install it in emulator (drag-n-drop works).
  5. Run ST-lite in the emulator.
  6. Manually feed ST-lite and ID of an ST-instance you control and know is running.
    • Your local machine's ST should do.
  7. Wait for however long you feel necessary to persuade you there is an issue, observe "no known address for device" not going anywhere.
    • 17 hours for me, your mileage may vary,
    • optionally, you may force-stop and restart ST-lite several times just for the sake of it; makes no difference.
  8. Download fresh ST-android APK (from F-Droid) and install it into your running emulator.
  9. Run ST-android in emulator. Manually feed it the same ID of the instance you use for testing.
  10. Observe ST-android getting working connection to remote instance in under a minute.
  11. Switch back to ST-lite. Observe it finally getting connection too.
  12. Uninstall ST-android from emulator.
  13. Proceed with your ST-lite debugging as intended.

My point is, steps 7-12 should not be necessary, but I can reliably reproduce the fact that they are.

@l-jonas
Copy link

l-jonas commented Mar 4, 2019

Is restarting (force stop or wait one minute? after leaving ti) syncthing lite enough to get a connection?

@nekr0z
Copy link
Member Author

nekr0z commented Mar 4, 2019

Nope.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants