REST API calls were getting rejected with 403 permission denied, error was 403 Forbidden; "This IP address has been blocked temporarily."
search cancel

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 Networking

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:

  1. Identify and eliminate the source of REST API.
  2. 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
  3. Once you have identified and eliminated the source of REST API, Reboot NSX Manager.