Error seems to be related with da40f8074 and PHP 7.3


#1

Observed Behavior:

Phabricator(actually nginx) returns 502 Bad Gateway after upgrade da40f8074

When bin/storage upgrade

[2018-11-14 13:33:08] PHLOG: 'UNSAFE: Raw string ("") passed to query ("SELECT * FROM %s WHERE namespace = %s AND isDeleted = 0 %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/AH/libphutil/src/xsprintf/qsprintf.php:404]
[2018-11-14 13:33:08] PHLOG: 'UNSAFE: Raw string ("") passed to query ("SELECT * FROM %s WHERE namespace = %s AND isDeleted = 0 %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/AH/libphutil/src/xsprintf/qsprintf.php:404]
Reading configuration from: phabricator/conf/aphlict/aphlict.custom.json
Aphlict is not running.
Writing logs to: /var/log/aphlict/aphlictAH.log
Aphlict Server started.
[2018-11-14 13:33:18] PHLOG: 'UNSAFE: Raw string ("") passed to query ("SELECT * FROM %s WHERE namespace = %s AND isDeleted = 0 %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/BGX/libphutil/src/xsprintf/qsprintf.php:404]
[2018-11-14 13:33:18] PHLOG: 'UNSAFE: Raw string ("") passed to query ("SELECT * FROM %s WHERE namespace = %s AND isDeleted = 0 %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/BGX/libphutil/src/xsprintf/qsprintf.php:404]
Storage is up to date. Use "storage status" for details.
Synchronizing static tables...
Verifying database schemata on "localhost"...
[2018-11-14 22:33:18] PHLOG: 'UNSAFE: Raw string ("((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_binding')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_bindingtransaction')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_device')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_devicename_ngrams')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_devicetransaction')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_interface')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_interfacetransaction')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_namespace')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_namespacename_ngrams')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_namespacetransaction')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_network')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_networkname_ngrams')) OR ((TABLE_SCHEMA = 'p...' at [/phabs/BGX/libphutil/src/xsprintf/qsprintf.php:404]
[2018-11-14 22:33:18] PHLOG: 'UNSAFE: Raw string ("((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_binding')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_bindingtransaction')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_device')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_devicename_ngrams')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_devicetransaction')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_interface')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_interfacetransaction')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_namespace')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_namespacename_ngrams')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_namespacetransaction')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_network')) OR ((TABLE_SCHEMA = 'phabBGX_almanac' AND TABLE_NAME = 'almanac_networkname_ngrams')) OR ((TABLE_SCHEMA = 'p...' at [/phabs/BGX/libphutil/src/xsprintf/qsprintf.php:404]
Found no adjustments for schemata.
 ANALYZE  Analyzing tables...
Done.
 ANALYZED  Analyzed 511 table(s).
[2018-11-14 13:33:25] PHLOG: 'UNSAFE: Raw string ("") passed to query ("SELECT * FROM %s WHERE namespace = %s AND isDeleted = 0 %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/BGX/libphutil/src/xsprintf/qsprintf.php:404]
[2018-11-14 13:33:25] PHLOG: 'UNSAFE: Raw string ("") passed to query ("SELECT * FROM %s WHERE namespace = %s AND isDeleted = 0 %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/BGX/libphutil/src/xsprintf/qsprintf.php:404]

Error log with nginx

2018/11/14 22:32:44 [error] 1613#0: *46 FastCGI sent in stderr: "PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("SELECT * FROM %s WHERE na
mespace = %s AND isDeleted = 0 %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22
:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("SELECT * FROM %s WHERE namespace = %s AND isDeleted = 0 %Q") for "%Q" conversion. %Q should be passed a query string.
' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string (", `ucache_1`.cacheData `ucache_1_v`, `ucache_2`.cacheDa
ta `ucache_2_v`, `ucache_3`.cacheData `ucache_3_v`, `ucache_4`.cacheData `ucache_4_v`, `ucache_5`.cacheData `ucache_5_v`") passed to query ("SELECT
          s.id AS s_id,
          s.sessionExpires AS s_sessionExpires,
          s.sessionStart AS s_sessionStart,
          s.highSecurityUntil AS s_highSecurityUntil,
          s.isPartial AS s_isPartial,
          s.signedLegalpadDocuments as s_signedLegalpadDocuments,
          u.*
          %Q
        FROM %T u JOIN %T s ON u.phid = s.userPHID
        AND s.type = %s AND s.sessionKey = %s %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message:
 [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("LEFT JOIN `user_cache` AS `ucache_1` ON u.phid = `ucache_1`.userPHID
          AND `ucache_1`.cacheIndex = 'EvA2CcQs0ney' LEFT JOIN `user_cache` AS `ucache_2` ON u.phid = `ucache_2`.userPHID
          AND `ucache_2`.cacheIndex = 'ShljA1NUxUbb' LEFT JOIN `user_cache` AS `ucache_3` ON u.phid = `ucache_3`.userPHID
          AND `ucache_3`.cacheIndex = 'rOGS6Fh944dc' LEFT JOIN `user_cache` AS `ucache_4` ON u.phid = `ucache_4`.userPHID
          AND `ucache_4`.cacheIndex = 'DO.iHbJI32Yo' LEFT JOIN `user_cache` AS `ucache_5` ON u.phid = `ucache_5`.userPHID
          AND `ucache_5`.cacheIndex = 'y_FPXujT93U3'") passed t
2018/11/14 22:32:44 [error] 1613#0: *46 FastCGI sent in stderr: "      %s
        FR...PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("SELECT *") passed to query ("%Q FROM %T %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHPmessage: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %s %s %Q") for "%Q
2018/11/14 22:32:44 [error] 1613#0: *46 FastCGI sent in stderr: "sed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44]PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG:'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %s %s %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHPmessage: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("`f`.`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("SELECT `f`.*"
2018/11/14 22:32:44 [error] 1613#0: *46 FastCGI sent in stderr: " [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("f") passed to query ("%s FROM %s %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("WHERE (builtinKey IN ('builtin:disk(name=projects/v3/manag-HbftssqgHQJI'))") passed to query ("%s FROM %s %s %s %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("`f`.`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %s %s %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("SELECT `f`.*") passed to query ("%Q FROM %T %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("f"
2018/11/14 22:32:44 [error] 1613#0: *46 FastCGI sent in stderr: "HLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("WHERE (profilePHID IN ('PHID-APPS-PhabricatorFavoritesApplication')) AND (customPHID IN ('PHID-USER-gmochzofl7o7flt5mlux') OR customPHID IS NULL)") passed to query ("%s FROM %s %s %s %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %s %s %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("SELECT *") passed to query ("%Q FROM %T %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:
2018/11/14 22:32:44 [error] 1613#0: *46 FastCGI sent in stderr: "hould be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("WHERE (profilePHID IN ('PHID-APPS-PhabricatorFavoritesApplication')) AND (customPHID IN ('PHID-USER-gmochzofl7o7flt5mlux') OR customPHID IS NULL)") passed to query ("%s FROM %s %s %s %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHPmessage: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %s %s %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("SELECT *") passed to query ("%Q FROM %T %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q shou
2018/11/14 22:32:44 [error] 1613#0: *46 FastCGI sent in stderr: " ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %s %s %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("SELECT *") passed to query ("%Q FROM %T %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("WHERE (engineKey IN ('almanac.binding', 'almanac.device', 'almanac.interface', 'almanac.namespace', 'almanac.network', 'almanac.binding.property', 'almanac.device.property', 'almanac.service.property', 'almanac.service', 'conpherence.thread', 'differential.revision', 'diffusion.commit', 'diffusion.repository', 'diffusion.uri', 'drydock.blueprint', 'fund.initiative', 'harbormaster.buildplan', 'herald.webhook', 'legalpad.document', 'maniphest.task', 'nuance.queue', 'nuance.source', 'application.application', 'badges.badge', 'calendar.event', 'calendar.export', 'calendar.import', 'countdown.countdown', 'dashboard.panel', 'transactions.editengine.config', 'files.file', 'macro.image', 'oauthserver.application', 'owners.package', 'packages.package', 'packages.publisher', 'packages.version', 'paste.paste', 'phurl.url', 'search.profilemenu', 'projects.p
2018/11/14 22:32:44 [error] 1613#0: *46 FastCGI sent in stderr: "ock.blueprint', 'fund.initiative', 'harbormaster.buildplan', 'herald.webhook', 'legalpad.document', 'maniphest.task', 'nuance.queue', 'nuance.source', 'application.application', 'badges.badge', 'calendar.event', 'calendar.export', 'calendar.import', 'countdown.countdown', 'dashboard.panel', 'transactions.editengine.config', 'files.file', 'macro.image', 'oauthserver.application', 'owners.package', 'packages.package', 'packages.publisher', 'packages.version', 'paste.paste', 'phurl.url', 'search.profilemenu', 'projects.project', 'repository.identity', 'settings.settings', 'people.user', 'phame.blog', 'phame.po...PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %s %s %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("SELECT *") passed to query ("%Q FROM %T %Q %Q%Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.p
2018/11/14 22:32:44 [error] 1613#0: *46 FastCGI sent in stderr: " "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("WHERE (engineClassName IN ('PhabricatorSearchApplicationSearchEngine')) AND (userPHID IN ('PHID-USER-gmochzofl7o7flt5mlux', 'scope.global'))") passed to query ("%s FROM %s %s %s %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s%s %s %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %s %s %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("SELECT *") passed to query ("%Q FROM %T %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phabs/MP/libphutil/src/xsprintf/qsprintf.php:401]PHP message: [2018-11-14 22:32:44] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %Q %Q %Q %Q %Q %Q %Q")
2018/11/14 22:32:44 [error] 1613#0: *46 upstream sent too big header while reading response header from upstream, 

Expected Behavior:

Just showing normal pages like HOST/config.

Phabricator Version:

  • phabricator da40f807410634ac8220bfe47649cdabfe6a65f4 (Wed, Nov 14)
  • arcanist 3534d2baca4bf6dcdac46c49164bf5ba3a6660ad (Thu, Nov 8)
  • phutil 2ec24ec0d3d2772d1a306778dd14c2f99f702354 (Wed, Nov 14)
  • PHP PHP 7.3.0RC5 (cli) (built: Nov 12 2018 10:40:27) ( NTS )

Reproduction Steps:

  • Use PHP 7.3
  • Login
  • access HOST/config

#2

I’m getting this as well with PHP 5.3 after upgrading to the latest stable.

  • phabricator de56ef9466ea6f6bfb61ab82338a40f3e4d2851a (Mon, Nov 12) (branched from 315d857a8ad63a931342f6c5ac491f368f278635 on origin)
  • arcanist 3534d2baca4bf6dcdac46c49164bf5ba3a6660ad (Thu, Nov 8)
  • phutil 2ec24ec0d3d2772d1a306778dd14c2f99f702354 (Tue, Nov 13)
  • PHP 5.3.29 (cli) (built: May 12 2015 22:42:19)

#3

See https://secure.phabricator.com/T13217.

I’m getting this as well with PHP 5.3 after upgrading to the latest stable.

Your libphutil/ is running master, not stable. Switch libphutil/ to stable.


#4

Thanks


#5

From my phd daemon.log, switching lbphutil to stable is not enough.
phd or libphutil still generating too much error messages about 4MByte/hour like:

[15-Nov-2018 08:49:42 Asia/Seoul] [2018-11-15 08:49:42] EXCEPTION: (XsprintfUnknownConversionException) Unknown conversion LQ. at [<phutil>/src/xsprintf/qsprintf.php:337]
[15-Nov-2018 08:49:42 Asia/Seoul] arcanist(head=stable, ref.master=3534d2baca4b, ref.stable=45a8d22c74a6), phabricator(head=master, ref.master=da40f8074106), phutil(head=stable, ref.master=2ec24ec0d3d2, ref.stable=b29d76e1709e)
[15-Nov-2018 08:49:42 Asia/Seoul]   #0 qsprintf_check_scalar_type(array, string, string) called at [<phutil>/src/xsprintf/qsprintf.php:282]
[15-Nov-2018 08:49:42 Asia/Seoul]   #1 qsprintf_check_type(array, string, string) called at [<phutil>/src/xsprintf/qsprintf.php:134]
[15-Nov-2018 08:49:42 Asia/Seoul]   #2 xsprintf_query(AphrontMySQLiDatabaseConnection, string, integer, array, integer) called at [<phutil>/src/xsprintf/xsprintf.php:70]
[15-Nov-2018 08:49:42 Asia/Seoul]   #3 xsprintf(string, AphrontMySQLiDatabaseConnection, array) called at [<phutil>/src/xsprintf/qsprintf.php:64]
[15-Nov-2018 08:49:42 Asia/Seoul]   #4 qsprintf(AphrontMySQLiDatabaseConnection, string, string, array) called at [<phutil>/src/xsprintf/queryfx.php:5]
[15-Nov-2018 08:49:42 Asia/Seoul]   #5 queryfx(AphrontMySQLiDatabaseConnection, string, string, array) called at [<phabricator>/src/applications/cache/PhabricatorKeyValueDatabaseCache.php:49]
[15-Nov-2018 08:49:42 Asia/Seoul]   #6 PhutilKeyValueCacheProxy::setKeys(array, NULL) called at [<phabricator>/src/applications/cache/PhabricatorKeyValueSerializingCacheProxy.php:51]
[15-Nov-2018 08:49:42 Asia/Seoul]   #7 PhutilKeyValueCacheProxy::setKeys(array, NULL) called at [<phutil>/src/cache/PhutilKeyValueCacheNamespace.php:18]
[15-Nov-2018 08:49:42 Asia/Seoul]   #8 PhutilKeyValueCacheNamespace::setKeys(array, NULL) called at [<phutil>/src/cache/PhutilKeyValueCacheProxy.php:26]
[15-Nov-2018 08:49:42 Asia/Seoul]   #9 PhutilKeyValueCacheProxy::setKeys(array, NULL) called at [<phutil>/src/cache/PhutilKeyValueCacheProfiler.php:78]
[15-Nov-2018 08:49:42 Asia/Seoul]   #10 PhutilKeyValueCacheProfiler::setKeys(array, NULL) called at [<phutil>/src/cache/PhutilKeyValueCacheStack.php:113]
[15-Nov-2018 08:49:42 Asia/Seoul]   #11 PhutilKeyValueCacheStack::setKeys(array, NULL) called at [<phutil>/src/cache/PhutilKeyValueCache.php:59]
[15-Nov-2018 08:49:42 Asia/Seoul]   #12 PhutilKeyValueCache::setKey(string, array) called at [<phabricator>/src/applications/people/storage/PhabricatorUser.php:553]
[15-Nov-2018 08:49:42 Asia/Seoul]   #13 PhabricatorUser::loadGlobalSettings() called at [<phabricator>/src/applications/people/storage/PhabricatorUser.php:483]
[15-Nov-2018 08:49:42 Asia/Seoul]   #14 PhabricatorUser::getUserSetting(string) called at [<phabricator>/src/applications/people/storage/PhabricatorUser.php:538]
[15-Nov-2018 08:49:42 Asia/Seoul]   #15 PhabricatorUser::getTimezoneIdentifier() called at [<phabricator>/src/applications/calendar/storage/PhabricatorCalendarEvent.php:305]
[15-Nov-2018 08:49:42 Asia/Seoul]   #16 PhabricatorCalendarEvent::applyViewerTimezone(PhabricatorUser) called at [<phabricator>/src/applications/calendar/query/PhabricatorCalendarEventQuery.php:167]
[15-Nov-2018 08:49:42 Asia/Seoul]   #17 PhabricatorCalendarEventQuery::loadPage() called at [<phabricator>/src/infrastructure/query/policy/PhabricatorPolicyAwareQuery.php:236]
[15-Nov-2018 08:49:42 Asia/Seoul]   #18 PhabricatorPolicyAwareQuery::execute() called at [<phabricator>/src/applications/calendar/notifications/PhabricatorCalendarNotificationEngine.php:87]
[15-Nov-2018 08:49:42 Asia/Seoul]   #19 PhabricatorCalendarNotificationEngine::sendNotifications() called at [<phabricator>/src/applications/calendar/notifications/PhabricatorCalendarNotificationEngine.php:58]
[15-Nov-2018 08:49:42 Asia/Seoul]   #20 PhabricatorCalendarNotificationEngine::publishNotifications() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTriggerDaemon.php:478]
[15-Nov-2018 08:49:42 Asia/Seoul]   #21 PhabricatorTriggerDaemon::runCalendarNotifier(integer) called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorTriggerDaemon.php:110]
[15-Nov-2018 08:49:42 Asia/Seoul]   #22 PhabricatorTriggerDaemon::run() called at [<phutil>/src/daemon/PhutilDaemon.php:219]
[15-Nov-2018 08:49:42 Asia/Seoul]   #23 PhutilDaemon::execute() called at [<phutil>/scripts/daemon/exec/exec_daemon.php:131]

repeats every 5 seconds.

I’ve also tried switng phabricator to stable, but this situation still happens. (yes, I could read that these message is dependent on phutil)

According to git log, It seems to be that qsprintf affect from 2018 Week 43 commit.

Anyway, I couldn’t rollback libphutil to that commit, because phd also generate another error message like EXCEPTION: (PhutilMissingSymbolException) Failed to load class or interface 'AphrontDatabaseTableRefInterface': the class or interface 'AphrontDatabaseTableRefInterface' is not defined in the library map for any loaded phutil library


#6

phabricator(head=master, ref.master=da40f8074106)

You aren’t running stable.


#7

I’m sorry, I confused with another error with stable branch related with Unhandled exception on create task . It also generate massive log and I confused that there still same issue on stable branch.


#8

Here is error logs with new stable branches.

  • phabricator 66896e8bf7169a7d7830a68fe82d49ce1b7bc164 (Fri, Nov 16) (branched from 315d857a8ad63a931342f6c5ac491f368f278635 on origin)
  • arcanist 45a8d22c74a62624e69f5cd6ce901c9ab2658904 (Tue, Nov 13) (branched from 3534d2baca4bf6dcdac46c49164bf5ba3a6660ad on origin)
  • phutil: b29d76e1709ef018cc5edc7c03033fd9fdebc578 (Tue, Nov 13) (branched from 335a9f8c2dce649e24acf903dd4dec2bfbc1e9aa on origin)

The log which is generated by one action is too long(almost 1000 lines) to post here.
https://pastebin.com/AhsfUqQ7
It start with

2018/11/16 09:55:03 [error] 3498#3498: *1543 FastCGI sent in stderr: "PHP message: [2018-11-16 09:55:03] PHLOG: 'UNSAFE: Raw string ("") passed to query ("SELECT * FROM %s WHERE namespace = %s AND isDeleted = 0 %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phab/libphutil/src/xsprintf/qsprintf.php:404]
PHP message: [2018-11-16 09:55:03] PHLOG: 'UNSAFE: Raw string ("") passed to query ("SELECT * FROM %s WHERE namespace = %s AND isDeleted = 0 %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phab/libphutil/src/xsprintf/qsprintf.php:404]
PHP message: [2018-11-16 09:55:03] PHLOG: 'UNSAFE: Raw string (", `ucache_1`.cacheData `ucache_1_v`, `ucache_2`.cacheData `ucache_2_v`, `ucache_3`.cacheData `ucache_3_v`, `ucache_4`.cacheData `ucache_4_v`, `ucache_5`.cacheData `ucache_5_v`") passed to query ("SELECT
          s.id AS s_id,
          s.sessionExpires AS s_sessionExpires,
          s.sessionStart AS s_sessionStart,
          s.highSecurityUntil AS s_highSecurityUntil,
          s.isPartial AS s_isPartial,
          s.signedLegalpadDocuments as s_signedLegalpadDocuments,
          u.*
          %Q
        FROM %T u JOIN %T s ON u.phid = s.userPHID
        AND s.type = %s AND s.sessionKey = %s %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phab/libphutil/src/xsprintf/qsprintf.php:404]
PHP message: [2018-11-16 09:55:03] PHLOG: 'UNSAFE: Raw string ("LEFT JOIN `user_cache` AS `ucache_1` ON u.phid = `ucache_1`.userPHID
          AND `ucache_1`.cacheIndex = 'EvA2CcQs0ney' LEFT JOIN `user_cache` AS `ucache_2` ON u.phid = `ucache_2`.userPHID
          AND `ucache_2`.cacheIndex = 'ShljA1NUxUbb' LEFT JOIN `user_cache` AS `ucache_3` ON u.phid = `ucache_3`.userPHID
          AND `ucache_3`.cacheIndex = 'rOGS6Fh944dc' LEFT JOIN `user_cache` AS `ucache_4` ON u.phid = `ucache_4`.userPHID
          AND `ucache_4`.cacheIndex = 'DO.iHbJI32Yo' LEFT JOIN `user_cache` AS `ucache_5` ON u.phid = `ucache_5`.userPHID
          AND `ucache_5`.cacheIndex = 'y_FPXujT93U3'") passed to qu
2018/11/16 09:55:03 [error] 3498#3498: *1543 FastCGI sent in stderr: "   %s
        FROM %s u ...
PHP message: [2018-11-16 09:55:03] PHLOG: 'UNSAFE: Raw string ("`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phab/libphutil/src/xsprintf/qsprintf.php:404]
PHP message: [2018-11-16 09:55:03] PHLOG: 'UNSAFE: Raw string ("SELECT *") passed to query ("%Q FROM %T %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phab/libphutil/src/xsprintf/qsprintf.php:404]
PHP message: [2018-11-16 09:55:03] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %Q %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phab/libphutil/src/xsprintf/qsprintf.php:404]
PHP message: [2018-11-16 09:55:03] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %Q %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phab/libphutil/src/xsprintf/qsprintf.php:404]
PHP message: [2018-11-16 09:55:03] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %Q %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phab/libphutil/src/xsprintf/qsprintf.php:404]
PHP message: [2018-11-16 09:55:03] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %Q %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phab/libphutil/src/xsprintf/qsprintf.php:404]
PHP message: [2018-11-16 09:55:03] PHLOG: 'UNSAFE: Raw string ("") passed to query ("%s FROM %s %s %s %s %s %Q %Q %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phab/libphutil/src/xsprintf/qsprintf.php:404]
PHP message: [2018-11-16 09:55:03] PHLOG: 'UNSAFE: Raw string ("`id` DESC") passed to query ("ORDER BY %Q") for "%Q" conversion. %Q should be passed a query string.' at [/phab/libphutil/src/xsprintf/qsprintf.php:404]

