Closed apraga closed 1 year ago
I've used both Bitlbee with and without lipurple (according to #285 ) but it does not help.
There shouldn't be any need for setting :pass. As you can see from the debug log a PASS command is sent, but no NickServ command. If you remove the :pass line, the NickServ command should be tried instead and successfully authenticate you.
Thanks for the answer. :pass
was a result of a series of test. Removing it still does not connect properly to bitlbee.
I also tried with and without lagmon because I had a warning without it.
Warning (emacs): Unknown option :lagmon-disabled, ignored
I modified my inital report to have a minimal working example without doom-emacs.
Thanks for adjusting the report, but it doesn't contain the new log. What does it say now?
The log is the same as far as I can see. I've updated it for good measure.
I've just fought this too, you need to also set nickserv-mask
. I have the following block, and it seems to work:
:nickserv-mask "root!root@localhost"
:nickserv-nick "ecraven" :nickserv-password "XXX" :nickserv-identify-challenge "command to identify yourself."
:nickserv-identify-command "PRIVMSG &bitlbee :identify {password}" :nickserv-identify-confirmation "Password accepted, settings and accounts loaded"
That doesn't make sense, the default nickserv-mask
is "\\(bitlbee\\|root\\)!\\(bitlbee\\|root\\)@"
:
(string-match "root!root@localhost" "root!root@localhost") ;=> t
(string-match "\\(bitlbee\\|root\\)!\\(bitlbee\\|root\\)@" "root!root@localhost") ;=> t
Are you sure it's not something else?
edit: Here's a redacted log (password and buddy list have been removed): bitlbee.log
edit2: I've noticed in the original log that the IRC message from the server is malformed:
Expected: "S: :localhost NOTICE :BitlBee-IRCd initialized, please go on" Actual: "S: : NOTICE :BitlBee-IRCd initialized, please go on"
Looking at the bitlbee source code, this appears to be either getsockname
or getpeername
returning an empty string. An empty servername leads to irc--parse
returning nil
as sender, which gives the "from nil" messages. Which appears to be invalid according to the grammar given on https://modern.ircdocs.horse/#source. At the very least, Circe should catch this kind of mistake so that it's more apparent and people can contribute proper logs to investigate what is going wrong. Can you please also include a log?
how sure are you about that default? I see
(defvar circe-nickserv-mask nil
"The regular expression to identify the nickserv on this network.
Matched against nick!user@host.")
in circe.el, and on my machine circe-nickserv-mask
is nil
.
circe-20221126.1508
EDIT: ok, my bad, I've just found circe-network-defaults
, which does set some settings for bitlbee.. however, I've defined my own bitlbee settings in circe-network-options
. how are those two merged? mine is called "bitlbee" (lowercase b), maybe that's the problem?
After some testing, the network needs to be named "Bitlbee" exactly (uppercase B), then I only set nickserv-password
, nothing else, and everything works fine for me ;)
Yeah, it is. That makes your issue different from the original problem OP reported. Change it to "Bitlbee" and things should just work™.
@apraga Are you still using Bitlbee and running into this issue?
@wasamasa I am not using Bitlbee at the moment so cannot test this issue anymore. Feel free to close it if needed. Thanks.
Hi guys, I can connect to bitlbee without any issue using ERC. Here is my minimal working example for circe
When i start circe, I only have a screen with
Instead of the usual flurry of text. Setting irc-debug-log to true gives :
Any advice ? Thanks
Edit : new version with minimal working example