Questions tagged [deepstream.io]

Deepstream is a Node server that allows clients to sync data, whether they're browsers or mobile applications. It has a caching layer, and supports event-based messaging and RPC.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

User didn't receive any notification? (Deepstream.io)

When sending notifications in DeepstreamIO, if a user is offline and later reconnects, he will not see the notification. In addition to that records is empty. Can you please suggest any solution? I ...
0 votes
1 answer
42 views

Postgres permissions.yml for fileLoad(permissions.yml) CONFIG_ERROR

I am following the https://deepstream.io/tutorials/plugins/database/postgres/ I have create a testDB with owner and permission to user james In the conf/config.yml, I have the following configuration ...
0 votes
1 answer
595 views

Deepstream unable to use tee and use splitmuxsink to save video

unable to use tee and use splitmuxsink to save video ,below is the code and i get linking error while running the below snippet. im using tee to have 2-sinks ( video save and RTSP streaming) ...
0 votes
1 answer
79 views

Cannot connect to DeepStream Node.js server if using any custom plugins

So, if I use my DeepStream server as the following const {Deepstream} = require('@deepstream/server') const server = new Deepstream({ server.start() it's working just fine I can connect to it from ...
1 vote
1 answer
260 views

Who is using deepstream in production? [closed]

Are there companies using this technology in production? I would like to find some benchmarks and use cases. We are considering switching to deepstream with mongo from our current firebase setup. But ...
  • 1,670
0 votes
2 answers
166 views

Trying to install deepstream.io via npm

I installed deepstreamhub via npm package, while using commands on node.js command prompt i got some error. error:-no git binary found in $PATH. I think i have properly installed npm package but i got ...
0 votes
1 answer
113 views

Deepstream 1 - n relation

I'm trying to build a user notification using Deepstream.io. I'm using deepstream.io-storage-mongodb for storage. My data structure: User ================= id - email - others Notication ============...
-2 votes
1 answer
265 views

App crashes on connection change using deepstream

While i'm changing connection, my app crashes and shows the following stacktrace: E/AndroidRuntime: FATAL EXCEPTION: Timer-3 Process: com.app.teemchat, PID: 9383 io.deepstream....
user avatar
0 votes
1 answer
119 views

How to dynamically register a RPC provider?

I'm wondering how can I make dynamic RPC call in DeepStream? For example, when a subscriber call a url http://localhost/myRPCApp/123 , here 123 could be anything. So how can I register a provider ...
0 votes
2 answers
265 views

Where to get "'<YOUR APP URL>'" from deepstream

All: I am trying to follow the tutorial on deepstreamhub there is one section talking about how to add deepstream in, new Vue({ el: '#app', data: { ds: null, }, created: ...
  • 11k
2 votes
1 answer
401 views

How to set up project with docker and deepstream.io?

https://github.com/PhillippOhlandt/deepstream-turn-based-game-demo I cloned this repo and am trying to get it up and running but think I am missing a step. I run npm install inside the folder, and I ...
3 votes
1 answer
639 views

Unable to connect to deepstream server from website over HTTPS

As the title mentions, I am unable to connect to deepstream server from a website which is served over HTTPS. I am able to connect it through local server though. Initially I was getting following ...
1 vote
1 answer
710 views

How to setup a Deepstream service in Kubernetes and have a client connect to it?

I have a working kubernetes cluster, and I'd like to setup a deepstream service on it. I created the following deployment yaml: apiVersion: extensions/v1beta1 kind: Deployment metadata: name: ...
  • 55
3 votes
0 answers
101 views

deepstream.io List subscribe() not triggering

using deepstream.io: 3.1.1 and deepstream.io-client-js: 2.3.0 updates on List are not propagating when using list.addEntry('some-id'), instead to get notifications of changes I must use list....
  • 141
1 vote
1 answer
370 views

Deepstreamhub problems with creating apps

I've been unable to create new apps (or signup for a new ones) on deepstreamhub.com There are no responses on their slack channel and no responses from support. Are anyone out there running serious ...
1 vote
1 answer
645 views

deepstream.io redis & rethink not ready

I am trying to set up deepstream.io. My goal is to have a 4 docker container: deepstream the deepstream search redis rethink Redis as well as rethink are running and are accepting connections. ...
1 vote
1 answer
543 views

Deepstream.io on Kubernetes cluster

Is it possible to deploy DeepStream and Redis on multi-node cluster using Kubernetes? Docker Compose option is available in DeepStreamHub (https://deepstreamhub.com/open-source/install/docker-compose/...
0 votes
1 answer
385 views

Deepstream.io. Node Api vs NodeJS SDK

I have one misunderstanding with Deepstream.io. It has both NodeJS SDK (which can make client for deepstreamHub from my node application) and NodeApi, which allows to install deepstreamHub as npm ...
  • 1,418
0 votes
1 answer
190 views

Connecting deepstream nodes directly

Deepstream docs: For smaller clusters it used to be possible to connect deepstream nodes directly in a full-mesh configuration (everyone-to-everyone). This feature has been deprecated in its ...
1 vote
1 answer
299 views

Nodejs deepstream connection failure

I am currently following some NodeJS & Deepstream.io.client-js tutorials. But an error occurs while trying to login to the server. I have no idea what that error means but here it is! const ...
-2 votes
1 answer
437 views

How to implement chat on deepstream.io?

I'm trying to implement a real chat using deepstream.io. Online many tutorials do deal with one single chat room that's shared between users, but the problem with this is, if one user deletes a ...
1 vote
3 answers
474 views

deepstream error listen EADDRINUSE 127.0.0.1:6020

i try to run my first deepstream.io server from this link but i get this error : error: CONNECTION_ERROR | Error: listen EADDRINUSE 127.0.0.1:3003 PLUGIN_ERROR | connectionEndpoint wasn't ...
  • 7,765
1 vote
2 answers
58 views

Integrate with Telerik Nativescript

I am trying to integrate deepstream.io with NativeScript but I am not able to get it to work successfully. There is also no sample code about integration between NativeScript and deepstream.io. I am ...
0 votes
1 answer
105 views

Is it possible to use mutual TLS with deepstream.io?

I'd be interested in using mutual TLS between deepstream.io server and deepstream.io-client-js clients. I know deepstream.io's tutorials mention leaving SSL termination to a load balancer like Nginx ...
  • 69
0 votes
1 answer
266 views

Cocos2d js (Cocos2d x 3.14) on android with deepstream io

Have anyone use cocos2d js with deepstream io ? I tried to use deepstream client js but it seem to be fail when try to connect server via network (websocket) : this is adb log: 06-06 09:43:19....
1 vote
1 answer
60 views

Delete event not emitted

I'm using a basic Deepstream setup with RethinkDB, but for some reason the delete event is never emitted when a record is deleted? var x = window.deepstream.record.getRecord('test1'); x.subscribe(...
  • 109
0 votes
1 answer
151 views

publish Rethinkdb changefeeds to deepstrem and subscribe from client

I was wondering if I can set rethinkdb changefeeds in deepstream io and subscribe to this from frontent for each and every client . I do not want to use rethinkdb as deepstream storage . Here is the ...
1 vote
1 answer
514 views

Deepstream query with MongoDB

I have been looking around in the internet on how to query MongoDB using Deepstream. I followed their documentation but it is not working, here is my sample code: const testQuery = JSON.stringify({ ...
1 vote
2 answers
498 views

deepstream list subscribing to data

is it possible in deepstream to subscribe to data using a list? it appears that changes to the data does not trip the subscribe() function, only something like an addEntry() appears to affect the ...
  • 1,367
1 vote
1 answer
393 views

SPA with Deepstream.io HTTP authentication for a login page

Im new in programming and Im trying to use deepstream authentication for a real username and password (already built its API with Hash). It should only redirect to the next page when uses those ...
0 votes
3 answers
701 views

Unable to connect to deepstream

I am new user to deepstream.io and I am trying to run the example from the below deepstream site https://deepstream.io/tutorials/core/getting-started-quickstart/ But after starting the deepstream ...
  • 11
0 votes
1 answer
297 views

Multiplayer Game Server Using deepsream

I get to know that we can use List to make different rooms/lobby over server. I am new to server side development. I am bit confuse now. Like i need to make list(rooms) at server side. So which module ...
0 votes
1 answer
423 views

Live update of new RethinkDB table entries using Deepstream (on Node JS)

Disclaimer: This is potentially a very nooby and redundant question, but I spent a day searching the web and couldn't find a single answer... What I'm trying to do: I'm building an Instant Messaging ...
  • 23
0 votes
1 answer
182 views

How to use deepstream records to select ds-lists

I have a problem with the selection of ds lists in my polymer application. I have a functioning list of chat titles (implemented as deepstream records), which should be used to select the matching ...
2 votes
1 answer
173 views

Is it possible to broadcast objects via Deepstream.io?

For an application i need to broadcast JavaScript objects to synchronizise an array of two (or more) devices, but im not sure if it's possible, and when yes how it is possible.
0 votes
1 answer
316 views

Rooms creation in Node JS for a Multiplayer Games Using Deepstream

We are making a game server for casino games over DeepStream, We are writing it in Node JS . I am using DeepStream List to make rooms with a minimum and maximum limit of the clients(List count). A ...
0 votes
1 answer
276 views

Realtime queries in deepstream "cache" layer?

I see, that by using RethinkDB connector one can achieve real time querying capabilites by subscribing into specifically named lists. I assume, that this is not actually the fastest solution, as the ...
  • 103
0 votes
1 answer
213 views

Deepstram.io client has a delay on one Android device. Any ideas on how to avoid it?

I tried searching for similar problems, and I found a similar problem here, with no real solution : socket.io seems to be delayed on my Android phone I'm building a hybrid app (crosswalk), that uses ...
  • 1
0 votes
1 answer
219 views

RPC class without authentication

I'm trying to make a RPC call to a deepstream server, which require authentication, here is the config: #Authentication auth: type: http options: endpointUrl: http://localhost:3000/...
0 votes
1 answer
2k views

Nodejs: expected expression, got '<'

I'm currently using deepstream with nodejs. Right now, I'm following the tutorial here to get use to the new library: deepstream tutorial However, I'm getting an error once I finish the RenderDOM ...
  • 107
0 votes
1 answer
324 views

deepstream is it possible to publish from my server, without opening a client connection in a browser

I am somewhat confused in deepstream, is it possible to communicate to a client from my server? For example, is there any way to do something like this on a server? I am currently opening a client ...
  • 1,837
0 votes
1 answer
470 views

Connection closed before receiving a handshake response with deepstream + express

I wanted to test deepstream with express. Found this template https://github.com/deepstreamIO/ds-tutorial-express But when I run it I get the error message: Connection closed before receiving a ...
2 votes
1 answer
431 views

How does one correctly set up a server based deepstream RPC provider?

I am building a SOA with deepstream and I want to use a deepstream client server to perform API-KEY based look ups that the user should not know. How do I actually set up an RPC client provider? I ...
  • 158
1 vote
1 answer
749 views

What is the diff between data-sync and pub-sub in Deepstream

All: I am pretty new to deepstream, on its website, it described in core concepts section as: data-sync Interactive JSON documents that can be edited and observed. Changes are persisted and ...
  • 11k
0 votes
1 answer
91 views

How to tell which provider to choose

All: I am pretty new to Deepstream, when I try its example of request-response https://deepstream.io/: // remote procedure call for "times-three" with 7 client.rpc.make( "times-three", 7, function( ...
  • 11k
1 vote
1 answer
268 views

Atomic RPC calls

Could you tell me if an RPC is executed atomically? For example making a transaction between two accounts, I would have an RPC such: 1. client.rpc.provide('xfer', (data, response) => { 2. var ...
  • 43
-2 votes
1 answer
658 views

Any tutorial about express.js and deepstream work together [closed]

All: As title asked, I am pretty new to Express and Deepstream, I wonder how can I make them work together( Or they have to work separately? )? In Deepstream guide section ( https://deepstream.io/...
  • 11k
1 vote
1 answer
622 views

Deepstream.io - Server callback when client disconnects?

I'm building a Multiplayer game with Deepstream using an Authorative server model. My server is just another Node.JS client. Is there any way for my server to find out if any of the connected clients ...
  • 117
0 votes
1 answer
292 views

Does deepstream clients unsubscribe when disconnecting?

From the docs: The listen-callback is called with isSubscribed = true once a matching event is subscribed to for the first time and with isSubscribed = false once the last subscriber for a ...
  • 5,411
1 vote
1 answer
228 views

Does deepstream requires login after reconnect?

I am building a service which would depend on maintaining a unique session ID for the connected clients. Currently I am using the login() method to return sessionID as a part of userData from ...
  • 5,411