#9

The text “UNSAFE:” does not exist in the stable branch of libphutil/. You are not running stable if you’re seeing that error message.


#10

I’m finding the same issue and I’m running stable in the Phabricator server:

daniel.wilches@ip-10-1-0-178:/opt/phabricator/libphutil$ git diff HEAD remotes/origin/stable
daniel.wilches@ip-10-1-0-178:/opt/phabricator/libphutil$ git remote -v
origin  https://github.com/phacility/libphutil.git (fetch)
origin  https://github.com/phacility/libphutil.git (push)

daniel.wilches@ip-10-1-0-178:/opt/phabricator/libphutil$ cd ../phabricator/
daniel.wilches@ip-10-1-0-178:/opt/phabricator/phabricator$ git diff HEAD remotes/origin/stable
daniel.wilches@ip-10-1-0-178:/opt/phabricator/phabricator$ git remote -v
origin  https://github.com/phacility/phabricator.git (fetch)
origin  https://github.com/phacility/phabricator.git (push)

daniel.wilches@ip-10-1-0-178:/opt/phabricator/phabricator$ cd ../arcanist/
daniel.wilches@ip-10-1-0-178:/opt/phabricator/arcanist$ git diff HEAD remotes/origin/stable
daniel.wilches@ip-10-1-0-178:/opt/phabricator/arcanist$ git remote -v
origin  https://github.com/phacility/arcanist.git (fetch)
origin  https://github.com/phacility/arcanist.git (push)

