REST API calls are rejected with the error: 403 permission denied, error was 403 Forbidden; "This IP address has been blocked temporarily."
book
Article ID: 330283
calendar_today
Updated On:
Products
VMware NSX
Issue/Introduction
- REST API calls are getting rejected
- You get the error:
403 permission denied, error was 403 Forbidden; "This IP address has been blocked temporarily."
- In the NSX-v Manager logs/appliance_mgmt/localhost_access*.log file, you see entries similar to:
<IP Address> - - [<Date>:<Time> -0700] "GET /api/2.0/si/servicemanagers HTTP/1.1" 403 1101
<IP Address> - - [<Date>:<Time> -0700] "GET /api/2.0/si/servicemanagers HTTP/1.1" 403 1101
<IP Address> - - [<Date>:<Time> -0700] "GET /api/2.0/si/servicemanagers HTTP/1.1" 403 1101
<IP Address> - - [<Date>:<Time> -0700] "POST /api/2.0/si/servicemanager HTTP/1.1" 403 1101
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
Environment
VMware NSX for vSphere 6.4.x
Cause
This issue occurs due to the NSX Manager mechanism for preventing DoS attacks.
Resolution
To resolve this issue:
- Identify and eliminate the source of REST API.
- Reboot NSX Manager.
Feedback
thumb_up
Yes
thumb_down
No