http - haproxy streaming response code 400 -


i have rest api sitting on openshift behind haproxy returns response code 400 if user doesn't enter required parameter. result haproxy doesn't work @ , throws following error:

server express/local-gear down, reason: layer7 wrong status, code: 400,  info: "http status check returned code <3c>400<3e>", check duration: 1ms. 0 active , 0 backup servers left. 0 sessions active, 0 requeued, 0 remaining in queue. 

returning response code 200 error works fine feels wrong...

is there way achieve sending 400 response through haproxy? or check?

the message appears haproxy health check failing. believe either have add special handler url haproxy health check request pinging returns 200, or if url serves different purpose, change haproxy configuration use different url returns 200. discussion see:


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -