Dear fred users community,


We have been trying to configure web whois after we have upgraded fred database.

We have been receiving  Bad Request 500 error.

Please ,we request to get assistance from fred users community.

Apache access logs;

tail -f access.log
129.227.134.6 - - [14/Nov/2022:11:04:23 +0300] "GET /whois HTTP/1.1" 200 1524 "https://www.google.com/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5106.0 Safari/537.36 Edg/104.0.1287.1"
196.216.162.82 - - [14/Nov/2022:11:04:44 +0300] "POST /whois/ HTTP/1.1" 302 5081 "https://whois.tznic.or.tz/whois" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36"
196.216.162.82 - - [14/Nov/2022:11:04:44 +0300] "GET /whois/object/pns.co.tz/ HTTP/1.1" 500 330 "https://whois.tznic.or.tz/whois" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36"
216.144.248.18 - - [14/Nov/2022:11:05:20 +0300] "HEAD / HTTP/1.1" 302 4943 "https://whois.tznic.or.tz/" "Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)"
216.144.248.18 - - [14/Nov/2022:11:05:21 +0300] "HEAD /whois HTTP/1.1" 200 587 "https://whois.tznic.or.tz/" "Mozilla/5.0+(compatible; UptimeRobot/2.0; http://www.uptimerobot.com/)"
35.246.2.112 - - [14/Nov/2022:11:08:11 +0300] "GET /rdap/domain/kariakooexpress.tz HTTP/1.1" 200 7979 "-" "GuzzleHttp/6.5.5 curl/7.29.0 PHP/5.6.40"
129.227.134.6 - - [14/Nov/2022:11:09:17 +0300] "GET / HTTP/1.1" 302 5014 "https://www.google.com/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5106.0 Safari/537.36 Edg/104.0.1287.1"
129.227.134.6 - - [14/Nov/2022:11:09:18 +0300] "GET /whois HTTP/1.1" 200 1522 "https://www.google.com/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5106.0 Safari/537.36 Edg/104.0.1287.1"
129.227.134.6 - - [14/Nov/2022:11:09:20 +0300] "POST /whois/ HTTP/1.1" 302 355 "https://whois.tznic.or.tz/whois" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5106.0 Safari/537.36 Edg/104.0.1287.1"
129.227.134.6 - - [14/Nov/2022:11:09:20 +0300] "GET /whois/object/duhosting.co.tz/ HTTP/1.1" 500 335 "https://whois.tznic.or.tz/whois" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5106.0 Safari/537.36 Edg/104.0.1287.1

tail -f error.log
[Mon Nov 14 11:07:21.467113 2022] [:error] [pid 6071] (32)Broken pipe: [client 127.0.0.1:52854] Error when sending response
[Mon Nov 14 11:07:23.469423 2022] [:error] [pid 6068] [client 127.0.0.1:52888] Whois usage error: Too many search keys.
[Mon Nov 14 11:07:23.469608 2022] [:error] [pid 6068] (32)Broken pipe: [client 127.0.0.1:52888] Error when sending response
[Mon Nov 14 11:07:25.472207 2022] [:error] [pid 5964] [client 127.0.0.1:52910] Whois usage error: Too many search keys.
[Mon Nov 14 11:07:25.472387 2022] [:error] [pid 5964] (32)Broken pipe: [client 127.0.0.1:52910] Error when sending response
[Mon Nov 14 11:07:27.474728 2022] [:error] [pid 6027] [client 127.0.0.1:52920] Whois usage error: Too many search keys.
[Mon Nov 14 11:07:27.474881 2022] [:error] [pid 6027] (32)Broken pipe: [client 127.0.0.1:52920] Error when sending response
[Mon Nov 14 11:07:28.476112 2022] [:error] [pid 5960] [client 127.0.0.1:52922] Whois usage error: Too many search keys.
[Mon Nov 14 11:07:28.476306 2022] [:error] [pid 5960] (32)Broken pipe: [client 127.0.0.1:52922] Error when sending response
[Mon Nov 14 11:07:36.321257 2022] [:error] [pid 5968] [client 192.3.251.168:36330] Request is not terminated by <CR><LF>

