While running arc --trace export --diff D25053 --git, the workflow fails with 502, and these errors show in the server log:
2022/09/20 19:04:57 [error] 183439#183439: *1070875 upstream sent too big header while reading response header from upstream, client: 46.121.23.156, server: we.phorge.it, request: "POST /api/differential.querydiffs HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "we.phorge.it" 2022/09/20 19:05:06 [error] 183439#183439: *1070898 FastCGI sent in stderr: "PHP message: [2022-09-20 15:05:06] EXCEPTION: (AphrontParameterQueryException) Expected a numeric scalar or null for %Ld conversion. Query: id IN (%Ld) at [<phorge>/src/infrastructure/storage/xsprintf/qsprintf.php:470]PHP message: arcanist(head=master, ref.master=0c0b9644a6a8), phorge(head=master, ref.master=377ac059d6da)PHP message: #0 <#2> qsprintf_check_scalar_type(string, string, string) called at [<phorge>/src/infrastructure/storage/xsprintf/qsprintf.php:389]PHP message: #1 <#2> qsprintf_check_type(array, string, string) called at [<phorge>/src/infrastructure/storage/xsprintf/qsprintf.php:155]PHP message: #2 <#2> xsprintf_query(array, string, integer, array, integer) called at [<arcanist>/src/xsprintf/xsprintf.php:82]PHP message: #3 <#2> xsprintf(string, array, array) called at [<phorge>/src/infrastructure/storage/xsprintf/PhutilQueryString.php:26]PHP message: #4 <#2> PhutilQueryString::__construct(AphrontMySQLiDatabaseConnection, array) called at [<phorge>/src/infrastructure/storage/xsprintf/qsprintf.php:78]PHP message: #5 <#2> qsprintf(AphrontMySQLiDatabaseConnection, string, array) called at [<phorge>/src/applications/differential/query/DifferentialDiffQuery.php:129]PHP message: #6 <#2> DifferentialDiffQuery::buildWhereClauseParts(AphrontMySQLiDatabaseConnection) called at [<phorge>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:505]PHP message: #7 <#2> PhabricatorCursorPagedPolicyAwareQuery::buildWhereClause(AphrontMySQLiDatabaseConnection) called at [<phorge>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:328]PHP message: #8 <#2> PhabricatorCursorPagedPolicyAwareQuery::buildStandardPageQuery(AphrontMySQLiDatabaseConnection, string) called at [<phorge>/src/infrastructure/query/policy/PhabricatorCursorPagedPolicyAwareQuery.php:302]PHP message: #9 <#2> PhabricatorCursorPagedPolicyAwareQuery::loadStandardPageRowsWithConnection(AphrontMySQLiDatabaseConnecti 2022/09/20 19:05:06 [error] 183439#183439: *1070898 upstream sent too big header while reading response header from upstream, client: 46.121.23.156, server: we.phorge.it, request: "POST /api/differential.querydiffs HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "we.phorge.it"
This is probably a configuration issue in phorge.it install