OS: windows 7, sync_gateway: 1.3.1-16, couchbase server: 4.5
$ curl -X PUT http://hostname:4985/pm/_user/myuser --data ‘{“email”:“myuser@gmail.com”, “name”:“myuser”, “password”:“password”, “admin_channels”:[“myuser”, “public”]}’
Response:
{“error”:“Internal Server Error”,“reason”:“Internal error: error executing view req at http://127.0.0.1:8092/pm/_design/sync_gateway/_view/access?key=“myuser”\u0026stale=false: 500 Internal Server Error - {“error”:“dcp_died”,“reason”:”{function_clause,\n [{couch_dcp_consumer,parse_header,\n [\u003c\u003c\“VER DAM \\\\”,\\\\“job_number\\\”\u003e\u003e],\n [{file,\n \“c:/Jenkins/workspace/sherlock-windows/couchbase/couchdb/src/couch_dcp/src/couch_dcp_consumer.erl\”},\n {line,43}]},\n {couch_dcp_client,receive_worker,4,\n [{file,\n \“c:/Jenkins/workspace/sherlock-windows/couchbase/couchdb/src/couch_dcp/src/couch_dcp_client.erl\”},\n {line,1185}]}]}""}
I have restarted couchbase server, sync gateway and box and still get same message. Per Jen of Mobile forum, it seems a couchbase server issue.