Skip to content

Issue with database find/get when running a pouch DB sync server #2

@brewsoftware

Description

@brewsoftware

Hi,
I'm having an issue where the stream server can't find the named database on the server

stream._sendReply(seq, new Error('No allowed database named ' + dbName));

Where the dbName is actually null and the DB returned is undefined. For some reason the whole 'dbs' object has gone missing in the process.

Through debugging at a higher level I can see that the DB is being setup correctly and everything looks good but when the call comes through from the client, the databases don't appear to be there and the dbname is null..

I've looked back through all the way to pouch-stream-multi-sync as well so I'm not sure where this issue is coming from. Any help would be appreciated. Could it be that the client isn't authenticated properly.

I also have another websocket connection on a different port so I'm not sure if this would get in the way as well.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions