<h2>Zabbix Connector fails after upgrade when HTTPS protocol and port 80 are configured together</h2><br/><div style="overflow-x:auto"><article><div ><h2 >Issue </h2><section><div class="ns-kb-css-body-editor-container"> <div> <div><span style="font-size: 10pt;"># Zabbix Connector fails after upgrade when HTTPS protocol and port 80 are configured together</span></div> </div> <span id="ns-kb-css-end-div-identifier" style="display: none; pointer-events: none;"></span></div></section></div><div ><h2 >Symptoms</h2><section><div class="ns-kb-css-body-editor-container"> <div> <div><span style="font-size: 10pt;">After upgrading to Zurich (or em-connector 2.15.0+), a Zabbix Connector Instance with protocol set to HTTPS and port set to 80 fails with a connection timeout error:</span></div> <br /> <div><span style="font-size: 10pt;">```</span></div> <div><span style="font-size: 10pt;">Request not sent to uri=[HOST]:80/zabbix/api_jsonrpc.php :</span></div> <div><span style="font-size: 10pt;">org.apache.commons.httpclient.ConnectTimeoutException:</span></div> <div><span style="font-size: 10pt;">The host did not accept the connection within timeout of 10000</span></div> <div><span style="font-size: 10pt;">```</span></div> <br /> <div><span style="font-size: 10pt;">The connector status shows **Error** and event collection from Zabbix halts.</span></div> </div> <span id="ns-kb-css-end-div-identifier" style="display: none; pointer-events: none;"></span></div></section></div><div ><h2 >Release</h2><section><div class="ns-kb-css-body-editor-container"> <div> <div><span style="font-size: 10pt;">Event Management Connector の Version 2.15.</span></div> </div> <span id="ns-kb-css-end-div-identifier" style="display: none; pointer-events: none;"></span></div></section></div><div ><h2 >Cause</h2><section><div class="ns-kb-css-body-editor-container"> <div> <div><span style="font-size: 10pt;">In em-connector version 2.15.0 and later (included in Zurich and subsequent releases), the Zabbix Metrics connector was updated to honor the literal port value specified in the Connector Instance configuration.</span></div> <br /> <div><span style="font-size: 10pt;">**Yokohama and earlier:** When HTTPS protocol was selected with port 80, a special case in `ZabbixMetricsV2_JS` silently converted port 80 to the standard HTTPS port (443). This allowed mismatched protocol/port combinations to work, though the configuration itself was technically incorrect.</span></div> <br /> <div><span style="font-size: 10pt;">**Zurich and later:** The special case was removed. The connector now honors the port value exactly as configured. An HTTPS connection to port 80 (a non-standard configuration) times out because no HTTPS service is typically listening on port 80.</span></div> </div> <span id="ns-kb-css-end-div-identifier" style="display: none; pointer-events: none;"></span></div></section></div><div ><h2 >Resolution</h2><section><div class="ns-kb-css-body-editor-container"> <div> <div><span style="font-size: 10pt;">## Resolution</span></div> <br /> <div><span style="font-size: 10pt;">Correct the Connector Instance configuration to match the actual port where Zabbix is listening:</span></div> <br /> <div><span style="font-size: 10pt;">**Option A (Recommended):** Change the port to **443**</span></div> <div><span style="font-size: 10pt;">- If using HTTPS protocol, Zabbix should typically be listening on port 443</span></div> <div><span style="font-size: 10pt;">- Update the port field in the Connector Instance to 443</span></div> <div><span style="font-size: 10pt;">- Save and test the connection</span></div> <br /> <div><span style="font-size: 10pt;">**Option B:** Adjust protocol to match your configuration</span></div> <div><span style="font-size: 10pt;">- If Zabbix is actually listening on port 80, change the protocol to **HTTP** (unencrypted)</span></div> <div><span style="font-size: 10pt;">- Verify this matches your deployment architecture and security policy</span></div> <div><span style="font-size: 10pt;">- Update the Connector Instance and test</span></div> <br /> <div><span style="font-size: 10pt;">## Prevention</span></div> <br /> <div><span style="font-size: 10pt;">When upgrading from Yokohama to Zurich or later:</span></div> <br /> <div><span style="font-size: 10pt;">1. **Audit Connector Instances** before or immediately after the upgrade</span></div> <div><span style="font-size: 10pt;">2. **Verify protocol/port pairs** are semantically correct:</span></div> <div><span style="font-size: 10pt;">- HTTPS → port 443 (or your organization's HTTPS port)</span></div> <div><span style="font-size: 10pt;">- HTTP → port 80 (or your organization's HTTP port)</span></div> <div><span style="font-size: 10pt;">3. Test connectivity from the MID Server to the Zabbix instance after the upgrade</span></div> </div> <span id="ns-kb-css-end-div-identifier" style="display: none; pointer-events: none;"></span></div></section></div></article></div>