erpnext trial balance page is not loading

When I try to open the trial balance sheet, it shows a loading message, nothing happening.
When I try the same in development mode(bench start), everything works fine.

The problem is when ERPNEXT runs in production mode(supervisorctl start all).

what could be the reason.

system details:
Os: Ubuntu 20.04.3 LTS
processor :AMD EPYC 7282 16-Core Processor quad core
memory : 8gb

installed app
ERPNEXT:v13.x.x-develop

Frappe Framework :v14.x.x-develop

Thank you
Screenshot_2022-02-24_11-01-17

could you check your browser console for error ??

thank you for the reply.

this is the console message, also here i am attaching the response window screenshot

XHRGEThttp://194.163.139.86/api/method/frappe.desk.query_report.run?report_name=Trial Balance&filters={“company”:“Vijayarajan & Associates”,“fiscal_year”:“2021-2022”,“from_date”:“2021-04-01”,“to_date”:“2022-03-31”,“with_period_closing_entry”:1,“include_default_book_entries”:1}&report_settings={“filters”:[{“fieldname”:“company”,“label”:“Company”,“fieldtype”:“Link”,“options”:“Company”,“default”:“Vijayarajan & Associates”,“reqd”:1,“placeholder”:“Company”,“input_class”:“input-xs”},{“fieldname”:“fiscal_year”,“label”:“Fiscal Year”,“fieldtype”:“Link”,“options”:“Fiscal Year”,“default”:“2021-2022”,“reqd”:1,“placeholder”:“Fiscal Year”,“input_class”:“input-xs”},{“fieldname”:“from_date”,“label”:“From Date”,“fieldtype”:“Date”,“default”:“2021-04-01”,“placeholder”:“From Date”,“input_class”:“input-xs”},{“fieldname”:“to_date”,“label”:“To Date”,“fieldtype”:“Date”,“default”:“2022-03-31”,“placeholder”:“To Date”,“input_class”:“input-xs”},{“fieldname”:“cost_center”,“label”:“Cost Center”,“fieldtype”:“Link”,“options”:“Cost Center”,“placeholder”:“Cost Center”,“input_class”:“input-xs”},{“fieldname”:“project”,“label”:“Project”,“fieldtype”:“Link”,“options”:“Project”,“placeholder”:“Project”,“input_class”:“input-xs”},{“fieldname”:“finance_book”,“label”:“Finance Book”,“fieldtype”:“Link”,“options”:“Finance Book”,“placeholder”:“Finance Book”,“input_class”:“input-xs”},{“fieldname”:“presentation_currency”,“label”:“Currency”,“fieldtype”:“Select”,“options”:["",“AED”,“AUD”,“CHF”,“CNY”,“EUR”,“GBP”,“INR”,“JPY”,“USD”],“placeholder”:“Currency”,“input_class”:“input-xs”},{“fieldname”:“with_period_closing_entry”,“label”:“Period Closing Entry”,“fieldtype”:“Check”,“default”:1,“placeholder”:“Period Closing Entry”,“input_class”:“input-xs”},{“fieldname”:“show_zero_values”,“label”:“Show zero values”,“fieldtype”:“Check”,“placeholder”:“Show zero values”,“input_class”:“input-xs”},{“fieldname”:“show_unclosed_fy_pl_balances”,“label”:“Show unclosed fiscal year’s P&L balances”,“fieldtype”:“Check”,“placeholder”:“Show unclosed fiscal year’s P&L balances”,“input_class”:“input-xs”},{“fieldname”:“include_default_book_entries”,“label”:“Include Default Book Entries”,“fieldtype”:“Check”,“default”:1,“placeholder”:“Include Default Book Entries”,“input_class”:“input-xs”}],“tree”:true,“name_field”:“account”,“parent_field”:“parent_account”,“initial_depth”:3,“html_format”:"{%\n\tvar report_columns = report.get_columns_for_print();\n\treport_columns = report_columns.filter(col => !col.hidden);\n\n\tif (report_columns.length > 8) {\n\t\tfrappe.throw(__(“Too many columns. Export the report and print it using a spreadsheet application.”));\n\t}\n%}\n\n\n\t.financial-statements-important td {\n\t\tfont-weight: bold;\n\t}\n\n\t.financial-statements-blank-row td {\n\t\theight: 37px;\n\t}\n\n\n<h2 class=“text-center”>{%= __(report.report_name) %}\n<h3 class=“text-center”>{%= filters.company %}\n\n{% if ‘cost_center’ in filters %}\n\t<h3 class=“text-center”>{%= filters.cost_center %}\n{% endif %}\n\n<h3 class=“text-center”>{%= filters.fiscal_year %}\n<h5 class=“text-center”>\n\t{%= (“Currency”) %} : {%= filters.presentation_currency || erpnext.get_currency(filters.company) %}\n\n{% if (filters.from_date) { %}\n\t<h5 class=“text-center”>\n\t\t{%= frappe.datetime.str_to_user(filters.from_date) %} - {%= frappe.datetime.str_to_user(filters.to_date) %}\n\t\n{% } %}\n


\n<table class=“table table-bordered”>\n\t\n\t\t\n\t\t\t<th style=“width: {%= 100 - (report_columns.length - 1) * 13 %}%”>\n\t\t\t{% for (let i=1, l=report_columns.length; i<l; i++) { %}\n\t\t\t\t<th class=“text-right”>{%= report_columns[i].label %}\n\t\t\t{% } %}\n\t\t\n\t\n\t\n\t\t{% for(let j=0, k=data.length; j<k; j++) { %}\n\t\t\t{%\n\t\t\t\tvar row = data[j];\n\t\t\t\tvar row_class = data[j].parent_account ? “” : “financial-statements-important”;\n\t\t\t\trow_class += data[j].account_name ? “” : " financial-statements-blank-row";\n\t\t\t%}\n\t\t\t<tr class="{%= row_class %}">\n\t\t\t\t\n\t\t\t\t\t<span style=“padding-left: {%= cint(data[j].indent) * 2 %}em”>{%= row.account_name %}\n\t\t\t\t\n\t\t\t\t{% for(let i=1, l=report_columns.length; i<l; i++) { %}\n\t\t\t\t\t<td class=“text-right”>\n\t\t\t\t\t\t{% const fieldname = report_columns[i].fieldname; %}\n\t\t\t\t\t\t{% if (!is_null(row[fieldname])) { %}\n\t\t\t\t\t\t\t{%= frappe.format(row[fieldname], report_columns[i], {}, row) %}\n\t\t\t\t\t\t{% } %}\n\t\t\t\t\t\n\t\t\t\t{% } %}\n\t\t\t\n\t\t{% } %}\n\t\n\n<p class=“text-right text-muted”>\n\tPrinted On {%= frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) %}\n

