Closed heywoodlh closed 3 years ago
For reference I also submitted an issue at the signald repository: https://gitlab.com/signald/signald/-/issues/126
Thank you for your report. Whatever happens there, an error in signald should not make the plug-in crash. I want to see if I can reproduce this in Pidgin.
Note: I recently stopped using this plug-in for myself since tinkering around with the sister-project purple-signal is more interesting. Hence I miss many bugs unless they are reported.
I am unable to reproduce this problem with Pidgin on Ubuntu. I am using the same version of signald, but I cannot forcibly trigger the "NonSuccessfulResponseCodeException" easily. Can you turn on debug logging in bitlbee? On Pidgin, this is done with the -d
switch. Everything signald-related between got newline delimited message: {"type":"version","data":{"name":"signald","version":"0.12.0…"}}
and the crash would be useful.
ahh I think know what this is. It seems like this is an issue with libpurple-signald calling get_user
too frequently. That hits a heavily rate limited endpoint, it seems. Here's another report of the same thing that said they would raise it here but I don't think actually did. Is there some reason libpurple-signald is calling get_user
?
ps. I consider the stack trace and bad error message to be a signald issue and intend to fix that at least
Hi Finn, thank you for being with me. I have no idea where that might come from. get_user is not even mentioned in the code.
Indeed... looks like it was removed a month ago. I wonder if both of these reports are just from users on an older version of the plugin? I'm debugging with @heywoodlh on IRC right now.
Possible, but unlikely. The request for get_user
was done once (after subscribing). That should not trigger any rate-limiting, should it not? Unless I had some other issue going on back then which caused the plug-in to unsubscribe and re-subscribe rapidly.
@heywoodlh reports on IRC that they were using this Dockerfile, which runs git checkout af18341
(a commit from July 2020) before building. Trying to rebuild with the latest master now.
@hoehermann I didn't notice that git checkout
line. I modified the Dockerfile and now I'm using master. Everything seems to be working properly using master. Sorry for the wild goose chase!
I'll submit a PR to https://github.com/ezkrg/docker-bitlbee-libpurple and modify the Dockerfile to just use master.
All good. If possible, chose the most recent tag instead. If that is not an option, using master is okay. Sometimes I break stuff. :|
Pull request has been submitted: https://github.com/ezkrg/docker-bitlbee-libpurple/pull/20
Just had the same issue with a package from AUR. Uninstalling the package and building libpurple-signald from source fixed the problem for me.
I am running Bitlbee-libpurple and signald in Docker containers. The bitlbee-libpurple container builds libpurple-signald from source so I should be on the latest version of libpurple-signald.
I am running into an issue that when I attempt to turn on the hehoe-signald account through Bitlbee via libpurple-signald then Bitlbee crashes.
Specifically when I execute
account hehoe-signald on
, Bitlbee crashes.I get the following error logs from signald:
I can send a message using the
signald.sock
socket file that is running in the finn/signald container from my Bitlbee container:(FYI I just sent a test message to myself) ^^
I'm able to send and receive my message using netcat without issue:
Since I'm able to interface with the
signald.sock
socket file without issue from my Bitlbee container this looks to me like an implementation issue with libpurple-signald.I would greatly appreciate any suggestions on how to fix this issue! :D