-
Notifications
You must be signed in to change notification settings - Fork 971
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
Bug - GraphQLError: Execution timeout, too many concurrent call on the same entities / File not found or restricted #9401
Comments
Since the migration i got error like: 'Update indexing fail' |
@baptiste-fourmont would you be able to give us a reproduction scenario so that we can try to reproduce it? When do you get this error regarding your artifact? Is that something you deleted ? Also we just released a new version, so you might want to upgrade to the latest and see if the problem persists. |
Hello I'm going to upgrade to 6.4.5. For the artifact, it has probably been removed by the retention policy. |
Good morning, It seems that the error is only caused on the artifcat object type {"category":"APP","errors":[{"attributes":{"filename":"import/Artifact/5e36c103-7c6b-4cb9-9630-029e14582505/5-2839-2024_01.09.2024.lnk","genre":"BUSINESS","http_status":400},"message":"File not found or restricted","name":"FUNCTIONAL_ERROR","stack":"GraphQLError: File not found or restricted\n at error (/opt/opencti/build/src/config/errors.js:7:10)\n at FunctionalError (/opt/opencti/build/src/config/errors.js:94:50)\n at loadFile (/opt/opencti/build/src/database/file-storage.js:301:15)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at deleteFile (/opt/opencti/build/src/database/file-storage.js:126:14)\n at deleteFiles (/opt/opencti/build/src/database/file-storage.js:153:5)\n at processDeleteOperation (/opt/opencti/build/src/modules/deleteOperation/deleteOperation-domain.ts:256:7)\n at confirmDelete (/opt/opencti/build/src/modules/deleteOperation/deleteOperation-domain.ts:271:12)\n at Object.garbageCollectionHandler [as handler] (/opt/opencti/build/src/manager/garbageCollectionManager.ts:25:7)\n at cronHandler (/opt/opencti/build/src/manager/managerModule.ts:75:11)\n at /opt/opencti/build/src/manager/managerModule.ts:132:11\n at Dnt.#runHandlerAndScheduleTimeout (/opt/opencti/build/node_modules/set-interval-async/dist/set-interval-async-timer.cjs:36:13)\n at Timeout._onTimeout (/opt/opencti/build/node_modules/set-interval-async/dist/set-interval-async-timer.cjs:29:13)"}],"id":"4eaeba1b-7549-4e9d-8c39-52ea3f2787fe","level":"warn","manager":"GARBAGE_COLLECTION_MANAGER","message":"File not found or restricted","source":"backend","timestamp":"2024-12-19T10:02:44.695Z","version":"6.4.5"}
{"category":"APP","errors":[{"attributes":{"filename":"import/Artifact/ad1a4dce-bb54-4578-9986-2443ccd7129a/RFQ-MR-24-09101 SPS.js","genre":"BUSINESS","http_status":400},"message":"File not found or restricted","name":"FUNCTIONAL_ERROR","stack":"GraphQLError: File not found or restricted\n at error (/opt/opencti/build/src/config/errors.js:7:10)\n at FunctionalError (/opt/opencti/build/src/config/errors.js:94:50)\n at loadFile (/opt/opencti/build/src/database/file-storage.js:301:15)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at deleteFile (/opt/opencti/build/src/database/file-storage.js:126:14)\n at deleteFiles (/opt/opencti/build/src/database/file-storage.js:153:5)\n at processDeleteOperation (/opt/opencti/build/src/modules/deleteOperation/deleteOperation-domain.ts:256:7)\n at confirmDelete (/opt/opencti/build/src/modules/deleteOperation/deleteOperation-domain.ts:271:12)\n at Object.garbageCollectionHandler [as handler] (/opt/opencti/build/src/manager/garbageCollectionManager.ts:25:7)\n at cronHandler (/opt/opencti/build/src/manager/managerModule.ts:75:11)\n at /opt/opencti/build/src/manager/managerModule.ts:132:11\n at Dnt.#runHandlerAndScheduleTimeout (/opt/opencti/build/node_modules/set-interval-async/dist/set-interval-async-timer.cjs:36:13)\n at Timeout._onTimeout (/opt/opencti/build/node_modules/set-interval-async/dist/set-interval-async-timer.cjs:29:13)"}],"id":"bc64abd3-c9b8-4688-85a3-9a9a2b67244f","level":"warn","manager":"GARBAGE_COLLECTION_MANAGER","message":"File not found or restricted","source":"backend","timestamp":"2024-12-19T10:02:44.714Z","version":"6.4.5"}
{"category":"APP","errors":[{"attributes":{"filename":"import/Artifact/07c13fb9-6ed7-4a17-979d-f73658bc497a/qsKo","genre":"BUSINESS","http_status":400},"message":"File not found or restricted","name":"FUNCTIONAL_ERROR","stack":"GraphQLError: File not found or restricted\n at error (/opt/opencti/build/src/config/errors.js:7:10)\n at FunctionalError (/opt/opencti/build/src/config/errors.js:94:50)\n at loadFile (/opt/opencti/build/src/database/file-storage.js:301:15)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at deleteFile (/opt/opencti/build/src/database/file-storage.js:126:14)\n at deleteFiles (/opt/opencti/build/src/database/file-storage.js:153:5)\n at processDeleteOperation (/opt/opencti/build/src/modules/deleteOperation/deleteOperation-domain.ts:256:7)\n at confirmDelete (/opt/opencti/build/src/modules/deleteOperation/deleteOperation-domain.ts:271:12)\n at Object.garbageCollectionHandler [as handler] (/opt/opencti/build/src/manager/garbageCollectionManager.ts:25:7)\n at cronHandler (/opt/opencti/build/src/manager/managerModule.ts:75:11)\n at /opt/opencti/build/src/manager/managerModule.ts:132:11\n at Dnt.#runHandlerAndScheduleTimeout (/opt/opencti/build/node_modules/set-interval-async/dist/set-interval-async-timer.cjs:36:13)\n at Timeout._onTimeout (/opt/opencti/build/node_modules/set-interval-async/dist/set-interval-async-timer.cjs:29:13)"}],"id":"a8376033-8947-421c-9222-0d5702539b78","level":"warn","manager":"GARBAGE_COLLECTION_MANAGER","message":"File not found or restricted","source":"backend","timestamp":"2024-12-19T10:02:44.727Z","version":"6.4.5"}
{"category":"APP","errors":[{"attributes":{"filename":"import/Artifact/2a780408-69a9-4c37-8787-67b202582d0a/CSDE-DS-2024-027.exe","genre":"BUSINESS","http_status":400},"message":"File not found or restricted","name":"FUNCTIONAL_ERROR","stack":"GraphQLError: File not found or restricted\n at error (/opt/opencti/build/src/config/errors.js:7:10)\n at FunctionalError (/opt/opencti/build/src/config/errors.js:94:50)\n at loadFile (/opt/opencti/build/src/database/file-storage.js:301:15)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at deleteFile (/opt/opencti/build/src/database/file-storage.js:126:14)\n at deleteFiles (/opt/opencti/build/src/database/file-storage.js:153:5)\n at processDeleteOperation (/opt/opencti/build/src/modules/deleteOperation/deleteOperation-domain.ts:256:7)\n at confirmDelete (/opt/opencti/build/src/modules/deleteOperation/deleteOperation-domain.ts:271:12)\n at Object.garbageCollectionHandler [as handler] (/opt/opencti/build/src/manager/garbageCollectionManager.ts:25:7)\n at cronHandler (/opt/opencti/build/src/manager/managerModule.ts:75:11)\n at /opt/opencti/build/src/manager/managerModule.ts:132:11\n at Dnt.#runHandlerAndScheduleTimeout (/opt/opencti/build/node_modules/set-interval-async/dist/set-interval-async-timer.cjs:36:13)\n at Timeout._onTimeout (/opt/opencti/build/node_modules/set-interval-async/dist/set-interval-async-timer.cjs:29:13)"}],"id":"d8d3d5b0-3b4a-44c9-aa57-22616ad46382","level":"warn","manager":"GARBAGE_COLLECTION_MANAGER","message":"File not found or restricted","source":"backend","timestamp":"2024-12-19T10:02:44.739Z","version":"6.4.5"} |
It's seems to be linked to: #9424 |
Hi ! Now, I'm not sure how it could lead to failed initialization of the platform. The manager just runs every 10 minutes and fails with error logs and that's it. |
Hello, I can confirm that they are no longer there. I've checked minio and they're no longer there. I saw that there was this error on startup. And each time the retention manager or garabage manager make actions it and it rertuns warning of filename: import/Artifact.
|
Description
Since the 6.4.3 version i got some problems of concurrent call on the same entities, or missing file not found or restricted error.
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
Expected Output
Actual Output
Additional information
Screenshots (optional)
The text was updated successfully, but these errors were encountered: