Discover and create are hanging endlessly
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- android, kotlin
- Domain
- mobile-dev, networking
Research direction
Start with the discover and create entry points and the internal open function described in the issue. Compare their behavior with the shown adb connect output, then verify that a device refusing authorization no longer blocks indefinitely and instead produces a bounded timeout or authentication failure.
Written by the indexing model from the issue text.
Description
The discover and create functions are hanging as long as the allow button has not been clicked.
Internally this is the open function that blocks endlessly.
Is this the desired behavior? If so, why?
val dadb = Dadb.discover("192.168.1.62")

It would be great to throw timeout exception after x seconds.
Or throwing something like AuthorizationRequiredException or FailedAuthenticationException would be even better.
It's trivial with the official binary, you just have to check the connect output.
adb connect 192.168.1.62
* daemon not running; starting now at tcp:5037
* daemon started successfully
failed to authenticate to 192.168.1.62:5555
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mobile-dev-inc/dadb
-
Difficulty 4/5 3-5 days Newbie friendliness 58/100
mobile-dev-inc/dadb#109 ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
mobile-dev-inc/dadb#95 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
mobile-dev-inc/dadb#93 · 3 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
mobile-dev-inc/dadb#92 · 4 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
mobile-dev-inc/dadb#85 · 3 comments ·
All issues in mobile-dev-inc/dadb
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Good First Issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ankidroid/Anki-Android#21942 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
libre-tube/LibreTube#8781 · 1 comment ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
MetrolistGroup/Metrolist#4396 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100