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
2
votes
1 answer

Integrating OAuth with Kuzzle

I want use an OAuth provider to authenticate requests to my kuzzle instance. What is the standard or preferred way to do this?
hydroid
  • 33
  • 6
1
vote
3 answers

How to re-render a component when a non state object is updated

I have an object which value updates and i would like to know if there is a way to re-render the component when my object value is updated. I can't create a state object because the state won't be updated whenever the object is. Using a ref is not a…
itishermann
  • 27
  • 1
  • 10
1
vote
1 answer

Kuzzle "reconnected" event not triggering

I have a question about JS Kuzzle SDK and the "reconnected" event. In my team we are looking to build a service that connects to a Kuzzle instance and needs to run "indefinitely". This means we need to handle disconnection and reconnection. We used…
Bforting
  • 11
  • 2
1
vote
1 answer

Why receiving a zip file from kuzzle with the js sdk does not work?

I want to send a zip from my kuzzle backend so i wrote that in my backend: // Generate zip file const zip = new JSZip() zip.file(filename, zipData) const finalZipFile = await zip.generateAsync({ type:"nodebuffer", …
d.cruveiller
  • 113
  • 7
1
vote
1 answer

How to use elasticsearch query with searchUsers function in Kuzzle?

i set a property called type in some users with the kuzzle console, now i want to search for user who have the type set to user so i use a query for searching user. Here is my code: const resultUsers = await kuzzle.security.searchUsers({ query: { …
d.cruveiller
  • 113
  • 7
1
vote
1 answer

Who to declare plugins for update kuzzle V1 to kuzzle V2

I currently use version 1 of kuzzle and i will be using version 2. I have a problem because i have overloaded the back part with a plugin (declared in the enabled folder in V1). However in v2 i do not see where to declare the plugins. I are…
1
vote
1 answer

Kuzzle shuts down on its own

I am trying to use Kuzzle 2.13.3 using docker on a 8GB RAM 4vCPU self-managed cloud instance. Everything seems fine, except that the Kuzzle node shuts down on its own after random period of time. Here are the logs towards the…
1
vote
1 answer

Is it possible to automatically queue the requests until kuzzle is back online (using JS SDK)

sometimes requests are sent while the server is disconnected this leads to errors like: Error: Unable to execute request: not connected to a Kuzzle server. Discarded request: ... Or whats the best practice to handle that kind of situations…
ibstelix
  • 103
  • 7
1
vote
0 answers

Handling multiple oauth strategies for same kuzzle account

Using the kuzzle auth passport oauth plugin, how would you handle having multiple social providers able to login to the same Kuzzle account? I got the login working with Facebook and Google, and I let users create an unique username for their…
1
vote
1 answer

Kuzzle: How to use "_kuzzle_info" to sort documents

I need to get the latest 100 documents from a specific collection so i used the search function and created from _kuzzle_info to sort documents by their date of creation but i think i have an issue with nested items as created is inside…
d.cruveiller
  • 113
  • 7
1
vote
0 answers

SSL handshake aborted when trying to connect to Kuzzle server

I'm using Kuzzle with his Android SDK (3.0.10) to receive notifications with the pub/sub system. In Android 5 and 6, when I try to connect to the server an error callback is executed with the message: {"message":"SSL handshake aborted:…
1
vote
1 answer

Kuzzle - inter-plugins communication (via method calls)

Is there a way with Kuzzle, to make two plugins communicate with each other? Let's say a plugin A wants to call a method of a plugin B at boot time, or even runtime for some use cases. How can I do that ? For now, there is no way to retrieve a…
1
vote
1 answer

java.lang.RuntimeException: org.json.JSONException: JSONObject["_source"] not found. #Kuzzle

I am trying to update the document using java sdk, when I run my code kuzzle status is connected, it update the fields but neither comes in onSuccess() nor onError(). when I again request to updateDocument(), kuzzle state change from connected to…
1
vote
1 answer

Get request Content-Length on kuzzle search javascript-sdk

i wondering how can i get the Content-Length size when i call kuzzle.document.search. Any help? Thanks
cklinx
  • 23
  • 11
1
vote
1 answer

Kuzzle getUser by JWT Token generated early

I have Integrated kuzzle in ReactJS app using Kuzzle-SDK Everything works Fine first. I Login using kuzzle.auth.login('local', credentials) and save the JWT Token in localStorage and kuzzle.auth.getCurrentUser() return { "profileIds": [ …