-
Notifications
You must be signed in to change notification settings - Fork 30
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
Bot never checks for messages #72
Comments
On first sight, your code looks fine and it seems like it is connecting fine to the REST API due to |
Trying to add simplicity, running the example/bot.py with the extras stripped out.
Same behavior. Something I didn't notice yesterday is that when running interactive, sending ctrl+c causes a call to /v1/receive before it exits
I tried adding a canary to the PingCommand
However, this
is not reflected in the api container log...? The only hit I see to receive is after KeyboardInterrupt
If I connect postman to the |
It was an issue with the cli in json-rpc mode fixed in upstream bbernhard/signal-cli-rest-api#572 |
Running into a weird issue here and I'm not sure where to start troubleshooting...
I've been running this setup for about a year now without issue but earlier today I noticed the bot wasn't responding to messages, both containers were alive and healthy.
I can see the bot checking for groups on startup, but it never goes further.
Debug logging shows a normal startup and then.... nothing. After a few minutes it prints a PING/PONG 0 bytes but none of the normal raw envelope messages.
I can send messages with postman so I think the signal api is working as intended
Starting the bot without registering any commands shows the same behavior. Same goes for running the example/bot.py
Watchtower does keep the container images fresh and both signalbot and the api updated recently though I didn't notice any different pulling and running the previous versions.
Normally after an update breaking something there's noise in the logs (and other users opening issues) but I can't find the smoking gun here.
Any help would be greatly appreciated!
signal-cli-rest-api logs:
bot logs:
docker-compose:
bot.py
The text was updated successfully, but these errors were encountered: