You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "Hank Beatty (JIRA)" <ji...@apache.org> on 2017/08/16 16:26:00 UTC

[jira] [Updated] (TC-368) api/1.2/deliveryservices/:id/routing.json hangs when Traffic Router is unreachable

     [ https://issues.apache.org/jira/browse/TC-368?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hank Beatty updated TC-368:
---------------------------
    Fix Version/s: 2.1.0

> api/1.2/deliveryservices/:id/routing.json hangs when Traffic Router is unreachable
> ----------------------------------------------------------------------------------
>
>                 Key: TC-368
>                 URL: https://issues.apache.org/jira/browse/TC-368
>             Project: Traffic Control
>          Issue Type: Bug
>          Components: Traffic Ops API
>    Affects Versions: 1.8.0
>            Reporter: Steve Malenfant
>              Labels: api_deliveryservices, routing
>             Fix For: 2.1.0
>
>
> I was testing this API "/api/1.2/deliveryservices/:id/routing.json" and found that it would hang and the perl worker had to be killled. This caused 500 Errors back from TO API.
> The root cause is Traffic Router not responding to API Port. 
> We should not poll Traffic Router that are status=OFFLINE and there should be some sort of timeouts in place to make sure it doesn't take more than x seconds to return information from API
> There is some comments in the code that seems to indication prior issues.
> `# TODO: what happens when the request to CCR times out?`



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)