WHOWAS Replying 406

If your UnrealIRCd is up and running but you have a question about it, then use this forum.
(NOT for installation or connecting issues! Use the other forum instead.)

Moderator: Supporters

Post Reply
fearcry
Posts: 7
Joined: Sat Sep 26, 2020 10:08 am
Location: Germany
Contact:

WHOWAS Replying 406

Post by fearcry »

Hello,
i get always a 406 Error Reply if i request a User with raw "WHOWAS <nick>" Command, on both cases if a User have quit some times before OR this user is online.

The Server (UnrealIRCD 6.03) is set to WHOWAS:1

Do i have to set something else in my Server-Config ?


cheers

fearcry
Syzop
UnrealIRCd head coder
Posts: 2025
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: WHOWAS Replying 406

Post by Syzop »

What do you get if you type this on the shell in your unrealircd-x.y.z compile directory?

Code: Select all

grep HISTORY config.settings
fearcry
Posts: 7
Joined: Sat Sep 26, 2020 10:08 am
Location: Germany
Contact:

Re: WHOWAS Replying 406

Post by fearcry »

hello,
i'm on windows server and installed a ready compiled software.
Syzop
UnrealIRCd head coder
Posts: 2025
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Re: WHOWAS Replying 406

Post by Syzop »

On Windows UnrealIRCd keeps 2000 entries in total of whowas history. Where 1 entry is used on every QUIT or nick-change. So how long you can read back depends on how many users are actively quiting or nick-changing.
I have not tested it, though.

Do you think it is not reaching this 2000 and is happening much sooner? If so, how soon?
fearcry
Posts: 7
Joined: Sat Sep 26, 2020 10:08 am
Location: Germany
Contact:

Re: WHOWAS Replying 406

Post by fearcry »

Hello,
i set on UnrealIRCD for checking my own Client-Programming. We are just 5 Users and not linked to any other Servers.

So let me say: no we doesn't reach this 2000 Items. I updated to UnrealIRCD6 just one Month ago if i remind correctly,
i have no clue of the amount of quits or nickchanges since the Serverstart, but never 2000.

I understand it following now:

UnrealIRCD store a Database or StringList for a WHOWAS/WHOIS/WHO History and save every Quit and NickChange.
So, if one of our Users quit the Server, there must be an Item for it inside this History-List.

If i make a Request for this User like /whowas <User> the Server should respond the last Item of this Users History?
Then it seems that this History-List is empty or not working, it would explain this 406 Error Reply for me.

cheers

fearcry
Post Reply