NSX Edge Load balancer returns 400 bad request if URL includes Japanese character
search cancel

NSX Edge Load balancer returns 400 bad request if URL includes Japanese character

book

Article ID: 330226

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

Symptoms:
  • NSX Edge Load Balancer returns 400 Bad Request if URL includes Japanese character.
  • You can not get the expected response only when you use IE but you can if you use Chrome and Firefox.
  • It works fine if URL is percent-encoded.
  • In the Edge log file, you may see messages similar to:
YYYY-MM-DDThh:mm:ss+00:00 edge loadbalancer[x]: [default]: [local0.info] x - - [DD/MM/YYYY:hh:mm:ss +0000] "<BADREQ>" 400 xxx "" "" x x "x" "x" "<NOSRV>" -1 -1 -1 -1 0 PR-- 0 0 0 0 0 0 0 "" ""


Cause

When NSX Edge Load balancer is runnning with L7 Engine and using HTTP protocol, Edge looks contents in the HTTP request and assumes that URL is percent-encoded. If URL is not encoded, Edge return 400 Bad Request.

Resolution

Confirm URL is percent-encoded.

If you access from IE or an outdated browser, use the latest version of Chrome or Firefox in order to guarantee URL encoding.