Uploaded image for project: 'Traffic Control'
  1. Traffic Control
  2. TC-368

api/1.2/deliveryservices/:id/routing.json hangs when Traffic Router is unreachable

    XMLWordPrintableJSON

Details

    Description

      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?`

      Attachments

        Activity

          People

            Unassigned Unassigned
            smalenfant Steve Malenfant
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: