You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run my own meshblu server and I have three devices as below:
Device A: e660ead1-8cb4-43df-844e-a78527068727
Device B: 4a237098-8138-40fd-be34-b09a59ad8f0f
Device C: c0661e74-be9e-48e3-9355-61b25ee986b5
I use Device A to send a message to Device B and expect Device C can also receive that message by creating "message.received" subscription.
I use the meshblu-http-core-adapter-http-streaming to get the message but only Device C have the message delivered, not the Device C.
Could you help me to make it work? Thanks a lot.
Message sent by Device A:
{"devices":["4a237098-8138-40fd-be34-b09a59ad8f0f"],"payload":"test"}
Device B streaming result:
curl -X GET http://localhost:3002/subscribe --header "meshblu_auth_uuid:4a237098-8138-40fd-be34-b09a59ad8f0f" --header "meshblu_auth_token:da27762ecf18ed66cfa5b401d2156b7343203684"
{"devices":["4a237098-8138-40fd-be34-b09a59ad8f0f"],"payload":"test","fromUuid":"e660ead1-8cb4-43df-844e-a78527068727"}
Device C stream:
_curl -X GET http://localhost:3002/subscribe --header "meshblu_auth_uuid:c0661e74-be9e-48e3-9355-61b25ee986b5" --header "meshblu_auth_token:c05e217dc9fd54a6a572a45c5c1c1d5f88f0f259"
(no message received)
I run my own meshblu server and I have three devices as below:
Device A: e660ead1-8cb4-43df-844e-a78527068727
Device B: 4a237098-8138-40fd-be34-b09a59ad8f0f
Device C: c0661e74-be9e-48e3-9355-61b25ee986b5
I use Device A to send a message to Device B and expect Device C can also receive that message by creating "message.received" subscription.
I use the meshblu-http-core-adapter-http-streaming to get the message but only Device C have the message delivered, not the Device C.
Could you help me to make it work? Thanks a lot.
Message sent by Device A:
{"devices":["4a237098-8138-40fd-be34-b09a59ad8f0f"],"payload":"test"}
Device B streaming result:
curl -X GET http://localhost:3002/subscribe --header "meshblu_auth_uuid:4a237098-8138-40fd-be34-b09a59ad8f0f" --header "meshblu_auth_token:da27762ecf18ed66cfa5b401d2156b7343203684"
{"devices":["4a237098-8138-40fd-be34-b09a59ad8f0f"],"payload":"test","fromUuid":"e660ead1-8cb4-43df-844e-a78527068727"}
Device C stream:
_curl -X GET http://localhost:3002/subscribe --header "meshblu_auth_uuid:c0661e74-be9e-48e3-9355-61b25ee986b5" --header "meshblu_auth_token:c05e217dc9fd54a6a572a45c5c1c1d5f88f0f259"
(no message received)
Subscription:
{
"_id": "589c34120ef1fb462ee84b99",
"subscriberUuid": "c0661e74-be9e-48e3-9355-61b25ee986b5",
"emitterUuid": "4a237098-8138-40fd-be34-b09a59ad8f0f",
"type": "message.received"
}
Device B whitelist:
{
"_id": ObjectId("589c32380d432e588c133a78"),
"online": false,
"meshblu": {
"whitelists": {
"message": {
"received": [
{
"uuid": "c0661e74-be9e-48e3-9355-61b25ee986b5"
}
],
"from": [
{
"uuid": "*"
}
]
}
},
"version": "2.0.0",
"createdAt": ISODate("2017-02-09T09:11:20.323Z"),
"hash": "mTZGAPDi8r4Lk3PTeLe42Kp0aCR5PRBJz125Ek6exnU="
},
"uuid": "4a237098-8138-40fd-be34-b09a59ad8f0f",
"token": "$2a$08$EeQeZow9GtlEBWUzRhYKhut67ic0NbVJhDIiE6MtducJ/yEUUowZe"
}
The text was updated successfully, but these errors were encountered: