I would like to ask, the request for calling through the nginx payload interface cannot be requested, and it can be called normally with haproxy. Why?

problem description

currently there is an interface based on soap protocol. If I use nginx to configure the load call, I will not be able to connect
the error is as follows. I can check the wsdl normally in the browser.
clipboard.png
then I use haproxy as the load, which can be called normally. Can there be a great god? can you give me some answers?

nginx configuration

upstream other{
    server 192.168.184.23:48080 weight=5;
}

server {
    listen       48084;
    server_name  192.168.184.129;

    -sharpcharset koi8-r;

    -sharpaccess_log  logs/host.access.log  main;

    location / {
        proxy_pass http://other;
        
    proxy_set_header Host $host;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    client_max_body_size 10m;    -sharp
    client_body_buffer_size 128k;  -sharp
    proxy_connect_timeout 90;  -sharpnginx()
    proxy_send_timeout 90;        -sharp()
    proxy_read_timeout 90;         -sharp()
    proxy_buffer_size 4k;             -sharpnginx
    proxy_buffers 4 32k;               -sharpproxy_buffers32k
    proxy_busy_buffers_size 64k;    -sharpproxy_buffers*2
    proxy_temp_file_write_size 64k;  -sharpupstream
    root   html;
    index  index.html index.htm;
    }

haproxy configuration

-sharplogging options

global

log 127.0.0.1 local0 info
maxconn 5120
chroot /usr/local/haproxy
uid 99
gid 99
daemon
quiet
nbproc 20
pidfile /var/run/haproxy.pid

defaults

log global
-sharp4" mode http" 7
mode tcp
-sharpif you set mode to tcp,then you nust change tcplog into httplog
option tcplog
option dontlognull
retries 3
option redispatch
maxconn 2000
contimeout 5s
 -sharp-sharp 60 HA 
 clitimeout 60s
 -sharp-sharp 15 HA 
 srvtimeout 15s    
< H1 > front-end IP for consumers and producters < / H1 >

listen other_cluster

bind 0.0.0.0:48083
-sharpTCP
mode tcp
-sharpbalance url_param userid
-sharpbalance url_param session_id check_post 64
-sharpbalance hdr(User-Agent)
-sharpbalance hdr(host)
-sharpbalance hdr(Host) use_domain_only
-sharpbalance rdp-cookie
-sharpbalance leastconn
-sharpbalance source //ip
-sharp
balance roundrobin
-sharp -sharpinter  22
    server user1 192.168.184.23:48080 check inter 5000 rise 2 fall 2
< H1 > configure haproxy web monitoring to view statistics < / H1 >

listen stats

bind 192.168.184.129:8100
mode http
option httplog
stats enable
-sharphaproxyhttp://localhost:8100/other-bomcbp
stats uri /other-bomcbp
stats refresh 5s

related codes

calling code

JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
Client client = dcf.createClient(wsdl_url);

HTTPConduit conduit = (HTTPConduit) client.getConduit();
HTTPClientPolicy policy = new HTTPClientPolicy();
policy.setConnectionTimeout(CXF_CLIENT_CONNECT_TIMEOUT);
policy.setReceiveTimeout(CXF_CLIENT_RECEIVE_TIMEOUT);
conduit.setClient(policy);

Object[] objects = new Object[0];
logger.info(":"+FUNCTION+":"+MODEL_ID+"TYPE:"+WORK_TYPE+"ID:"+EVENT_S_SEQ_ID);
objects = client.invoke(FUNCTION, MODEL_ID,WORK_TYPE,EVENT_S_SEQ_ID);
Jul.11,2022
Menu