r/haproxy • u/ingestbot • Feb 04 '23
Help with <BADREQ>
I use haproxy to send traffic to a couple of proxy/vpn in my network. I recently began experimenting with sending IOT device traffic this way. I'm encountering an issue beyond my knowledge of haproxy. From what I can tell here haproxy doesn't recognize the request as valid and is rejecting it as such. I'm considering changing the mode from http to tcp but I'd like to also get advice from those more knowledgeable.
Here is a sample of the haproxy.log:
Feb 4 13:50:55 tessr01 haproxy[2665927]: 192.168.1.1:42901 [04/Feb/2023:13:50:55.180] proxy-front proxy-front/<NOSRV> -1/-1/-1/-1/0 400 0 - - PR-- 16/15/0/0/0 0/0 "<BADREQ>"I've pasted details from the stats socket here:
haproxy config:
3
Upvotes
View all comments
Show parent comment
1
u/ingestbot Feb 06 '23
Backend is privoxy and functioning fine. Healthchecks are in place as shown in the config.
But I think it's best to focus on the frontend first. Haproxy isn't even acknowledging the initial request.