Details
Description
Curling the maxParallelIndexers URL causes the "web request failed" server error
Steps to reproduce:
1. Install build#1468
2. Curl the maxParallelIndexers URL:
curl -v 'http://Administrator:password@localhost:9000/settings/maxParallelIndexers'
Following error is returned:
deepkaran@ubuntu12:~/workspace/couchbase-2.0/testrunner$ curl -v 'http://Administrator:password@10.3.121.99:8091/settings/maxParallelIndexers'
- About to connect() to 10.3.121.99 port 8091 (#0)
- Trying 10.3.121.99... connected
- Connected to 10.3.121.99 (10.3.121.99) port 8091 (#0)
- Server auth using Basic with user 'Administrator'
> GET /settings/maxParallelIndexers HTTP/1.1
> Authorization: Basic QWRtaW5pc3RyYXRvcjpwYXNzd29yZA==
> User-Agent: curl/7.21.4 (x86_64-unknown-linux-gnu) libcurl/7.21.4 OpenSSL/1.0.1 zlib/1.2.3.4
> Host: 10.3.121.99:8091
> Accept: /
>
< HTTP/1.1 500 Internal Server Error
< Server: Couchbase Server 2.0.0-1468-rel-enterprise
< Pragma: no-cache
< Date: Fri, 20 Jul 2012 01:05:04 GMT
< Content-Type: application/json
< Content-Length: 44
< Cache-Control: no-cache
< - Connection #0 to host 10.3.121.99 left intact
- Closing connection #0
Below error can be seen in the logs:
[menelaus:warn] [2012-07-19 18:05:04] [ns_1@127.0.0.1:<0.412.0>:menelaus_web:loop:379] Server error during processing: ["web request failed",
,
,
{what,{json_encode,{bad_term,{value,4}}}},
{trace,
[
,
,
,
,
,
,
,
]}]
Diagnostics are attached.
Attachments
For Gerrit Dashboard: MB-5965 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
18958,2 | MB-5965 Unbreak settings/maxParallelIndexers. | master | ns_server | Status: MERGED | +2 | +1 |