라벨이 oracle cloud load balancer 502 error인 게시물 표시

Load Balancer 502 error's Solution

이미지
Client and Load Balancer could get HTTP 502 error. So, In my opinion, there are two solutions. (You should do a lot of test for this) 1. For Long Transaction, Load Balancer's Idle Timeout < Target Server's Keepalive Time-out     -> I think.. difference of about 10 seconds is good 2. Other case, Disable Target Server's Keepalive. You can check this with TCP dump and Wireshark.     [Ex - if you use 8001 as service port..]     ->  tcpdump -i ens3 tcp port 8001 -G3600 -w %Y%m%d%H%M%S.pcap     -> Open above XXX.pcap file with Wireshark     -> You can see "Connection: close" as bellow.. Thanks.