We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the client IP is not allowed to access an API the response HTTP status code should be 401.
401
The HTTP and monitoring APIs (and possibly more) return 500.
500
lisk-core start --enable-http-api-plugin --http-api-plugin-port=5000 --http-api-plugin-whitelist=1.2.3.4 curl --verbose http://127.0.0.1:5000/api/node/info
5.0.0 / 3.0.0-beta.2
The text was updated successfully, but these errors were encountered:
Merge pull request #6044 from LiskHQ/6037-status-code
3fc3c13
Respond status code when client IP not allowed - Closes #6037
Incede
No branches or pull requests
Expected behavior
If the client IP is not allowed to access an API the response HTTP status code should be
401
.Actual behavior
The HTTP and monitoring APIs (and possibly more) return
500
.Steps to reproduce
Which version(s) does this affect? (Environment, OS, etc...)
5.0.0 / 3.0.0-beta.2
The text was updated successfully, but these errors were encountered: