REST API calls were getting rejected with 403 permission denied, error was 403 Forbidden; "This IP address has been blocked temporarily."
book
Article ID: 311839
calendar_today
Updated On:
Products
VMware NSX
Issue/Introduction
Symptoms:
- REST API calls are rejected
- You see the error:
403 permission denied, error was 403 Forbidden; "This IP address has been blocked temporarily."
Cause
This issue occurs due a NSX manager mechanism to prevent DoS attacks.
Resolution
To resolve this issue:
- Identify and eliminate the source of REST API.
- Through NSX Manager logs/appliance_mgmt/localhost_access*.log you will see entries similar as:
10.242.226.120 - - [19/May/2017:09:30:21 -0700] "GET /api/2.0/si/servicemanagers HTTP/1.1" 403 1101
10.242.226.120 - - [19/May/2017:09:30:21 -0700] "GET /api/2.0/si/servicemanagers HTTP/1.1" 403 1101
10.242.226.120 - - [19/May/2017:09:30:21 -0700] "GET /api/2.0/si/servicemanagers HTTP/1.1" 403 1101
10.242.226.120 - - [19/May/2017:09:30:21 -0700] "POST /api/2.0/si/servicemanager HTTP/1.1" 403 1101 - Once you have identified and eliminated the source of REST API, Reboot NSX Manager.
Feedback
thumb_up
Yes
thumb_down
No