-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
After login, nothing happens #478
Comments
I also have this issue. By digging into devtools, I could see that the chkuser response is: {"error":true,"errorResult":{"message":"Name or password is incorrect.","stack":"Error: Name or password is incorrect.\n at Request._callback (/Users/pedroteixeira/projects/hospitalrun/hospitalrun-frontend/node_modules/nano/lib/nano.js:248:15)\n at Request.self.callback (/Users/pedroteixeira/projects/hospitalrun/hospitalrun-frontend/node_modules/request/request.js:200:22)\n at emitTwo (events.js:106:13)\n at Request.emit (events.js:191:7)\n at Request.<anonymous> (/Users/pedroteixeira/projects/hospitalrun/hospitalrun-frontend/node_modules/request/request.js:1067:10)\n at emitOne (events.js:101:20)\n at Request.emit (events.js:188:7)\n at IncomingMessage.<anonymous> (/Users/pedroteixeira/projects/hospitalrun/hospitalrun-frontend/node_modules/request/request.js:988:12)\n at emitNone (events.js:91:20)","name":"Error","error":"unauthorized","reason":"Name or password is incorrect.","scope":"couch","statusCode":401,"request":{"method":"GET","headers":{"content-type":"application/json","accept":"application/json"},"uri":"http://XXXXXX:XXXXXX@localhost:5984/_users/org.couchdb.user%3Aadmin"},"headers":{"date":"Tue, 24 May 2016 15:22:36 GMT","content-type":"application/json","cache-control":"must-revalidate","statusCode":401,"uri":"http://XXXXXX:XXXXXX@localhost:5984/_users/org.couchdb.user%3Aadmin"},"errid":"non_200","description":"couch returned 401"}} Before the chkuser request, the POST /_session request succeeded (CouchDB replied with BTW, I'm trying this with Node 4 and 6. |
@gr2m @pgte I cannot duplicate this. What version of couch are you using? |
@jkleinsc yup, that was it, solved for me. |
yup, same here. At what point does |
@gr2m |
@jkleinsc any reason as to why i'd be getting this error? In, the couchdb local tool, it shows that |
@chobberoni can you click on the headers tab and see what url it is trying to go to? |
@chobberoni In fauxton can you verify that there is a database called main and another one called config? Also, in the _users db there should be a user with the id org.couchdb.user:hradmin |
@jkleinsc I got it to work by manually creating the However, the thanks!!! <3 |
@chobberoni you fixed your problem? I'm getting the same error here using "hradmin" "test". |
@JoseCage i'm getting this same error, do yoy fixed it? |
Not. I didn't find a solution. |
i added admin and hradmin as admin users on fauxton's main db permissions, and it's working now |
Great. I'm not using anymore. But i'll remember if i need again. Thanks |
follow up for #475. I updated to latest master and updated all dependencies. The server does not crash anymore, but now nothing happens after signing in
The text was updated successfully, but these errors were encountered: