lbry-app hangs indefinitely when daemon hangs #188

Closed
opened 2017-06-02 18:23:48 +02:00 by kauffj · 0 comments
kauffj commented 2017-06-02 18:23:48 +02:00 (Migrated from github.com)

The Issue

If lbrynet-daemon hangs on the initial status call made by app/main.js, then the app will hang indefinitely.

Steps to reproduce

  1. Launch a copy of lbrynet-daemon that hangs (not sure how to do this reliably)
  2. Launch the app

Expected behaviour

App at least errors cleanly, if not killing and restarting daemon.

Actual behaviour

App sits at 'starting daemon' forever...

Anything Else

launchDaemonIfNotRunning needs to, at a minimum, detect a hanging status call.

## The Issue If `lbrynet-daemon` hangs on the initial `status` call made by `app/main.js`, then the app will hang indefinitely. ### Steps to reproduce 1. Launch a copy of `lbrynet-daemon` that hangs (not sure how to do this reliably) 2. Launch the app ### Expected behaviour App at least errors cleanly, if not killing and restarting daemon. ### Actual behaviour App sits at 'starting daemon' forever... ### Anything Else `launchDaemonIfNotRunning` needs to, at a minimum, detect a hanging `status` call.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#188
No description provided.