Kurum Servisi Hata Kodları için Yönlendir
Hakkında
Kurum Servisi Hata Kodları İçin Yönlendir aksiyonu genellikle vService'e bir istek yapıldıktan sonra sadece response anında Kurum Servisi tarafından seçili bir hata kodu gelmesi durumunda isteğin yönlendirilmesi istenilen durumlarda kullanılmaktadır.
Nasıl Eklenir?
Kurum Servisi Hata Kodları İçin Yönlendir aksiyonunu eklemek için TR7 ASP web arayüzü üzerinden, "Traffic Manager > Traffic Manipulation > Actions > Add" adımları takip edilir. Gelen sayfada Action Type olarak Redirect for Backend Services Errors seçilirek aşağıdaki form elde edilir.
Kullanılabildiği vService Tipleri
- HTTP
- L7 TCP
- Network
Arayüz
Kurum Servisi Hata Kodları İçin Yönlendir Formu
- Action Name
Oluşturulacak olan aksiyona isim girilir.
- Action Type
Redirect for Backend Services Errors seçilir.
- Error Codes
Kurum Servisi tarafından beklenen hata kodu seçilir. Birden fazla hata kodu seçimi yapılabilir.
- TR7 Tarafından Desteklenen HTTP Hata Kodlarının Listesi
Status Code | Status | Description |
---|---|---|
400 | Client Error | Request Structure is Faulty |
401 | Client Error | Invalid Authentication |
403 | Client Error | Page/Resource Forbidden |
404 | Client Error | Page/Resource Not Found |
405 | Client Error | Method Not Supported |
407 | Client Error | Proxy Authentication Required |
408 | Client Error | Request Timeout |
410 | Client Error | Resource Permanently Gone |
413 | Client Error | Request Size Too Large |
425 | Client Error | Too Early |
429 | Client Error | Too Many Requests |
500 | Server Errors | Internal Server Error |
501 | Server Errors | Not Implemented |
502 | Server Errors | Bad Gateway |
503 | Server Errors | Service Unavailable |
504 | Server Errors | Gateway Timeout |
- Redirection Location
vService'e gelen isteğin, Kurum Servisinde seçili hata kodlarını alması durumunda yönlendirileceği URL/IP adresi bilgisi girilir.
En sağ tarafta bulunan fx butonuna tıklanarak değişken eklemek mümkündür.
- Form Butonları
Koşul Durumu
Redirect for Backend Services Errors aksiyonu koşul gerektirmez.