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

downlink enqueueing error #4

Open
porzim opened this issue Jan 14, 2023 · 6 comments
Open

downlink enqueueing error #4

porzim opened this issue Jan 14, 2023 · 6 comments

Comments

@porzim
Copy link

porzim commented Jan 14, 2023

Hi, we are using the downlink node with chirpstack 4.01 and nod red 3.02 and lates version of the node. we get however always an "enque error" and no logs to understand where the problem is.
anything we are missing?
we noticed had to change the echo function to adapt to the new upling json format, may something need to be also updated in downlink node? thanks

@brocaar
Copy link
Collaborator

brocaar commented Jan 16, 2023

Which version of the node-red-contrib-chirpstack version are you using?

@porzim
Copy link
Author

porzim commented Jan 16, 2023 via email

@porzim
Copy link
Author

porzim commented Jan 16, 2023 via email

@brocaar
Copy link
Collaborator

brocaar commented Jan 16, 2023 via email

@porzim
Copy link
Author

porzim commented Jan 16, 2023 via email

@jcwren
Copy link

jcwren commented Sep 1, 2023

I'm running into this same issue. Using 4.1.1 with NodeRed v3.0.2. I have an inject node connected to a device downlink node. The API token was created using the web interface "API Keys" function, then pasted into the device downlink token field. The server is specified the same way I log into it (debresc.private.com:18080, as it's running in a container). The encoding is set to BASE64, and I'm not using TLS.

When I inject the following parameters into the device downlink node, it returns the Enqueue error: error, but there's no actual error text returned in the err variable from the client object. It doesn't matter if the payload is defined or not. When it's not defined I see the expected payload is undefined, assuming empty downlink frame message in NodeRed's log.

It doesn't appear that a topic is required, but that's not clear in the documentation. Additionally, while I understand the API key is global, that seems kind of odd. I would have thought an API key would be bound to a particular application, so there's less chance of a bad actor using the "Lighting" application sending messages to the "HVAC" application, etc. But that's likely a whole topic to itself.

{"_msgid":"a00b44f3e6aff38b","topic":"application/8/device/2d027433c50760ab/event/down","devEui":"2d027433c50760ab","fPort":2,"confirmed":true,"payload":"AA=="}

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

3 participants