tail -f fred-webwhois.log
[pid: 4885|app: 0|req: 14014/29877] 154.74.144.3 () {76 vars in 1392 bytes} [Mon Nov 14 01:51:10 2022] GET /whois => generated 2564 bytes in 26 msecs (HTTP/1.1 200) 6 headers in 317 bytes (2 switches on core 0)
[pid: 4885|app: 0|req: 14015/29878] 154.74.144.3 () {82 vars in 1520 bytes} [Mon Nov 14 01:51:12 2022] POST /whois/ => generated 0 bytes in 2 msecs (HTTP/1.1 302) 6 headers in 194 bytes (1 switches on core 0)
[pid: 4885|app: 0|req: 14016/29879] 154.74.144.3 () {76 vars in 1468 bytes} [Mon Nov 14 01:51:12 2022] GET /whois/object/zanzibeer.tz/ => generated 27 bytes in 33 msecs (HTTP/1.1 500) 5 headers in 157 bytes (1 switches on core 0)
[pid: 4885|app: 0|req: 14017/29880] 216.144.248.18 () {66 vars in 1138 bytes} [Mon Nov 14 01:55:21 2022] HEAD /whois => generated 2564 bytes in 26 msecs (HTTP/1.1 200) 6 headers in 317 bytes (1 switches on core 0)
[pid: 4885|app: 0|req: 14018/29881] 216.144.248.18 () {66 vars in 1138 bytes} [Mon Nov 14 02:00:21 2022] HEAD /whois => generated 2564 bytes in 26 msecs (HTTP/1.1 200) 6 headers in 317 bytes (1 switches on core 0)
[pid: 4885|app: 0|req: 14019/29882] 129.227.134.6 () {78 vars in 1489 bytes} [Mon Nov 14 02:03:25 2022] GET /whois => generated 2564 bytes in 25 msecs (HTTP/1.1 200) 6 headers in 322 bytes (1 switches on core 0)
[pid: 4885|app: 0|req: 14020/29883] 129.227.134.6 () {88 vars in 1736 bytes} [Mon Nov 14 02:03:31 2022] POST /whois/ => generated 0 bytes in 47 msecs (HTTP/1.1 302) 6 headers in 194 bytes (1 switches on core 0)
[pid: 4885|app: 0|req: 14021/29884] 129.227.134.6 () {82 vars in 1670 bytes} [Mon Nov 14 02:03:31 2022] GET /whois/object/mail.tz/ => generated 27 bytes in 60 msecs (HTTP/1.1 500) 5 headers in 162 bytes (2 switches on core 0)
[pid: 4885|app: 0|req: 14022/29885] 129.227.134.6 () {80 vars in 1578 bytes} [Mon Nov 14 02:03:35 2022] GET /whois => generated 2564 bytes in 24 msecs (HTTP/1.1 200) 6 headers in 322 bytes (2 switches on core 0)
[pid: 4885|app: 0|req: 14023/29886] 129.227.134.6 () {78 vars in 1558 bytes} [Mon Nov 14 02:04:23 2022] GET /whois => generated 2564 bytes in 22 msecs (HTTP/1.1 200) 6 headers in 322 bytes (2 switches on core 0)
[pid: 4885|app: 0|req: 14024/29887] 196.216.162.82 () {88 vars in 1746 bytes} [Mon Nov 14 02:04:44 2022] POST /whois/ => generated 0 bytes in 2 msecs (HTTP/1.1 302) 6 headers in 191 bytes (2 switches on core 0)
[pid: 4885|app: 0|req: 14025/29888] 196.216.162.82 () {82 vars in 1685 bytes} [Mon Nov 14 02:04:44 2022] GET /whois/object/pns.co.tz/ => generated 27 bytes in 40 msecs (HTTP/1.1 500) 5 headers in 157 bytes (2 switches on core 0)

Thank you,

Patrick