Skip to content

Enabling PAR2 creation causes upload failure #198

@kraft-sodass

Description

@kraft-sodass

Hello,

first of all I want to say how much I appreciate the work you are putting into this very fine upload client.
I have been playing with it for the past few days and unfortunately, I cannot get PAR2 creation to properly work.

System information
I am using Postie CLI version 0.0.29 on Windows 11 with the three required MingW64-DLLs (libgcc_s_seh-1.dll, libstdc++-6.dll, libwinpthread-1.dll in version 15.2.0) placed besides the EXE, as the current release can't launch without them.
I call Postie like so:
postie -c config.yaml -d "some directory"

I am testing with two files in a folder with a total size of 96 MB.

PAR2 creation via internal Par2Go
This gives an error message and does not create Pars at all.
The error is: par2go: SliceSize must be a positive multiple of 4, got 361254
Changing the 'SliceSize' setting in the config.yaml does not change the error at all, it always says '361254'. I have tried with the default '0' as well as some custom values, no change.

PAR2 creation via ParPar
This starts off nicely, creates all the Pars and then the upload becomes stalled between 96 % and 98 %. Postie will then hang until it has reached the maximum number of retries and then exit with this error message:
Error: failed to post file XXX after 3 retries: error posting article: nntp: post failed: news.XXX.XX:563+XXX: read tcp XXX.XXX.XXX.XX:51376->XXX.XXX.XX.XX:563: i/o timeout

I have tried with the same files multiple times and can always produce the same result:

  • PAR2 disabled =Upload fine.
  • PAR2 enabled = Upload hangs and ends with the above error message.

I have found that when I increase the setting 'min_connections', the upload will hang sooner. For example, with 'min_connections' at 1, it will hang at 98 %. With 'min_connections' at 3, it will hang at 96 %. Changing any of the other settings did not make a difference.

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