-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
response.body.on is not a function #3666
Comments
I have same issue now on 8.0.1 fix 5 I think after node upgrade to 20? 2025-01-28 09:55:29] USERLVL: {Operation ID: 2ffc18c3-b782-4582-bc6a-d6c9236a9004} [storeAssertionCommand] (Command ID: 6418bf7e-fffd-4c77-a195-8441984f66eb) level-change |
I have the same issue. Not sure why (I run NodeJS 20.18.2 on Ubuntu Noble?), but it seems to originate in:
and you can 'fix' it there through something like:
However, why is ot-node using a two year old version of @comunica/query-sparql? Incidentally, it may look harmless, but it's not. While you have this error, no knowledge assets are being inserted in to the local Blazegraph database. |
Did you try the above code change kaas? Comunica is on v4 it seems, yet we get installed version v2 with ot-node |
Yes, the above code will lead to knowledge assets being inserted in to the database again. I am not sure about any side effects though. |
You patched this part of code?
|
You need to replace this code on lines 129 - 131:
|
It seems to have been fixed with an upgrade of @comunica/query-sparql in ot-node 8.0.0+hotfix.7. |
The following issue is occurring on FACEMELT but not LOAFCAT:
Thanks all!
Issue description
[2025-01-01 18:48:28] ERROR: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Command error (StoreAssertionError): response.body.on is not a function

[2025-01-01 18:48:28] DEBUG: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Marking operation id 6685857e-46d6-42bb-93ff-82eaf633f48b as failed
[2025-01-01 18:48:28] DEBUG: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Removing operation id: 6685857e-46d6-42bb-93ff-82eaf633f48b cached data
[2025-01-01 18:48:28] TRACE: [readCachedPublishDataCommand] (Command ID: 00135465-07bd-4c39-9dca-2f0929fb013d) Removing file at path: /root/ot-node/data/operation_id_cache/6685857e-46d6-42bb-93ff-82eaf633f48b
[2025-01-01 18:48:28] ERROR: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Command error (StoreAssertionError): response.body.on is not a function
[2025-01-01 18:48:28] DEBUG: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Marking operation id 990e0eec-8c14-4f88-bf01-37bafed7a5ce as failed
[2025-01-01 18:48:28] DEBUG: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Removing operation id: 990e0eec-8c14-4f88-bf01-37bafed7a5ce cached data
[2025-01-01 18:48:28] TRACE: [readCachedPublishDataCommand] (Command ID: 00135465-07bd-4c39-9dca-2f0929fb013d) Removing file at path: /root/ot-node/data/operation_id_cache/990e0eec-8c14-4f88-bf01-37bafed7a5ce
[2025-01-01 18:48:28] DEBUG: [readCachedPublishDataCommand] (Command ID: 00135465-07bd-4c39-9dca-2f0929fb013d) File not found at path: /root/ot-node/data/operation_id_cache/6685857e-46d6-42bb-93ff-82eaf633f48b
[2025-01-01 18:48:28] DEBUG: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Removing operation id: 6685857e-46d6-42bb-93ff-82eaf633f48b cached data from memory
[2025-01-01 18:48:28] DEBUG: [readCachedPublishDataCommand] (Command ID: 00135465-07bd-4c39-9dca-2f0929fb013d) File not found at path: /root/ot-node/data/operation_id_cache/990e0eec-8c14-4f88-bf01-37bafed7a5ce
[2025-01-01 18:48:28] DEBUG: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Removing operation id: 990e0eec-8c14-4f88-bf01-37bafed7a5ce cached data from memory
[2025-01-01 18:48:28] ERROR: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Command error (StoreAssertionError): response.body.on is not a function
[2025-01-01 18:48:28] DEBUG: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Marking operation id 4e25d3a1-2148-4759-b721-e5751f4feeae as failed
[2025-01-01 18:48:28] DEBUG: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Removing operation id: 4e25d3a1-2148-4759-b721-e5751f4feeae cached data
[2025-01-01 18:48:28] TRACE: [readCachedPublishDataCommand] (Command ID: 00135465-07bd-4c39-9dca-2f0929fb013d) Removing file at path: /root/ot-node/data/operation_id_cache/4e25d3a1-2148-4759-b721-e5751f4feeae
[2025-01-01 18:48:28] DEBUG: [readCachedPublishDataCommand] (Command ID: 00135465-07bd-4c39-9dca-2f0929fb013d) File not found at path: /root/ot-node/data/operation_id_cache/4e25d3a1-2148-4759-b721-e5751f4feeae
[2025-01-01 18:48:28] DEBUG: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Removing operation id: 4e25d3a1-2148-4759-b721-e5751f4feeae cached data from memory
[2025-01-01 18:48:28] ERROR: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Command error (StoreAssertionError): response.body.on is not a function
[2025-01-01 18:48:28] DEBUG: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Marking operation id 10f156f0-3b72-48d7-a58b-16842666d839 as failed
[2025-01-01 18:48:28] DEBUG: {Operation ID: 10f156f0-3b72-48d7-a58b-16842666d839} [storeAssertionCommand] (Command ID: 8fb0eb37-22a1-4585-83bd-a4889229e167) Removing operation id: 10f156f0-3b72-48d7-a58b-16842666d839 cached data
Expected behavior
Actual behavior
Steps to reproduce the problem
Specifications
Contact details
Error logs
Disclaimer
Please be aware that the issue reported on a public repository allows everyone to see your node logs, node details, and contact details. If you have any sensitive information, feel free to share it by sending an email to [email protected].
The text was updated successfully, but these errors were encountered: