-
Notifications
You must be signed in to change notification settings - Fork 121
Open
Description
From log entries:
2025-10-13T12:34:05.242889209Z {"level":"info","time":"2025-10-13T12:34:05.242Z","pid":1,"hostname":"ccf6adfc8969","name":"stacks-node-event","reqId":"req-a06","req":{"method":"POST","url":"/new_block","hostname":"stacks-api:3700","remoteAddress":"10.0.0.101","remotePort":44632,"bodySize":10416},"msg":"incoming request"}
2025-10-13T12:34:05.301178751Z {"level":"error","time":"2025-10-13T12:34:05.300Z","pid":1,"hostname":"ccf6adfc8969","name":"api","err":{"type":"PostgresError","message":"invalid byte sequence for encoding \"UTF8\": 0x00","stack":"PostgresError: invalid byte sequence for encoding \"UTF8\": 0x00\n at ErrorResponse (/app/node_modules/@hirosystems/api-toolkit/node_modules/postgres/cjs/src/connection.js:788:26)\n at handle (/app/node_modules/@hirosystems/api-toolkit/node_modules/postgres/cjs/src/connection.js:474:6)\n at Socket.data (/app/node_modules/@hirosystems/api-toolkit/node_modules/postgres/cjs/src/connection.js:315:9)\n at Socket.emit (node:events:519:28)\n at addChunk (node:internal/streams/readable:561:12)\n at readableAddChunkPushByteMode (node:internal/streams/readable:512:3)\n at Socket.Readable.push (node:internal/streams/readable:392:5)\n at TCP.onStreamRead (node:internal/stream_base_commons:189:23)\n at TCP.callbackTrampoline (node:internal/async_hooks:130:17)\n at cachedError (/app/node_modules/@hirosystems/api-toolkit/node_modules/postgres/cjs/src/query.js:170:23)\n at new Query (/app/node_modules/@hirosystems/api-toolkit/node_modules/postgres/cjs/src/query.js:36:24)\n at sql (/app/node_modules/@hirosystems/api-toolkit/node_modules/postgres/cjs/src/index.js:112:11)\n at PgWriteStore.updateTx (/app/src/datastore/pg-write-store.ts:2086:28)","name":"PostgresError","severity_local":"ERROR","severity":"ERROR","code":"22021","where":"unnamed portal parameter $224","file":"mbutils.c","line":"1723","routine":"report_invalid_encoding"},"msg":"unhandledRejection"}