znc / znc

Official repository for the ZNC IRC bouncer
https://znc.in/
Apache License 2.0
2.01k stars 378 forks source link

Connecting znc to other bouncer doesn't reply queries #1638

Open 3v1n0 opened 5 years ago

3v1n0 commented 5 years ago

For various reasons (mostly having a bigger buffer log compared to what I would get + still keeping apps/web integration), I wanted to try to connect an instance of ZNC to my IRCCloud bouncers.

While for normal messages everything seem to work properly, when it comes to replay the incoming queries that I received when I was offline, this doesn't seem to work.

From what I saw running znc --debug the znc instance receives properly the PRIVMSG, but then once the first client connects to the znc instance, the message is not repeated to my clients (weechat and hexchat, but I didn't notice in the raw buffer either).

With both enabled and disabled AutoClear*Buffers result doesn't change.

I can provide a test connection to such bouncer if anyone can help with debugging it.

DarthGandalf commented 5 years ago

What version?

Sounds like buffer size for the user is 0

3v1n0 commented 5 years ago

Sorry, I wanted to submit such infos, but I think it was too late and I fogot.

Anyways, 1.7.1 version installed from snap store, I could even try 1.8.0git from there, but I don't think would change things.

Sounds like buffer size for the user is 0

Doesn't seem like that:

16:48 <Trevinho> Get AutoClearQueryBuffer $me
16:48 <*controlpanel> AutoClearQueryBuffer = false
16:48 <Trevinho> Get MaxQueryBuffers $me
16:48 <*controlpanel> MaxQueryBuffers = 100
16:48 <Trevinho> Get QueryBufferSize $me
16:48 <*controlpanel> QueryBufferSize = 1000

And in fact if I make the same server configuration to connect directly to freenode, everything works fine.

3v1n0 commented 5 years ago

Ah, one werid thing is that if I write something to myself with another user on freenode, and the query actually exists ther's no playbuffer:

16:38 <Trevinho> PlayBuffer TBAaaazzz
16:38 <*status> No active query with TBAaaazzz
guilhermepiccoli commented 4 years ago

Hi folks, thanks for the report @3v1n0 ! Is there any news on this one? I'm facing the exact same issue, but I'm using ZNC connected to matterircd, a mattermost proxy. Any hint on how to debug this would be greatly appreciated! Thanks!