Open art-in opened 6 years ago
For that error to occur, db.info()
needs to return undefined
, which is weird. Is there anything special to your setup? (PouchDB plugins, a special leveldb backend, etc.?)
@marten-de-vries
Nothing special, pouchdb-server
started without config file (only passing --host
, --port
, --dir
, --n
).
I have also experienced this error from time to time, 4.0.0. This issue was created a while back, any solutions?
Also seeing this happen pretty consistently.
FWIW, I did notice that info()
did complete correctly when I made the same request with curl
, and my investigation lead me to notice that it wasn't exactly the same request; I was making the request without a username and password from the browser, and that was triggering the
TypeError: Cannot set property 'instance_start_time' of undefined
error in the info()
handler.
I'm still not quite sure how that would make info()
resolve with undefined
, but oh well.
I'm not seeing the error anymore with a properly set Authorization
header.
Server sometimes (like 80% chance) starts to respond very slowly (from 15 sec to infinity) when using cookie authentication.
It did not happen for me before I've started using (any) authentication.
pouchdb-server
Actual: server responds very slowly, or does not respond at all. Only fix for this is to remove database and start from scratch.
When it happens, sometimes (like 10% chance) following error is thrown.
I'm using
pouchdb-server
for testing app auth in dev environment, and it is pain because of this.Backing off to full
couchdb
for now.pouchdb-server
v2.3.7 - v4.0.0, adapter leveldb, win7