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

Record listening - unsolicited message error when all clients unsubscribe #531

Closed
jdmnd opened this issue Jan 11, 2017 · 0 comments
Closed
Assignees
Milestone

Comments

@jdmnd
Copy link
Contributor

jdmnd commented Jan 11, 2017

When providing a record using ds.record.listen(), if:

  1. a remote client subscribes to the record, triggering a subscribe on the provider and

  2. the provider subscribes to the record locally and

  3. the remote client unsubscribes

then:

  1. the provider's record subscription triggers a resubscribe on the listen callback and

  2. the provider receives the error message: Error: UNSOLICITED_MESSAGE: foo/bar (R)

  3. No error is logged on the server

What should happen:

The provider's record subscription is ignored.


This issue first occurred in master in commit e7eea7c
and affects releases: v2.1.0, v2.1.1, v2.1.2

The referenced commit includes a fix for issue #476

@jdmnd jdmnd added the bug label Jan 11, 2017
@yasserf yasserf added the roadmap label Feb 7, 2017
@yasserf yasserf added this to the 2.1.3 milestone Feb 7, 2017
jaime-ez pushed a commit to jaime-ez/deepstream.io that referenced this issue Feb 20, 2024
[task] do not depend on browser or nodejs URL api [fix] export DeepstreamClient as object property in bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants