Request timed out Program Enrolment

In Education: v15.5.0 (develop), when I am using Program Enrolemt Tool, to enrol about 34 student, I am getting “Request time out”.

Failed to load resource: https://myExampleERP_WebSite.com/api/method/run_doc_method the server responded with a status of 504 (Gateway Time-out) erpnext.

What could be the issue, and what can be done?

Try increasing timeout

bench config http_timeout
bench setup supervisor
bench setup nginx
supervisorctl reload
service nginx reload

Thank you.

bench config http_timeout 900

I did as above. I expected request to ne timed out after 15 minutes, but it did’t meet my expectation even after an hour. There were 30 students to be enrolled. In nutshell, it failed.

I tried again with 2 students. It worked. Then 4, 10 and I tested it worked for 20 students, but failed for 30 students.

Is there any limilt. Is 34 is too high numberf for the enrolement?

Hi @hsrai,
You can add that in frappe.enqueue that can solve your issue.