Skip to content

Exits after 5 seconds w/o DEBUG, or gets stuck in infinite loop when running with DEBUG on #14

@da2x

Description

@da2x

dat-push exits five seconds after the remote client connects unless I run with DEUBG=dat*. Transfer seems to work for the first five seconds regardless of running with DEBUG or not. The timeout introduced in 98522b7 by @pfrazee doesn’t seem to work as expected.

When I do run with debug the receiving end gets stuck printing this line every one second forever:

dat-network Uploaded data: 29847974 +501ms

The remote receiving end with DEBUG will print this corresponding message every one second forever:

 dat-network Downloaded data: 29847974 +500ms` 

dat-push will print that it is uploading a few other packets and then print Finished replicating with 1.2.3.4 twice prior to both sides getting stuck in this loop. Without DEBUG dat-push exits and the remote end complains that there are no peers before also exiting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions