Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4849

POST Issues - Error 500 return

$
0
0

Hello Haproxians.

I need your help.

I have a Haproxy server balancing between 2 IIS on the back, consuming webservices. And when I try to do a Layer7 check it always return a 500 error code. Can anyone help me on this?

Here are the details:

This is the wrong check:

listen KMAGENTO-SMART-CHECK
    bind *:7777
    #option httpchk POST /Kliper.asmx HTTP/1.1\nContent-Type:\ text/xml\n<?xml\ version="1.0"\ encoding="UTF-8"?><soapenv:Envelope\ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"\ xmlns:tem="http://tempuri.org/"><soapenv:Header\ /><soapenv:Body><tem:Flush\ /></soapenv:Body></soapenv:Envelope>
    option httpchk
#    http-check send meth POST uri /Kliper.asmx hdr Content-Type: text/xml body {<soapenv:Header\ /><soapenv:Body><tem:Flush\ /></soapenv:Body></soapenv:Envelope>}
    http-check send meth POST uri /Kliper.asmx hdr Content-Type: text/xml body {<soapenv:Envelope\ xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"\ xmlns:tem="http://tempuri.org/"><soapenv:Header/><soapenv:Body><tem:Flush/></soapenv:Body></soapenv:Envelope>}
    server pluton-bkp1-MAGENTO 192.168.10.21:9091 check http
    server pluton-bkp2-MAGENTO 192.168.10.166:9091 check http

and here’s the cfg file: https://gofile.io/d/8PkHIU

Please help.

Thanks a lot.

5 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 4849

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>