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

Photons subscribed to SSEs do not return data #55

@chuank

Description

@chuank

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions