Getting a 500 response when accessing Categories Index route

Yes it is running in azure, I looked at the azure documentation, It was an issue with how azure adds the port number in the http header’s. I was able to resolve this (reference https://azure.microsoft.com/en-ca/blog/rewrite-http-headers-with-azure-application-gateway/). It works now , was an issue with Azure.