[Solved ✅] Listener Problems
Hi there, im working actually in some prototypes based in composio utility, im trying have a listener active in my backend to execute some actions when the callback is shooted by the trigger, i found that the listener die in about 10 min, without none message, im not sure if im missing any configuration , but didnt found information about that, i mean, it works and if i keep triggering it it never die, but like happends with sockets if any time it stay some minuts (10-15 min) without any activity is like the listener die.
Im using python implementation and i tested alots of ways to try keep it alive, trying hard restart of the service is the only way i found.
any of you guys faced that and has any sugestion?
Thank you for anticipate!
20 Replies
Are you using a webhook or listener in the sdk?
multiple-amethystOP•5mo ago
sdk listener Soham
i made some hard tests about and in all the cases like it die
can show you a basic implementation if that can help
For the sdk listener if the program dies, it should auto stop. But when you restart the program we have a mechanism to auto start it. So you should not face any hiccup.
This is a bug then as autostart is not happening.
I will immediately correct this.
multiple-amethystOP•5mo ago
yes but if i keep my back running, the listener should not die no? or pehraps you force a time out?
The idea is after 15 mins of non usage, we kill it.
So if you keep running it should not die.
multiple-amethystOP•5mo ago
its just for understand the software life flux Soham
ahhh ok
Can you share you email
The account email.
multiple-amethystOP•5mo ago
sure i pass per private if you dont mind
also can extend you with some points more
Yes dm me.
Thanks a lot.
Appreciate it.
multiple-amethystOP•5mo ago
btw just a question, if the listener is running but i dont get any triggering after 15 min it should die becouse you cut right?
i did understand correctly right?=
Yes that's correct
If no usage in 30 mins usually triggers a timeout.
multiple-amethystOP•5mo ago
ya probably tahts the main problem im facing, i need service full time active or restart the listener, problem is need hard restart the full software, probably for that use case the better option be the webhook from the panel, i assume there are not any time line problem right?
Yes but we will solve this immediately and make sure it works as you expect. Sorry for the trouble.
multiple-amethystOP•5mo ago
ohh great so will can use sdk as i need? ohhh many thx mate!
Yes.
multiple-amethystOP•5mo ago
thx Soham !
exotic-emerald•5mo ago
Hey @Zekm - we have fixed it. Can you give it a shot and let me know if you face any issues.
multiple-amethystOP•5mo ago
It like working perfectly now
Many thanks
exotic-emerald•5mo ago
Great!
Also, Would love to hear any feedback on our docs/dashboard!
multiple-amethystOP•5mo ago
For sure I will be happy to help as I can