Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Photons subscribed to SSEs do not return data #55

Open
chuank opened this issue Aug 7, 2015 · 1 comment
Open

Photons subscribed to SSEs do not return data #55

chuank opened this issue Aug 7, 2015 · 1 comment
Labels

Comments

@chuank
Copy link

chuank commented Aug 7, 2015

I've tested my local cloud and spotted the following:

  • Photons are able to publish using the Spark.publish() routine
  • This same data can be read off the Cloud API (e.g. http://cloud.local:8080/v1/events/someVar?access_token=[accesstoken]
  • However, another Photon set up to subscribe to that published event will never receive the data

EDIT: running particle subscribe (pointed at the local cloud) does reveal that the 1st Photon's published events are being accepted by spark-server.

The same basic code works when tested against the Particle.io cloud.

@KarbonDallas
Copy link
Contributor

@chuank ah, this is a good find! Thank you for the bug report!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants