nicolasff / webdis

A Redis HTTP interface with JSON output
https://webd.is
BSD 2-Clause "Simplified" License
2.82k stars 307 forks source link

400 in webdis.log #120

Closed inovikovmfg closed 8 years ago

inovikovmfg commented 8 years ago

Hello nicolasff,

Was hoping you could help to figure out a problem. I have a GAE application communicating with Redis through Webdis. Having the application debugged in the test environment I have moved it to the real environment ( 10-20 HTTP requests per second ). Immediately in the GAE logs I saw lots of 400 HTTP status codes ( along with normal 200 codes ). So I checked webdis.log ( verbosity was set to 6 by default, also I tried 4 what was mentioned to be the most detailed ) as well, but all I found were the same 400s. Example:

[2317] 28 Jul 15:09:42 0 400

MONITOR command did not show any sign of 400s or other issues. What those 400s in the webdis.log actually mean? Any idea how I could approach the problem?

Thank you, Iliya.

inovikovmfg commented 8 years ago

That was due to some string parameters appended to URL not being UTF-8 encoded. Sorry for disturbing.