20:17:47.465386 HTTP: #1956: PUT /chat/_user/test1 (ADMIN)
20:17:47.465421 HTTP: #1956: --> 400 Invalid JSON: "unexpected end of JSON input" (0.0 ms)
20:19:40.201989 HTTP: #1957: PUT /chat/_user/test1 (ADMIN)
20:19:40.202036 HTTP: #1957: --> 400 Invalid JSON: "json: cannot unmarshal string into Go value of type bool" (0.0 ms)
20:20:02.251247 HTTP: #1958: PUT /chat/_user/test1 (ADMIN)
20:20:02.251299 HTTP: #1958: --> 400 Invalid JSON: "json: cannot unmarshal string into Go value of type bool" (0.0 ms)
20:28:34.987131 HTTP: #1959: PUT /chat/_user/test1 (ADMIN)
2014/07/07 20:28:34 http: panic serving
127.0.0.1:59355: Error hashing password: crypto/blowfish: invalid key size 2
goroutine 955 [running]:
net/http.func·009()
/usr/local/go/src/pkg/net/http/server.go:1093 +0xae
runtime.panic(0x419a80, 0xc210126770)
/usr/local/go/src/pkg/runtime/panic.c:248 +0x106
github.com/couchbaselabs/sync_gateway/rest.func·011(0xfc01d0, 0xc2101305a0, 0xc21012f000)
net/http.HandlerFunc.ServeHTTP(0xc21000a5e0, 0xfc01d0, 0xc2101305a0, 0xc21012f000)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
github.com/couchbaselabs/sync_gateway/rest.func·013(0xfc01d0, 0xc2101305a0, 0xc21012f000)
net/http.HandlerFunc.ServeHTTP(0xc2101b4180, 0xfc01d0, 0xc2101305a0, 0xc21012f000)
/usr/local/go/src/pkg/net/http/server.go:1220 +0x40
net/http.serverHandler.ServeHTTP(0xc2100a91e0, 0xfc01d0, 0xc2101305a0, 0xc21012f000)
/usr/local/go/src/pkg/net/http/server.go:1597 +0x16e
net/http.(*conn).serve(0xc21079cf00)
/usr/local/go/src/pkg/net/http/server.go:1167 +0x7b7
created by net/http.(*Server).Serve
/usr/local/go/src/pkg/net/http/server.go:1644 +0x28b