Comments on: Streamlined, Manual JSON Parsing in Swift https://ushipblogsubd.wpengine.com/shipping-code/streamlined-manual-json-parsing-swift/ Tue, 15 Jul 2025 19:45:43 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Rajalakshmi Krishnamurthy https://ushipblogsubd.wpengine.com/shipping-code/streamlined-manual-json-parsing-swift/#comment-493 Mon, 24 Oct 2016 10:13:00 +0000 https://ushipblogsubd.wpengine.com/?p=6424#comment-493 Hi,
Nice post, its works perfect for the single host machine. But for Multiple host with Micro service it is not working, where all host have consul and nginx but the micro service instance is not present in all host which is the usual case. In this particular scenario , the consul template provide all IP’s associated to the service to nginx, since IP’s are local IP which will be present only in the particular host. The nginx tries to load balance to ip which received from consul, but when the respective IP is not present in the same host. We get 502 Bad gateway error from NGINX, any thoughts or solutions on this.

]]>