Beantwoord

Error in the portal when sending to node red

  • 7 juli 2017
  • 10 reacties
  • 570 keer bekeken

Hi,

When i send a normal or test payload to my node red installation i receive this without any errors. But after a while the Developer portal shows a popup with the following error and increments the 'count unreachable counter':

Server returned HTTP response code -1

Response info:
Error in sending rest post to developer url https://"noderedservername"/lorapost, for device 0059AC00001808D1, payloadhex 000030. Error details: org.apache.http.NoHttpResponseException "noderedservername" failed to respond


Anybody knows why?
icon

Beste antwoord door Barry Knobel 11 juli 2017, 13:14

Hi @Rick S.,

I've found it. You have to create a 'HTTP Response' in Node Red. Everything is working fine now!
Bekijk origineel

10 reacties

Reputatie 5
Badge +5
Hi @Barry Knobel,

Welcome to the business forum!

I noticed that the url is not how it should be. I wonder if you changed the url yourself and put the 'nodeservername' in it? If so, that could be the reason why you get the error.

I look forward to your reply.
Hi @Barry Knobel,

Welcome to the business forum!

I noticed that the url is not how it should be. I wonder if you changed the url yourself and put the 'nodeservername' in it yourself? If so, that could be the reason why you get the error.

I look forward to your reply.


Hi @Rashid,

Thanks. I changed the URL in the message a posted by myself, because i don't want to make my URL public.

And i also mentioned that i receive the payload, so the URL is correct.
Reputatie 5
Badge +5
@Barry Knobel

I see that you received the message 'account unrechable'. It means when you send 10 messages and the messages are not being delivered the Lora device gets deactivated.

You should check in your application server why it's not working.
@Barry Knobel

I see that you received the message 'account unrechable'. It means when you send 10 messages and the messages are not being delivered the Lora device gets deactivated.

You should check in your application server why it's not working.


Rashid,

The message are coming in, without any problems. I know about the limit of 10 messages.
I've followed the node red tutorial, think there's something wrong in it. Do i need to create an HTTP Response Output?
Reputatie 5
Badge +5
@Barry Knobel,

Good to see that everything works well. That means the connection works fine. I really would like to tell you what you should do and what causes the error. But I don't have a clue. I recommend you look into the application server.
@Barry Knobel,

Good to see that everything works well. That means the connection works fine. I really would like to tell you what you should do and what causes the error. But I don't have a clue. I recommend you look into the application server.


@Rashid
But the error i get is generated by the KPN back-end. Maybe one of you're colleagues have any ideas?
Reputatie 7
Badge +11
Hello @Barry Knobel,

I haven't seen this error yet. We will have a look at the error and return our findings.
Reputatie 6
Badge +6
Hi @Barry Knobel,

I have discussed the issue with our LoRa Specialists and we have some questions for you.
The error you get means that the Developer Portal has sent data to the url and has not received an answer. Does the server "understand" what should happen with the received data?

And I am wondering if you have tested with Hookbin before you started with the node red server?
Hi @Rick S.,

I've found it. You have to create a 'HTTP Response' in Node Red. Everything is working fine now!
Reputatie 6
Badge +6
Hi Barry,

Excuse me for my late response!
Great to hear that you found the issue and you successfully fixed it yourself 😁
If I can help you with anything else, you now know where to find me! 😉

Reageer