I am developing a project using django - python, javascript. When I Điện thoại tư vấn a long running process (time-consuming) approx more phàn nàn đôi mươi minutes from views the process starts successfully. I used loader in ajax vĩ đại notify user that process is running. After the process completes the loader will stop and change vĩ đại completed state.
But the issue is every time after 14.59 minutes from process started, the loader stops and status change vĩ đại completed. But the process running in background is not yet completed. The page crash after that time. After the process complete I bind the result under a tag in trang web page. In that tag the error 504 (Gateway Timeout) arise. In trang web console log Failed vĩ đại load resource: the server responded with a status of 504 (Gateway Timeout), the above error prints. If anyone knows please help bầm vĩ đại fix this.
Is the django is closing the connection after that time ? If sánh is there possible vĩ đại mention timeout in django settings (settings.py). I tried giving timeout in ajax Điện thoại tư vấn but the same issue returns. My doubt is on django development server. Is there timeout in django development server. But when I tìm kiếm for this issue I found, in nginx server the same type of issue arise. Is django depend on nginx or using it ?
I tried vĩ đại provide all information regarding my issue if any further clarifications, please let bầm know.