Vgutierrez added a comment.

  From ATS source code, it looks like ATS logs connect errors on the first 
attempt but it's configured to perform 3 attempts, so a log line indicating a 
connection error isn't the same as a 502 iff the request is retryable:
  
    //////////////////////////////////////////
    // on the first connect attempt failure //
    // record the failue                   //
    //////////////////////////////////////////
    if (0 == s->current.attempts) {
      Log::error("CONNECT:[%d] could not connect [%s] to %s for '%s'", 
s->current.attempts,
                 HttpDebugNames::get_server_state_name(conn_state),
                 ats_ip_ntop(&s->current.server->dst_addr.sa, addrbuf, 
sizeof(addrbuf)), url_string ? url_string : "<none>");
    }
  
    vgutierrez@cp1075:/var/log/trafficserver$ sudo -i traffic_ctl config match 
connect_attempts_max_retries
    proxy.config.http.connect_attempts_max_retries: 3
    proxy.config.http.connect_attempts_max_retries_dead_server: 1

TASK DETAIL
  https://phabricator.wikimedia.org/T237319

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Vgutierrez
Cc: Vgutierrez, ema, Nikerabbit, DannyS712, Aklapper, darthmon_wmde, abi_, 
Legado_Shulgin, Nandana, Davinaclare77, Qtn1293, Techguru.pc, Lahi, Gq86, 
GoranSMilovanovic, Th3d3v1ls, Hfbn0, QZanden, LawExplorer, Zppix, _jensen, 
rosalieper, Taiwania_Justo, Scott_WUaS, Wong128hk, Wikidata-bugs, aude, faidon, 
KartikMistry, Mbch331, Rxy, Jay8g, fgiunchedi
_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to