Questions tagged [kuzzle]

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.

51 questions
1
vote
1 answer

Is it possible to declare a pipe on an API action of another plugin?

Is it possible from a pipe of an A plugin to interfere with the response of a B plugin? Use case: I want to use the status cluster route to check the number of nodes in the cluster. Problem is that it displays the IPs of the nodes and I'd like to…
1
vote
1 answer

Issue with kuzzle custom strategy

I got a Unable to log in using the strategy "SSO" while building a custom authentication strategy, I used the create hook to create my user when required. Everything went well including my hook: async create(_request: any, credentials: { id:…
ScreamZ
  • 581
  • 4
  • 16
1
vote
1 answer

How to send pdf file from Kuzzle plugin response?

I'm using Kuzzle as a backend for all my business logic for a mobile application and multiple websites. On one website, I need to download a PDF containing multiple reports. To stay in the same architecture, I want to achieve this in a custom Kuzzle…
1
vote
1 answer

kuzzle / react native - Cannot inherits class from BaseController

I'm trying to extends the KUZZLE JavaScript SDK in order to call some controllers on kuzzle servers, implemented via plugins. I'm following that guide: add controller Here is my controller which extends from the BaseController: const {…
Hubert Solecki
  • 2,611
  • 5
  • 31
  • 63
1
vote
1 answer

How to attach extra data to user (for password reset) with Kuzzle

I want to make a reset password feature on a Kuzzle stack but I don't know where to put extra data (like a token for reset password) in the user document. Furthermore, the user should not be able to change the data itself. Should I use…
Thomas Arbona
  • 976
  • 5
  • 11
1
vote
1 answer

Connexion object singleton in react native

I'm trying to create a singleton service class in which I instanciate a connection object, which connect to the backend, in order to reuse the connection object in every component, so I've done that: const { Kuzzle, WebSocket } =…
Hubert Solecki
  • 2,611
  • 5
  • 31
  • 63
1
vote
1 answer

How to use file upload with Kuzzle

I use Kuzzle as a backend for my progressive web app and I wanted to do some file upload. As far I can see, Kuzzle does not support server side file storage. How can I upload images from my application and then display them to other users?
E.Berthier
  • 83
  • 5
0
votes
1 answer

Failed to run image. Error invoking remote method 'docker-run-container': Error: (HTTP code 400) unexpected - No command specified

I am having trouble with docker, i had an image which i imported using the following command: docker image import C:\Users\****\Downloads\imagename-b1.tar imagename-b1:latest And when i try to run image/container, for the image it gives this…
0
votes
1 answer

Kuzzle-SDK-SearchResult query

I am currently trying to SearchResult query in kuzzle android sdk earlier it was working but after upgrading the version I have an error when I perform SearchResult I get following error : java.util.concurrent.ExecutionException:…
0
votes
1 answer

Kuzzle / how to dispatch event only to subscribed user based on a condition

I'm looking for the best approach to dispatch event to subscribed user based on user info condition. My use case is: user with username = "A" subscribed to doc_created events…
Screwt-k
  • 1
  • 2
0
votes
1 answer

How to make kuzzle-device-manager plugin API actions works?

I successfully installed and loaded kuzzle-device-manager in the backend file: import { Backend } from 'kuzzle'; import { DeviceManagerPlugin } from 'kuzzle-device-manager'; const app = new Backend('playground'); console.log(app.config); const…
d.cruveiller
  • 113
  • 7
0
votes
1 answer

Updating a kuzzle doc

I have a kuzzle document with a json like this: j00: { '1': 'dsds', '2': 'rer', '5': 'yytyh hgvhg', '8': 'koo kllkl vv' } currently i'am doing this to update a key : kuzzle_doc = await get_kuzzle_doc(i,c,d); current_value =…
ibstelix
  • 103
  • 7
0
votes
0 answers

Error: Unable to connect to kuzzle server at 127.0.0.1:7512: Connection lost. (ws status=503)

i receive lot of : [kuzzle networkError] : Error: Unable to connect to kuzzle server at 127.0.0.1:7512: Connection lost. (ws status=503) since i start using apikey from createApikey, may it be related to a bad usage of the token ? seems to happen…
ibstelix
  • 103
  • 7
0
votes
1 answer

Kuzzle JS SDK how to use the S3 Plugin

I'm looking for help in using the Kuzzle JS SDK (node JS) Websocket protocol to upload a file to the S3 Plugin. I see the HTTP JS example here https://github.com/kuzzleio/kuzzle-plugin-s3/blob/master/test/s3-upload-test.html But I'm looking for a…
Chris Jackson
  • 718
  • 1
  • 6
  • 14
0
votes
1 answer

Running start-kuzzle-server fails with error

user1@DESKTOP-8FGN:~/kuzzle/kuzzle$ ./bin/start-kuzzle-server internal/modules/cjs/loader.js:818 throw err; ^ Error: Cannot find module '../index' Require stack: - /home/user1/kuzzle/kuzzle/bin/start-kuzzle-server at…
Esw
  • 1
  • 2