daniel.wilches@ip-10-1-0-178:/opt/phabricator/arcanist$ cd ../libphutil/
daniel.wilches@ip-10-1-0-178:/opt/phabricator/libphutil$ git log --pretty=oneline -5
2a2d4fce881ea48974e7356ca4cf3d33105998f0 (stable) Promote 2018 Week 48
35d0ec2dfa595fd77410b67032e3e4262d170b6d Keep the new "%P" query conversion out of the service call profiler by unmasking later
4641a84dadf1ae3caeef18355c5b6540ba2e2d00 Define "idle" connections that are safe to close (no transactions, no held locks)
e90d5edc15672dfc27976834e54612138048914d When a command is killed by a timeout, make the human-readable error more clear
0e6ee5937ca5ea4378b0b701aaf7b149e8f7f58e Add "%Z" (Raw Query) and "%LK" (List of Columns for Keys) to qsprintf()

And this is what the UI has to say:


#11

This is how the error looks like in my machine:

2018/12/04 19:28:52 [error] 30292#0: *1649313 FastCGI sent in stderr: "PHP message: [2018-12-04 19:28:52] PHLOG: 'UNSAFE: Raw string ("(4902, 'gtcm', '615bd31cc3a407cb69ead45ca13757052e0abd7d'), (4902, 'gttr', '47eb96c84c7f31f257ee764c15924c6ebc5932bd'), (4902, 'gtcm', '3899391c050b89ad0d46efdeabd85755947e1dc9'), (4902, 'gttr', '3023dd62966a240844071036fbb5fe0ee1b60d86')") passed to query ("INSERT INTO %s (revisionID, type, hash) VALUES %Q") for "%Q" conversion. %Q should be passed a query string.' at [/opt/phabricator/libphutil/src/xsprintf/qsprintf.php:435]
PHP message: [2018-12-04 19:28:52] PHLOG: 'UNSAFE: Raw string ("(4902, 'gtcm', '615bd31cc3a407cb69ead45ca13757052e0abd7d'), (4902, 'gttr', '47eb96c84c7f31f257ee764c15924c6ebc5932bd'), (4902, 'gtcm', '3899391c050b89ad0d46efdeabd85755947e1dc9'), (4902, 'gttr', '3023dd62966a240844071036fbb5fe0ee1b60d86')") passed to query ("INSERT INTO %s (revisionID, type, hash) VALUES %Q") for "%Q" conversion. %Q should be passed a query string.' at [/opt/phabricator/libphutil/src/xsprintf/qsprintf.php:435]
PHP message: [2018-12-04 19:28:52] PHLOG: 'UNSAFE: Raw string ("(4902, 'gtcm', '615bd31cc3a407cb69ead45ca13757052e0abd7d'), (4902, 'gttr', '47eb96c84c7f31f257ee764c15924c6ebc5932bd'), (4902, 'gtcm', '3899391c050b89ad0d46efdeabd85755947e1dc9'), (4902, 'gttr', '3023dd62966a240844071036fbb5fe0ee1b60d86')") passed to query ("INSERT INTO %s (revisionID, type, hash) VALUES %Q") for "%Q" conversion. %Q should be passed a query string.' at [/opt/phabricator/libphutil/src/xsprintf/qsprintf.php:435]
PHP message: [2018-12-04 19:28:52] PHLOG: 'UNSAFE: Raw string ("(32, 7155, 1543951732, 4902), (32, 7253, 1543951732, 4902), (32, 7163, 1543951732, 4902), (32, 7165, 1543951732, 4902), (32, 7162, 1543951732, 4902), (32, 7157, 1543951732, 4902), (32, 3, 1543951732, 4902), (32, 7251, 1543951732, 4902), (32, 7159, 1543951732, 4902), (32, 7156, 1543951732, 4902), (32, 7153, 1543951732, 4902), (32, 7158, 1543951732, 4902), (32, 7264, 1543951732, 4902), (32, 30201, 1543951732, 4902), (32, 7164
2018/12/04 19:28:52 [error] 30292#0: *1649313 upstream sent too big header while reading response header from upstream, client: 67.135.215.106, server: phabricator.company.com, request: "POST /api/differential.updaterevision HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm-phabricator.sock:", host: "phabricator.company.com"

@epriestley If the UNSAFE string is not in stable, can it be coming from arcanist in our clients’ machines? we are running arc diff in machines that are running master.


#12

It has been about two weeks since the original discussion, and this code has now promoted to stable. See the changelog: https://secure.phabricator.com/w/changelog/2018.48/

See https://secure.phabricator.com/T13217 for details and guidance.

When you run into queries raising this error, please start a new thread instead of adding to an existing one. The majority of the previous discussion here is not relevant, and the problem with the original user’s setup was ultimately that they were not running consistent versions of the software, rather than the qsprintf() changes.

I’ll fix the specific queries you encountered issues with shortly.


#13

See https://secure.phabricator.com/D19846.


#14

Cool, thanks. Next time will open a different thread.