# Получение ответа 500 при доступе к маршруту Categories Index

**URL:** <https://meta.discourse.org/t/getting-a-500-response-when-accessing-categories-index-route/129363>\
**Category:** Product Support\
**Created:** [24.Сентябрь.2019 06:06:22 UTC](https://meta.discourse.org/t/getting-a-500-response-when-accessing-categories-index-route/129363 "2019-09-24T06:06:22Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Gopiraj\_Dorairaj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gopiraj_dorairaj/32/157026_2.png) [@Gopiraj\_Dorairaj](https://meta.discourse.org/u/Gopiraj_Dorairaj)\
**Post date:** [25.Сентябрь.2019 01:13:45 UTC](https://meta.discourse.org/t/getting-a-500-response-when-accessing-categories-index-route/129363/4 "2019-09-25T01:13:45Z")

</div>

Да, оно работает в Azure. Я изучил документацию Azure, и проблема заключалась в том, как Azure добавляет номер порта в заголовки HTTP. Мне удалось это исправить (см. [https://azure.microsoft.com/en-ca/blog/rewrite-http-headers-with-azure-application-gateway/](https://azure.microsoft.com/en-ca/blog/rewrite-http-headers-with-azure-application-gateway/)). Теперь всё работает, проблема была в Azure.

---

_[View the full topic](https://meta.discourse.org/t/getting-a-500-response-when-accessing-categories-index-route/129363)._
