Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom DDP is broken across the board #19

Open
djlogan2 opened this issue Sep 21, 2022 · 0 comments
Open

Custom DDP is broken across the board #19

djlogan2 opened this issue Sep 21, 2022 · 0 comments

Comments

@djlogan2
Copy link

I see somebody else wrote about the odd character(s) prior to the json. I was having that problem before as well, and when Chrome issued a recent update, it broke custom DDP completely for that version.

But it gets worse. I have been trying to use any level of your packages (direct access, custom protocol, and jsonprotocol) now for days and days. I have installed, uninstalled, tried to develop a solution using all three.

There is no way to do it. Right now the biggest problem is line 72 of DirectStreamAccess.client.js:

} else { throw new Error('More than one onMessage handler detected'); }

I really need to be able to send a small number of custom DDP messages between the client and the server. Is there a solution?

exec /Users/davidlogan/.meteor/meteor --version
Meteor 2.7.3
davidlogan@DAVIDs-MacBook-Pro-2 .deploy % meteor list
exec /Users/davidlogan/.meteor/meteor list
accounts-password                 2.3.1  Password support for accounts
alanning:roles                    3.4.0  Authorization package for Meteor
aldeed:collection2                3.5.0  Automatic validation of Meteor Mongo insert and update operations on the client and server
dburles:factory                   1.1.0  Factories for Meteor
ecmascript                        0.16.2  Compiler plugin that supports ES2015+ in all .js files
es5-shim                          4.8.0  Shims and polyfills to improve ECMAScript 5 support
http                              1.4.4* Make HTTP calls to remote servers
hwillson:stub-collections         1.0.9  Stub out Meteor collections with in-memory local collections.
johanbrook:publication-collector  1.1.0  Test a Meteor publication by collecting its output.
lmieulet:meteor-coverage          3.2.0* Server and client coverage for Meteor
mdg:validated-method              1.2.0  A simple wrapper for Meteor.methods
meteor-base                       1.5.1  Packages that every Meteor app needs
meteorhacks:picker                1.0.3  Server Side Router for Meteor
meteortesting:mocha               2.0.3  Run Meteor package or app tests with Mocha
mizzao:user-status                1.0.1  User connection and idle state tracking for Meteor
mobile-experience                 1.1.0  Packages for a great mobile user experience
mongo                             1.15.0  Adaptor for using MongoDB and Minimongo over DDP
omega:json-protocol               1.0.1  JSON protocol to send arbitrary data over Meteor's websocket
ostrio:files                      2.3.0  Upload files to a server or 3rd party storage: AWS:S3, GridFS, DropBox, and other
patelutsav:meteor-migrations      0.0.6  Simple migration system for Meteor based on string version number.
react-meteor-data                 2.5.1  React hook for reactively tracking Meteor data
reactive-dict                     1.3.0  Reactive dictionary
reactive-var                      1.0.11  Reactive variable
reywood:publish-composite         1.7.3  Publish a set of related documents from multiple collections with a reactive join
shell-server                      0.5.0  Server-side component of the `meteor shell` command.
standard-minifier-css             1.8.2  Standard css minifier used with Meteor apps by default.
standard-minifier-js              2.8.1  Standard javascript minifiers used with Meteor apps by default.
static-html                       1.3.2  Define static page content in .html files
tracker                           1.2.0  Dependency tracker to allow reactive callbacks
typescript                        4.5.4  Compiler plugin that compiles TypeScript and ECMAScript in .ts and .tsx files
ultimatejs:tracker-react          1.0.5  No-Config reactive React Components with Meteor. Apply as composition, mixin or decorator.
universe:i18n                     1.32.6  Lightweight i18n, YAML & JSON translation files, React component, incremental & remote loading
xolvio:cleaner                    0.4.0  Gives you methods to clear your Mongo database and collections for testing purposes

                                              
* New versions of these packages are available! Run 'meteor update' to try to update those packages to their latest versions. If your packages cannot be updated further, try typing
  `meteor add <package>@<newVersion>` to see more information.```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant