Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix 429 Too Many Requests error in local #349

Closed
2 tasks
danmash opened this issue Jun 27, 2022 · 0 comments · Fixed by #455
Closed
2 tasks

Fix 429 Too Many Requests error in local #349

danmash opened this issue Jun 27, 2022 · 0 comments · Fixed by #455
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@danmash
Copy link
Member

danmash commented Jun 27, 2022

Describe the bug

429 Too Many Requests error appears in local

To Reproduce

set -B                  # enable brace expansion
for i in {1..300}; do
  curl --request POST \
      --url http://127.0.0.1:5000/password-reset \
      --header 'Content-Type: application/json' \
      --header 'X-Session-Id: 360bf0c5-5fb2-430f-8902-77b8041237a9' \
      --data '{
      "email": "daniil@gmail.com"
    }'
done

you will get 429 error code in some time.
Which shouldn't be the case.

Expected behavior

No error on local

Task

  • fix app.auth.routes.ip_whitelist which doesn't work on local docker environment.
  • fix correspoing unit tests
@danmash danmash added the good first issue Good for newcomers label Jun 27, 2022
@danmash danmash changed the title fix app.auth.routes.ip_whitelist Fix 429 Too Many Requests error in local Oct 12, 2022
@danmash danmash added the bug Something isn't working label Oct 12, 2022
@danmash danmash moved this to 📋 Backlog in Climate Mind Web App Oct 18, 2022
@danmash danmash moved this from 📋 Backlog to To do in Climate Mind Web App Oct 18, 2022
Repository owner moved this from To do to ✅ Done in Climate Mind Web App Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
Archived in project
1 participant