Kuzzle is a high performance open source, on premise and cloud agnostic backend for IoT and modern apps featuring CRUD, real-time notifications, authentication, geofencing and a full featured cluster mode.
Questions tagged [kuzzle]
51 questions
3
votes
1 answer
What's the best practice of kuzzle.auth.createApiKey usage?
What's the best practice of kuzzle.auth.createApiKey usage ?
Call it outside the app to generate a token then put the token in env variable and use it (kuzzle.jwt = ) inside cade ?
or, call it in the code after the login to…

ibstelix
- 103
- 7
3
votes
1 answer
Which is better approach to send push notification in Kuzzle using hooks or subscription?
I’m using Kuzzle as backend for my realtime chat application.
What is the better approach to sending push notification when user is offline in a mobile chat app?
1. Using custom plugin hooks
// check for every message in chat
this.hooks = {
…

Keval Devani
- 31
- 2
2
votes
1 answer
Kuzzle / Minio example usage
Dose the Kuzzle or Minio development teams have a working example of using the Kuzzle S3 plugin for Minio? I have the following but my file isnt being uploaded and the pre-signed url is referring to…

Chris Jackson
- 718
- 1
- 6
- 14
2
votes
1 answer
How to append or remove an element from an existing array in kuzzle
Let's imagine this situation
Alice and Bob are connected to the same kuzzle server.
There is a document structured like this:
{
"nom": "Festival de l'automne",
"participants": [id1, id2, ...]
}
Alice and bob want to update the document nearly…

itishermann
- 27
- 1
- 10
2
votes
2 answers
Kuzzle create index with mapping when importing CSV date fields
I have a CSV file with:
fname,lname,age,phone,address,dob
chris,jack,51,656-724-7821,aaaaa,03/01/2016 12:00:01 AM
joe,freds,44,545-724-7821,fsdfds sdfsdfsf sdfsdf,03/01/2015 12:00:01 AM
and a mapping defined as:
const new1Mappings = {
…

Chris Jackson
- 718
- 1
- 6
- 14
2
votes
2 answers
Kuzzle create collection mapping not working
Using the kuzzle.collection.create('abc123', 'yellow-taxi', {definition});
to create a collection on an index. The collection gets created but the mappings arent applied.
Here is the code im using
const definition = {
mappings: {
…

Chris Jackson
- 718
- 1
- 6
- 14
2
votes
1 answer
How to create an enum on kuzzle admin console
I'm trying to create an enum field from the admin console but I can't achieve it right
I went through Elasticsearch's documentation but I don't really understand everything.
"ville": {
"type": "enum",
"typeOptions": {
"values":…

itishermann
- 27
- 1
- 10
2
votes
1 answer
Kuzzle S3 plugin / Minio cant connect
I have the following Kuzzle S3 Plugin config:
"s3": {
// AWS S3 bucket
"bucketName": "chris", // this is a bucket i created in Minio
"endpoint": "http://10.0.0.66:9000",
"s3ClientOptions": {
"s3ForcePathStyle": false
},
…

Chris Jackson
- 718
- 1
- 6
- 14
2
votes
1 answer
Kuzzle : Insufficient permissions to execute this action
i am using js sdk of kuzzle,
sometimes (after few days of running) all request fails and i get:
"Insufficient permissions to execute this action"
what's the best method to avoid it ?
Should i check the jwt token is still valid before request ?
or…

ibstelix
- 103
- 7
2
votes
1 answer
Kuzzle: Using X-pack to connect with Elasticsearch
I'm trying to use Kuzzle with X-pack authentication enabled on Elasticsearch.
I've tried looking through the documentation of Kuzzle and I'm assuming the X-pack password should be stored in the secrets vault and the configuration should be set in…

Pierre Minik
- 33
- 3
2
votes
1 answer
How can I validate a user exists in the kuzzle database given only and a of that user?
I am using kuzzle (2.6) as a backend to my app. I'd like to encrypt data stored to Kuzzle by the users of the app, and organize encryption keys separate from the database. The key holding entity (keyStore for short) should give keys only to users…

JCGN
- 23
- 2
2
votes
1 answer
Kuzzle [FORBIDDEN/12/index read-only / allow delete (api)];
I am having an unusual error suddenly when trying to write documents in my index in Kuzzle
[X] Errorindex [&datasensor.config] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];
Everything was working well until today. Any idea?

Jeno
- 128
- 6
2
votes
1 answer
How to use Kuzzle & GraphQL & Apollo & Realtime
I'm developing a set of services / applications to allow to manage Archery Tournaments.
It consist on a web application that would manage the creation of different tournaments, and will handle the subscription of archers as contenders, mailing and…

gpulido
- 113
- 3
- 9
2
votes
1 answer
How do I recover from an expired Kuzzle token server side?
I have a problem with the management of the jwt token from Kuzzle javascript SDK's auth controller. I'm a complete beginner in JS or Kuzzle, sorry for any bad assumptions.
I use a simple admin account on my Express server with the rights to register…

ChoKaPeek
- 151
- 9
2
votes
1 answer
Do I have to specify a mapping in order to use the document.search controller in Kuzzle?
I am using Kuzzle in order to build a simple slack-like application. I have a simple collection with documents only containing other documents ids.
I wanted to query a list of ids from this collection and got stuck with an empty hits array in the…

ChoKaPeek
- 151
- 9