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

[BUG] express-rate-limit: req.ip is undefined #1047

Open
minsulee2 opened this issue May 25, 2022 · 2 comments
Open

[BUG] express-rate-limit: req.ip is undefined #1047

minsulee2 opened this issue May 25, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@minsulee2
Copy link
Member

New error logs have been occurred in error_logs

express-rate-limit: req.ip is undefined - you can avoid this by providing a custom keyGenerator function, but it may be indicative of a larger issue.
@minsulee2 minsulee2 added the bug Something isn't working label May 25, 2022
@minsulee2 minsulee2 self-assigned this May 25, 2022
@platfowner
Copy link
Member

platfowner commented May 31, 2022

Related issues:

  • ip ver 6 -> ip ver 4 conversion logic (convertIpv6ToIpv4())
  • req.ip: undefined -> "" (empty string) conversion

@platfowner
Copy link
Member

Can we just use ip ver 6?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants