Questions tagged [ddp]

Meteor communication protocol

DDP is a protocol between a client and a server that supports two operations:

  • Remote procedure calls by the client to the server.
  • The client subscribing to a set of documents, and the server keeping the client informed about the contents of those documents as they change over time.
200 questions
0
votes
1 answer

Connection state is closed when sending authorization request using DDP protocol

I am using kenyee's Android DDP Client library to connect my Android application to a server running Meteor-JS. I've modified his Meteor.js Parties ANdroid Demo. I attempt to login with existing user credentials and get Login Error. Please, help! I…
naXa stands with Ukraine
  • 35,493
  • 19
  • 190
  • 259
0
votes
3 answers

Cannot Log into Meteor on iOS with ObjectiveDDP

I am trying out the objectiveDDP library to connect my iOS app to my Meteor app. I am running my meteor app on localhost:3000 and I am getting this error when I try to login: Error Domain=boundsj.objectiveddp.transport Code=0 "You are not connected"…
harinsa
  • 3,176
  • 5
  • 33
  • 53
0
votes
1 answer

Message order in Meteor DDP

Suppose the client goes offline. During that time, the following code executes: Messages.remove(oldMessage._id) Messages.insert(newMessage) When client goes online, is it guaranteed that remove will execute first, insert will execute second? In…
Denis Gorbachev
  • 507
  • 4
  • 12
0
votes
1 answer

Connection loss between Meteor and C nopoll application

I use nopoll (http://www.aspl.es/nopoll/) for my C application to communicate with Meteor. Meteor send periodically some ping message. When my application poll websocket, it replies with pong message : everything is find. Next, to avoid polling, I…
c.censier
  • 781
  • 7
  • 23
0
votes
1 answer

Meteor DDP SSL/Apache Proxy Connection

I have Debian host that runs my Meteor application on NodeJS that listens: 127.0.0.1:3999 I also have a domain register https://example.com that welcomed with Apache and proxied to my Meteor application. I have problem with DDP Connection. my…
0
votes
2 answers

Validate Subscription/Methods Origin

I used the DDP tool against crater.io using the command: ddp --host crater.io --port 80 subscribe postsList 10 I'm connect to DDP from my terminal, so it's really to crawl the entire website. I can easily build an API and suck data in real-time. I'm…
Mário
  • 1,603
  • 14
  • 24
0
votes
2 answers

Java - DDPClient exception

I am trying to connect to a running meteor application using a Java DDPClient. I am using this Java ddp client. I just added these couple of lines to the Android activity: DDPClient mDdp = new DDPClient(sMeteorIp, sMeteorPort); mDdp.connect(); but…
Stefano Piovesan
  • 1,185
  • 3
  • 19
  • 37
0
votes
1 answer

How can I know the number of the active DDP session in my meteor app?

In a Meteor App, how can I know the number of the active DDP sessions and get some information for them?
waitingkuo
  • 89,478
  • 28
  • 112
  • 118
0
votes
1 answer

Meteor - broken communication after ddp reconnect

I'm writing application consisting of two modules - client and server. Server publishes recordset and function, client subscribes on recordset and calls remote functions. Both modules run server side. Everything works as expected until the…
0
votes
3 answers

Ionic and WebSocket on Android

I have a meteor application running on port 3000. Then I have a ionic application serving a simple client.I want to see the data adeed in the meteor application in in the ionic application.I created a service: (function ()…
Stefano Piovesan
  • 1,185
  • 3
  • 19
  • 37
0
votes
1 answer

how to use normal websocket events in a meteor app?

I'm working on a multiplayer game that sends a lot of data over sockets, and using the meteor stack. What is the best way to hook into DDP to send/receive events, and act on them yourself? or should i try and mix normal websocket events in? Checking…
dcsan
  • 11,333
  • 15
  • 77
  • 118
0
votes
1 answer

Authenticate DDP Client using Node.js

A node.js DDP client (using node-ddp) calls a method insertMessage on the DDP server, which saves a document to mongodb. Meteor.methods({ 'insertMessage': function(msg) { Messages.insert({'msg':msg, 'userId': userId}) } }) How can…
Nyxynyx
  • 61,411
  • 155
  • 482
  • 830
0
votes
2 answers

Meteor.js DDP date into C# DateTime using Json.NET

Q: How do I make Json.NET successfully convert this json date structure to C# DateTime? Hello, I am trying to deserialize a return value from a method call on an existing Meteor.js app using the DDP protocol into a known/strict return structure. I…
Joao Carlos
  • 749
  • 1
  • 11
  • 32
0
votes
1 answer

Is it possible to pass your current user id to remote DDP server's `this.userId`?

I have two meteor apps that use the same database, one is a mobile app (primary) and the other is a desktop app. From the desktop app, I would like to call the remote mobile method to create a listing so that I don't have to duplicate code…
SkinnyGeek1010
  • 536
  • 7
  • 18
0
votes
1 answer

How should I connect an IRC bot and Meteor web interface?

I've got a few questions here regarding Node, IRC bots, and Meteor. I'm part of a gaming community that's starting to deal with Twitch.TV streaming, and as such have been asked (due to my love of programming) to write a custom bot to moderate…
MisutoWolf
  • 1,133
  • 1
  • 18
  • 33
1 2 3
13
14