nginxエラー
エラー解決
limiting requests, excess: 8.97 by zone "api_limit", client: 10.0.0.197 の原因と解決法
limiting requests, excess: 8.97 by zone "api_limit", client: 10.0.0.197 の原因と具体的な解決手順をまとめました。
エラーメッセージ(全文)
limiting requests, excess: 8.97 by zone "api_limit", client: 10.0.0.197
このエラーとは
limiting requests, excess: 8.97 by zone "api_limit", client: 10.0.0.197 は nginx 開発でよく遭遇するエラーです。
想定環境: Windows / macOS / Linux
よく出る状況: nginx 設定・プロキシ
よくある原因
- location ネスト
- upstream ダウン
- レート制限
解決方法
方法1: nginx -t
設定テスト後 reload.
それでも直らないとき
バージョン情報(nginx のバージョン、OS、実行コマンド)を添えて、エラーメッセージ全文と直前に変更した点を確認してください。ログの数行上にも原因の手がかりが残っていることが多いです。
まとめ
「limiting requests, excess: 8.97 by zone "api_limit", client: 10.0.0.197」は location ネスト が原因のことが多いです。上記の手順で切り分けてください。
次にやること
同じ nginx カテゴリの関連エラーもあわせて確認してください。
よくある質問
limiting requests, excess: 8.97 by zone "api_limit", client: 10.0.0.197 とは何ですか?
limiting requests, excess: 8.97 by zone "api_limit", client: 10.0.0.197 は nginx 実行時に表示されるエラーです。location ネスト
limiting requests, excess: 8.97 by zone "api_limit", client: 10.0.0.197 の原因は?
location ネスト。upstream ダウン。レート制限。
limiting requests, excess: 8.97 by zone "api_limit", client: 10.0.0.197 の直し方は?
nginx -t:設定テスト後 reload.
nginx で limiting requests, excess が出るのはなぜ?
nginx 設定・プロキシ
limiting requests, excess: 8.97 by zone "api_limit", client: 10.0.0.197 を防ぐには?
。
次に読むべき記事
- an upstream response is buffered to a temporary file /var/cache/nginx/proxy_temp/198/0000000001 の原因と解決法
- SSL: error:0A000412:SSL routines::sslv3 alert bad certificate for host api-199.example.com の原因と解決法
- nginx: [emerg] location "/api/v200" is outside location "/api" in /etc/nginx/conf.d/app.conf:30 の原因と解決法
- limiting requests, excess: 8.97 by zone "api_limit", client: 10.0.0.143 の原因と解決法
- limiting requests, excess: 10.89 by zone "api_limit", client: 10.0.0.135 の原因と解決法
同カテゴリ「nginxエラー」の記事
- nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/example.com/fullchain.pem" の原因と解決法
- nginx: [emerg] "server" directive is not allowed here in /etc/nginx/nginx.conf:45 の原因と解決法
- nginx: [emerg] unknown directive "proxy_passs" in /etc/nginx/conf.d/app.conf:12 の原因と解決法
- nginx: [emerg] open() "/etc/nginx/nginx.conf" failed (2: No such file or directory) の原因と解決法
- nginx: [emerg] no "ssl_certificate" is defined for the "listen ... ssl" directive の原因と解決法
- 504 Gateway Time-out while reading response from upstream http://backend-403:8080 の原因と解決法
人気記事
- TS2307: Cannot find module '@components/Widget601' or its corresponding type declarations の原因と解決法
- TS2307: Cannot find module '@components/Widget591' or its corresponding type declarations の原因と解決法
- TS2307: Cannot find module '@components/Widget581' or its corresponding type declarations の原因と解決法
- TS2307: Cannot find module '@components/Widget571' or its corresponding type declarations の原因と解決法
- TS2307: Cannot find module '@components/Widget561' or its corresponding type declarations の原因と解決法
- TS2307: Cannot find module '@components/Widget551' or its corresponding type declarations の原因と解決法
学習ルート
体系的に学びたい方はこちらから。
エラー・トラブル集で続きを探す →あわせて読みたい
- limiting requests, excess: 8.97 by zone "api_limit", client: 10.0.0.143 の原因と解決法同カテゴリの関連エラー
- limiting requests, excess: 10.89 by zone "api_limit", client: 10.0.0.135 の原因と解決法同カテゴリの関連エラー
- limiting requests, excess: 2.81 by zone "api_limit", client: 10.0.0.127 の原因と解決法同カテゴリの関連エラー
- limiting requests, excess: 4.73 by zone "api_limit", client: 10.0.0.119 の原因と解決法同カテゴリの関連エラー
- limiting requests, excess: 6.65 by zone "api_limit", client: 10.0.0.111 の原因と解決法同カテゴリの関連エラー