Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.2.2 create error #684

Open
RahulChand028 opened this issue Nov 26, 2022 · 4 comments
Open

v2.2.2 create error #684

RahulChand028 opened this issue Nov 26, 2022 · 4 comments

Comments

@RahulChand028
Copy link

RahulChand028 commented Nov 26, 2022

TimeoutError: timeout
at translateCppError (/home/aubergine/workspace/auth/node_modules/couchbase/dist/bindingutilities.js:184:20)
at /home/aubergine/workspace/auth/node_modules/couchbase/dist/connection.js:248:76 {
cause: LibcouchbaseError: libcouchbase error 201
at translateCppError (/home/aubergine/workspace/auth/node_modules/couchbase/dist/bindingutilities.js:178:21)
at /home/aubergine/workspace/auth/node_modules/couchbase/dist/connection.js:248:76 {
code: 201
},
context: KeyValueErrorContext {
status_code: 4,
opaque: 2,
cas: CbCas { ‘0’: <Buffer 00 00 00 00 00 00 00 00> },
key: ‘Admins::0c96eccf-a58d-4266-b2a2-85fbdb61d031’,
bucket: ‘KartStash’,
collection: ‘admins’,
scope: ‘users’,
context: ‘’,
ref: ‘’
}
}

getting this error while creating document in DB. nodejs version is 16.16.0 and ottoman version is 2.2.2 and using capella.

read query works fine. having issue in create / save.

@gsi-alejandro
Copy link
Collaborator

hi @RahulChand028

Can you provide the schema, model, and create the statement you are using in order to reproduce this issue?

@RahulChand028
Copy link
Author

connection
create state ment
modal

it gives error for sometime than it start working.

@AV25242
Copy link
Contributor

AV25242 commented Dec 5, 2022

One suggestion @RahulChand028
Do you have the scopes and collection already created or do you expect Ottoman to create them? I am asking this because there could be a lag in creation of scopes and collections if you want it to be created during start. Did you try (just as an experiment) create scope and collections manually first and then start your application. See if you still get the error.

@RahulChand028
Copy link
Author

RahulChand028 commented Dec 6, 2022

Scope and collection are already created. I am just trying to connect with capella.

Read / find query working fine but when I ran save/create I gives the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants