We want to update the Wikidata Termbox server-side rendering service to Node 18. The Blubber file was updated in Migrate from node16 to node18 (building the image version 2024-01-22-163619-production), and the new version was updated in values-test.yaml with no problems observed on Test Wikidata, but an update in value.yaml caused problems and had to be reverted – Logstash showed some errors on the Wikibase side like
Wikibase\View\Termbox\Renderer\TermboxRemoteRenderer: Problem requesting from the remote server
and the SSR itself printed lots of errors like this to the kubectl logs:
{"name":"wikibase-termbox","hostname":"termbox-production-7dfff557f8-4p9m9","pid":17,"level":"ERROR","message":"connect ECONNREFUSED ::1:6500","request":{"headers":{"Accept":"application/json, text/plain, */*","User-Agent":"wikibase-termbox/0.1.0 (The Wikidata team) axios/^0.21.1","Host":"www.wikidata.org:6500"},"url":"index.php","params":{"title":"Special:EntityData","id":"Q100626766","revision":2032799759,"format":"json"}},"url":"/termbox?entity=Q100626766&revision=2032799759&language=en&editLink=%2Fwiki%2FSpecial%3ASetLabelDescriptionAliases%2FQ100626766&preferredLanguages=en","reqId":"b17d22b1-01ea-4879-82b3-96a15d5f7b6c","levelPath":"error/service","msg":"connect ECONNREFUSED ::1:6500","time":"2024-01-23T15:22:48.263Z","v":0} {"name":"wikibase-termbox","hostname":"termbox-production-7dfff557f8-4p9m9","pid":17,"level":"ERROR","message":"connect ECONNREFUSED ::1:6500","request":{"headers":{"Accept":"application/json, text/plain, */*","User-Agent":"wikibase-termbox/0.1.0 (The Wikidata team) axios/^0.21.1","Host":"www.wikidata.org:6500"},"url":"index.php","params":{"title":"Special:EntityData","id":"Q100626766","revision":2032799759,"format":"json"}},"url":"/termbox?entity=Q100626766&revision=2032799759&language=en&editLink=%2Fwiki%2FSpecial%3ASetLabelDescriptionAliases%2FQ100626766&preferredLanguages=en","reqId":"b17d22b1-01ea-4879-82b3-96a15d5f7b6c","levelPath":"error/service","msg":"connect ECONNREFUSED ::1:6500","time":"2024-01-23T15:22:48.336Z","v":0} {"name":"wikibase-termbox","hostname":"termbox-production-7dfff557f8-4p9m9","pid":17,"level":"ERROR","message":"connect ECONNREFUSED ::1:6500","request":{"headers":{"Accept":"application/json, text/plain, */*","User-Agent":"wikibase-termbox/0.1.0 (The Wikidata team) axios/^0.21.1","Host":"www.wikidata.org:6500"},"url":"index.php","params":{"title":"Special:EntityData","id":"Q123049437","revision":2003292132,"format":"json"}},"url":"/termbox?entity=Q123049437&revision=2003292132&language=en&editLink=%2Fwiki%2FSpecial%3ASetLabelDescriptionAliases%2FQ123049437&preferredLanguages=en","reqId":"2250f175-6433-403b-b975-4404a459734c","levelPath":"error/service","msg":"connect ECONNREFUSED ::1:6500","time":"2024-01-23T15:22:49.700Z","v":0} {"name":"wikibase-termbox","hostname":"termbox-production-7dfff557f8-4p9m9","pid":17,"level":"ERROR","message":"connect ECONNREFUSED ::1:6500","request":{"headers":{"Accept":"application/json, text/plain, */*","User-Agent":"wikibase-termbox/0.1.0 (The Wikidata team) axios/^0.21.1","Host":"www.wikidata.org:6500"},"url":"index.php","params":{"title":"Special:EntityData","id":"Q78603151","revision":1581930543,"format":"json"}},"url":"/termbox?entity=Q78603151&revision=1581930543&language=en&editLink=%2Fwiki%2FSpecial%3ASetLabelDescriptionAliases%2FQ78603151&preferredLanguages=en","reqId":"bc474f84-1bf5-47ff-bb6b-41a71751dc40","levelPath":"error/service","msg":"connect ECONNREFUSED ::1:6500","time":"2024-01-23T15:22:52.468Z","v":0} {"name":"wikibase-termbox","hostname":"termbox-production-7dfff557f8-4p9m9","pid":17,"level":"ERROR","message":"connect ECONNREFUSED ::1:6500","request":{"headers":{"Accept":"application/json, text/plain, */*","User-Agent":"wikibase-termbox/0.1.0 (The Wikidata team) axios/^0.21.1","Host":"www.wikidata.org:6500"},"url":"index.php","params":{"title":"Special:EntityData","id":"Q1","revision":103,"format":"json"}},"url":"/termbox?language=de&entity=Q1&revision=103&editLink=%2Fedit%2FQ1347&preferredLanguages=de%7Cen","reqId":"675d6a65-99e8-49ed-bde9-c7e9a357d201","levelPath":"error/service","msg":"connect ECONNREFUSED ::1:6500","time":"2024-01-23T15:22:52.827Z","v":0} {"name":"wikibase-termbox","hostname":"termbox-production-7dfff557f8-4p9m9","pid":17,"level":"ERROR","message":"connect ECONNREFUSED ::1:6500","request":{"headers":{"Accept":"application/json, text/plain, */*","User-Agent":"wikibase-termbox/0.1.0 (The Wikidata team) axios/^0.21.1","Host":"www.wikidata.org:6500"},"url":"index.php","params":{"title":"Special:EntityData","id":"Q1","revision":103,"format":"json"}},"url":"/termbox?language=de&entity=Q1&revision=103&editLink=%2Fedit%2FQ1347&preferredLanguages=de%7Cen","reqId":"5ec7ea20-4229-495c-9a04-8492d68ac71e","levelPath":"error/service","msg":"connect ECONNREFUSED ::1:6500","time":"2024-01-23T15:22:54.438Z","v":0} {"name":"wikibase-termbox","hostname":"termbox-production-7dfff557f8-4p9m9","pid":17,"level":"ERROR","message":"connect ECONNREFUSED ::1:6500","request":{"headers":{"Accept":"application/json, text/plain, */*","User-Agent":"wikibase-termbox/0.1.0 (The Wikidata team) axios/^0.21.1","Host":"www.wikidata.org:6500"},"url":"index.php","params":{"title":"Special:EntityData","id":"Q28194017","revision":1373118015,"format":"json"}},"url":"/termbox?entity=Q28194017&revision=1373118015&language=en&editLink=%2Fwiki%2FSpecial%3ASetLabelDescriptionAliases%2FQ28194017&preferredLanguages=en","reqId":"9ca27f83-3883-4d8b-a911-a78371917117","levelPath":"error/service","msg":"connect ECONNREFUSED ::1:6500","time":"2024-01-23T15:22:54.824Z","v":0} {"name":"wikibase-termbox","hostname":"termbox-production-7dfff557f8-4p9m9","pid":17,"level":"ERROR","message":"connect ECONNREFUSED ::1:6500","request":{"headers":{"Accept":"application/json, text/plain, */*","User-Agent":"wikibase-termbox/0.1.0 (The Wikidata team) axios/^0.21.1","Host":"www.wikidata.org:6500"},"url":"index.php","params":{"title":"Special:EntityData","id":"Q86367866","revision":1517776825,"format":"json"}},"url":"/termbox?entity=Q86367866&revision=1517776825&language=en&editLink=%2Fwiki%2FSpecial%3ASetLabelDescriptionAliases%2FQ86367866&preferredLanguages=en","reqId":"3417ab41-e267-4548-9891-c3e12b24f52e","levelPath":"error/service","msg":"connect ECONNREFUSED ::1:6500","time":"2024-01-23T15:22:56.983Z","v":0} {"name":"wikibase-termbox","hostname":"termbox-production-7dfff557f8-4p9m9","pid":17,"level":"ERROR","message":"connect ECONNREFUSED ::1:6500","request":{"headers":{"Accept":"application/json, text/plain, */*","User-Agent":"wikibase-termbox/0.1.0 (The Wikidata team) axios/^0.21.1","Host":"www.wikidata.org:6500"},"url":"index.php","params":{"title":"Special:EntityData","id":"Q33254393","revision":1774045136,"format":"json"}},"url":"/termbox?entity=Q33254393&revision=1774045136&language=en&editLink=%2Fwiki%2FSpecial%3ASetLabelDescriptionAliases%2FQ33254393&preferredLanguages=en","reqId":"801d4cd4-d858-4a68-9c8a-91e2cd61d74a","levelPath":"error/service","msg":"connect ECONNREFUSED ::1:6500","time":"2024-01-23T15:22:59.374Z","v":0}
(Full file in /home/lucaswerkmeister-wmde/lucas-termbox-logs-2024-01-23 on deploy2002.) The important error appears to be “connect ECONNREFUSED ::1:6500”.
We need to figure out what’s going wrong here and how to fix it.