Set DEBUG=True temporarily and see what's causing the error, or check your error logs.
On Fri, Jun 18, 2021, 1:40 PM Sachin Kumar <[email protected]> wrote: > Hi Django Experts, > I am trying to download a report from the client's PC using the domain > name (http://xyz.com/reports/report/?merchant > <https://l.facebook.com/l.php?u=http%3A%2F%2Fxyz.com%2Freports%2Freport%2F%3Fmerchant%26fbclid%3DIwAR1t_xUIdDXAyIfi9oPEd8wfhtCNsorTGcLLLGd9ITLN3fFjwZFVWYfJ7jg&h=AT3y4OGg_c31Dnzsr4DTCP9IJUQoOWe9ZTfg72zyW_C0LodanQjHdIVGjm9tGLonzivylLCbl52BIcROWRQdUmcV6BkazVZlEB0JRwkBTqjxXuhrFc5obCiQW6htdkPZqQ&__tn__=-UK-R&c[0]=AT0gLKeLIkpBVaNWFWGINpFX_R_q8wHoEwUGLWoHGyogiA3OSIUc5ZUYft5LqxA7DsHXQn0v2vjI1JfDS-sByKoJxbXQbyTp1JMNaD6j8qv3WMYSWk60rF4ShRsXZbGWlrj-IAslRx9_XsmGNMATTvX8l7DXsBH5NLM>) > I am getting the response of 500 - Internal server error. when the timing > to generate the report is less than 60 Sec it works but when the report is > bigger and it takes more time to generate it gives 500 - Internal server > error. > But the same report when I am trying from the server using IP address ( > http://127.0.0.1/reports/report/?merchant > <https://l.facebook.com/l.php?u=https%3A%2F%2F127.0.0.1%2Freports%2Freport%2F%3Fmerchant%26fbclid%3DIwAR19adIyj39XGp4MkmmzLT0SuEFAD8vBzeq4scgVW6PmIhddOQVr2lrwHtk&h=AT1soFO6ol8hw-buyCBZ4XS1fROP-8GEbCw2evvii9aJuTM_lz1VHAvfb1ABA4WGh5wMhyIALAaQONBPz6vf4COds5fJBGKbz5Wx7EniB3pEaAubYs3L7h0adqKa_OZw_uw&__tn__=-UK-R&c[0]=AT0gLKeLIkpBVaNWFWGINpFX_R_q8wHoEwUGLWoHGyogiA3OSIUc5ZUYft5LqxA7DsHXQn0v2vjI1JfDS-sByKoJxbXQbyTp1JMNaD6j8qv3WMYSWk60rF4ShRsXZbGWlrj-IAslRx9_XsmGNMATTvX8l7DXsBH5NLM>) > it completes successfully whatever time it takes it never gives 500 - > Internal server error. > I am using Windows 2016 Server and IIS Web Server. The development > platform is Python 3.8, Django and PostgreSQL. > Please Help me fix this issue > > Regards > Sachin > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/3d12a411-f8c1-43af-b186-9d0bd78d91d5n%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/3d12a411-f8c1-43af-b186-9d0bd78d91d5n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CA%2BARzD_X7s4GW5Vo6yGj6%2BhVooMMAqpLVzmRtMStrPodm%2Bg1%3DQ%40mail.gmail.com.

