TTS plugin not running

Hi,

Since 1rst November my TTS plugin is stopped and I was unable to restart it.
I created a new one but it remains in “Starting” status, not Running.
From TTS side, I have errors “Fail to send webhook”, and the Event details indicate: “status_code”: 404
All Token and path seem correct
Please help me,
Thanks

Hello @consulting4iot,

I deleted the plugin of your account and created it again, currently it’s running correctly. Just make sure to change the new path in TTS webhook.

Please keep in mind that when you’re creating the plugin, you’ll need to access the plugin settings, navigate to the decoder section, and ensure you click on “Save and make it live” to activate it, allowing incoming data to be received.

Alejandro

Hi @alejomora7
Possible that I didn’t click on “Save and make it live” after creating the new one.
I changed the path and it seems that all work properly now.
Thanks for your help
Frederic

Hi again @alejomora7
I have now this error: “Request: Operation timed out”
Any idea ?

@consulting4iot

But this error is in Ubidots or TTS? I can see correctly logs on your plugin and there is no any timeout error. If you have an image it would help me.

Alejandro

@alejomora7
This error is in TTN, please look at the image

@consulting4iot

I made some changes in your plugin’s decoder. The main function has to be labeled as:

async function formatPayload(args) { }

And you had modified it for function format_payload(args) { }

At the end of the code, the other change is module.exports = { formatPayload };

I ran the test payload and it worked correctly. Please verify again with TTN.

Alejandro

1 Like

Thank you @alejomora7
It is well working now
I dodn’t understand why it was previously working until end of october.

@consulting4iot

Perfect, great new!

Hi,

my application worked well from January until November 2nd.
Since then my TTS plugin is stopped and I was unable to restart it.
I created several times a new one but it remains in “Starting” status, not Running.
When I click on “Save and make it live” to activate it, I get the message “The plugin deploying process was started successfully” Afterwords I click on"Test run" and get the message "Error executing the parser ‘logs’. Wehn I click on “Logs” I get the message "Sorry something went wrong obtaining your logs.

From TTS side, I have errors “Fail to send webhook”, and the Event details indicate: “status_code”: 404
All Token and path seem correct
Could you help me please,
Thanks

Hello @HoFo

Could you please share to me your account’s username?

Alejandro

Hello Alejandro,

thank you very much for your message.
The problem has been solved in the meantime. I have deleted and recreated my plugin several times. On Nov 26 I was successful and everything works again as before. I suspect it was related to the move to the AWS servers.

Since my Ubidots Community account was on “hold” until Dec 27, because of my new membership , my post from Nov 11 was only published now.

Horst

Perfect @HoFo, great to hear that is working correctly now!

Best regards,

Alejandro