benhason1 / nestjs-http-promise

promise implementation of nestjs http module with retries feature using axios-retry and axios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not working on Nest 8

adshrc opened this issue · comments

commented

Describe the bug
Its not re-trying. I see that the first request reaches my endpoint (i've set it to always return status 500), but there are no subsequent requests reaching it. I've also downgraded the version to multiple older ones, even 1.0.0 is not woking. Always the same behaviour - no retries at all.

To Reproduce
Steps to reproduce the behavior:

  1. Install this dependency on Nest.js 8.0.6
  2. Try to send a request, that will return status 500 (e.g. on https://webhook.site set the default status to 500)
  3. See that it is not retrying

Expected behavior
Should retry requests that end up with status 500

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • Nest.js 8.0.6
  • Node.js 14.19.0