\n\n",“execution_time”:0}&_=1645711186201
GEThttp://194.163.139.86/assets/frappe/images/ui-states/list-empty-state.svg
GEThttp://194.163.139.86/assets/frappe/images/ui-states/list-empty-state.svg
GEThttp://194.163.139.86/assets/frappe/images/ui-states/list-empty-state.svg
GEThttp://194.163.139.86/assets/frappe/images/ui-states/list-empty-state.svg
XHRGEThttp://194.163.139.86/api/method/frappe.desk.query_report.run?report_name=Trial Balance&filters={“company”:“Vijayarajan & Associates”,“fiscal_year”:“2021-2022”,“from_date”:“2021-04-01”,“to_date”:“2022-03-31”,“with_period_closing_entry”:1,“include_default_book_entries”:1}&report_settings={“filters”:[{“fieldname”:“company”,“label”:“Company”,“fieldtype”:“Link”,“options”:“Company”,“default”:“Vijayarajan & Associates”,“reqd”:1,“placeholder”:“Company”,“input_class”:“input-xs”},{“fieldname”:“fiscal_year”,“label”:“Fiscal Year”,“fieldtype”:“Link”,“options”:“Fiscal Year”,“default”:“2021-2022”,“reqd”:1,“placeholder”:“Fiscal Year”,“input_class”:“input-xs”},{“fieldname”:“from_date”,“label”:“From Date”,“fieldtype”:“Date”,“default”:“2021-04-01”,“placeholder”:“From Date”,“input_class”:“input-xs”},{“fieldname”:“to_date”,“label”:“To Date”,“fieldtype”:“Date”,“default”:“2022-03-31”,“placeholder”:“To Date”,“input_class”:“input-xs”},{“fieldname”:“cost_center”,“label”:“Cost Center”,“fieldtype”:“Link”,“options”:“Cost Center”,“placeholder”:“Cost Center”,“input_class”:“input-xs”},{“fieldname”:“project”,“label”:“Project”,“fieldtype”:“Link”,“options”:“Project”,“placeholder”:“Project”,“input_class”:“input-xs”},{“fieldname”:“finance_book”,“label”:“Finance Book”,“fieldtype”:“Link”,“options”:“Finance Book”,“placeholder”:“Finance Book”,“input_class”:“input-xs”},{“fieldname”:“presentation_currency”,“label”:“Currency”,“fieldtype”:“Select”,“options”:["",“AED”,“AUD”,“CHF”,“CNY”,“EUR”,“GBP”,“INR”,“JPY”,“USD”],“placeholder”:“Currency”,“input_class”:“input-xs”},{“fieldname”:“with_period_closing_entry”,“label”:“Period Closing Entry”,“fieldtype”:“Check”,“default”:1,“placeholder”:“Period Closing Entry”,“input_class”:“input-xs”},{“fieldname”:“show_zero_values”,“label”:“Show zero values”,“fieldtype”:“Check”,“placeholder”:“Show zero values”,“input_class”:“input-xs”},{“fieldname”:“show_unclosed_fy_pl_balances”,“label”:“Show unclosed fiscal year’s P&L balances”,“fieldtype”:“Check”,“placeholder”:“Show unclosed fiscal year’s P&L balances”,“input_class”:“input-xs”},{“fieldname”:“include_default_book_entries”,“label”:“Include Default Book Entries”,“fieldtype”:“Check”,“default”:1,“placeholder”:“Include Default Book Entries”,“input_class”:“input-xs”}],“tree”:true,“name_field”:“account”,“parent_field”:“parent_account”,“initial_depth”:3,“html_format”:"{%\n\tvar report_columns = report.get_columns_for_print();\n\treport_columns = report_columns.filter(col => !col.hidden);\n\n\tif (report_columns.length > 8) {\n\t\tfrappe.throw((“Too many columns. Export the report and print it using a spreadsheet application.”));\n\t}\n%}\n\n\n\t.financial-statements-important td {\n\t\tfont-weight: bold;\n\t}\n\n\t.financial-statements-blank-row td {\n\t\theight: 37px;\n\t}\n\n\n<h2 class=“text-center”>{%= __(report.report_name) %}\n<h3 class=“text-center”>{%= filters.company %}\n\n{% if ‘cost_center’ in filters %}\n\t<h3 class=“text-center”>{%= filters.cost_center %}\n{% endif %}\n\n<h3 class=“text-center”>{%= filters.fiscal_year %}\n<h5 class=“text-center”>\n\t{%= __(“Currency”) %} : {%= filters.presentation_currency || erpnext.get_currency(filters.company) %}\n\n{% if (filters.from_date) { %}\n\t<h5 class=“text-center”>\n\t\t{%= frappe.datetime.str_to_user(filters.from_date) %} - {%= frappe.datetime.str_to_user(filters.to_date) %}\n\t\n{% } %}\n
\n<table class=“table table-bordered”>\n\t\n\t\t\n\t\t\t<th style=“width: {%= 100 - (report_columns.length - 1) * 13 %}%”>\n\t\t\t{% for (let i=1, l=report_columns.length; i<l; i++) { %}\n\t\t\t\t<th class=“text-right”>{%= report_columns[i].label %}\n\t\t\t{% } %}\n\t\t\n\t\n\t\n\t\t{% for(let j=0, k=data.length; j<k; j++) { %}\n\t\t\t{%\n\t\t\t\tvar row = data[j];\n\t\t\t\tvar row_class = data[j].parent_account ? “” : “financial-statements-important”;\n\t\t\t\trow_class += data[j].account_name ? “” : " financial-statements-blank-row";\n\t\t\t%}\n\t\t\t<tr class="{%= row_class %}">\n\t\t\t\t\n\t\t\t\t\t<span style=“padding-left: {%= cint(data[j].indent) * 2 %}em”>{%= row.account_name %}\n\t\t\t\t\n\t\t\t\t{% for(let i=1, l=report_columns.length; i<l; i++) { %}\n\t\t\t\t\t<td class=“text-right”>\n\t\t\t\t\t\t{% const fieldname = report_columns[i].fieldname; %}\n\t\t\t\t\t\t{% if (!is_null(row[fieldname])) { %}\n\t\t\t\t\t\t\t{%= frappe.format(row[fieldname], report_columns[i], {}, row) %}\n\t\t\t\t\t\t{% } %}\n\t\t\t\t\t\n\t\t\t\t{% } %}\n\t\t\t\n\t\t{% } %}\n\t\n\n<p class=“text-right text-muted”>\n\tPrinted On {%= frappe.datetime.str_to_user(frappe.datetime.get_datetime_as_string()) %}\n\n\n",“execution_time”:0}&_=1645711186202
[HTTP/1.1 400 Bad Request 953ms]

issue is solved.

added --limit-request-field_size 0 --limit-request-line 0 this to supervisor.conf

[program:erpnext-frappe-web]
command=/srv/bench/erpnext/env/bin/gunicorn -b 127.0.0.1:8000 -w 9 -t 120 --limit-request-field_size 0 --limit-request-line 0 frappe.app:application --preload

thank you once again.