Page 1 of 1

WHOWAS Replying 406

Posted: Sun May 22, 2022 10:34 am
by fearcry
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 ?



Re: WHOWAS Replying 406

Posted: Tue May 24, 2022 6:21 pm
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

Re: WHOWAS Replying 406

Posted: Wed May 25, 2022 11:40 am
by fearcry
i'm on windows server and installed a ready compiled software.

Re: WHOWAS Replying 406

Posted: Wed May 25, 2022 4:08 pm
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?

Re: WHOWAS Replying 406

Posted: Wed May 25, 2022 6:22 pm
by fearcry
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.



Re: WHOWAS Replying 406

Posted: Tue Aug 09, 2022 8:25 pm
by fearcry
Hello, i fixed this Error in my own Clientcode, so you can close this Thread here.


•04:10:23• <RAW> [O]: WHOWAS 2 fearcry <- wrong placed Parameters raised 406
•04:10:23• <RAW> : 369 fear_check fearcry :End of WHOWAS

•04:18:23• <RAW> [O]: WHOWAS fearcry 2
•04:18:23• <RAW> : 314 fear_check fearcry BSIRC2954 * :BSIRC Version:
•04:18:23• <RAW> : 312 fear_check fearcry :Tue Aug 9 00:05:29 2022 <- timestring seems wrong placed in Reply
•04:18:23• <RAW> : 314 fear_check fearcry BSIRC2952 * :BSIRC
•04:18:23• <RAW> : 312 fear_check fearcry :Mon Aug 8 21:48:19 2022 <-
•04:18:23• <RAW> : 369 fear_check fearcry :End of WHOWAS

cheers fearcry