Comments (8)
thx @helene-nguyen, will check again but will properly rebuild the stack instead
from connectors.
Hello @argithubtogo! Can you confirm your platform is in 5.12.15 version? If so, try to update to 6.0
from connectors.
Tried to upgrade the platform from 5.12.15 to 6.0.7 but facing API unreachable issue. Now still fixing. Will update on the MISP issue once fixed.
from connectors.
Tried to upgrade the platform from 5.12.15 to 6.0.7 but facing API unreachable issue. Now still fixing. Will update on the MISP issue once fixed.
After upgrading, the platform now cannot start and having error log below. Any suggestion on his issue?
{ "category": "APP", "errors": [ { "attributes": { "genre": "TECHNICAL", "http_status": 500 }, "message": "Cannot query field \"edges\" on type \"Label\".", "name": "UNKNOWN_ERROR", "stack": "UNKNOWN_ERROR: Cannot query field \"edges\" on type \"Label\".\n at error (/opt/opencti/build/src/config/errors.js:8:10)\n at UnknownError (/opt/opencti/build/src/config/errors.js:76:47)\n at Object._logWithError (/opt/opencti/build/src/config/conf.js:331:23)\n at Object.error (/opt/opencti/build/src/config/conf.js:341:48)\n at Object.willSendResponse (/opt/opencti/build/src/graphql/loggerPlugin.js:115:20)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async Promise.all (index 1)\n at b (/opt/opencti/build/node_modules/apollo-server-core/src/requestPipeline.ts:530:5)\n at processGraphQLRequest (/opt/opencti/build/node_modules/apollo-server-core/src/requestPipeline.ts:273:16)\n at processHTTPRequest (/opt/opencti/build/node_modules/apollo-server-core/src/runHttpQuery.ts:437:24)" }, { "message": "Cannot query field \"edges\" on type \"Label\".", "name": "GraphQLError", "stack": "GraphQLError: Cannot query field \"edges\" on type \"Label\".\n at Object.Field (/opt/opencti/build/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js:51:13)\n at Object.enter (/opt/opencti/build/node_modules/graphql/language/visitor.js:301:32)\n at Object.enter (/opt/opencti/build/node_modules/graphql/utilities/TypeInfo.js:391:27)\n at visit (/opt/opencti/build/node_modules/graphql/language/visitor.js:197:21)\n at validate (/opt/opencti/build/node_modules/graphql/validation/validate.js:91:18)\n at validate (/opt/opencti/build/node_modules/apollo-server-core/src/requestPipeline.ts:477:12)\n at processGraphQLRequest (/opt/opencti/build/node_modules/apollo-server-core/src/requestPipeline.ts:267:32)\n at processTicksAndRejections (node:internal/process/task_queues:95:5)\n at processHTTPRequest (/opt/opencti/build/node_modules/apollo-server-core/src/runHttpQuery.ts:437:24)" } ], "inner_relation_creation": 0, "level": "error", "message": "Platform unmanaged direct error", "operation": "Unspecified", "operation_query": "query ThreatActors($filters:FilterGroup$search:String$first:Int$after:ID$orderBy:ThreatActorsOrdering$orderMode:OrderingMode){threatActors(filters:$filters search:$search first:$first after:$after orderBy:$orderBy orderMode:$orderMode){edges{node{id standard_id entity_type parent_types spec_version created_at updated_at createdBy{...on Identity{id standard_id entity_type parent_types spec_version identity_class name description roles contact_information x_opencti_aliases created modified objectLabel{edges{node{id value color}}}}...on Organization{x_opencti_organization_type x_opencti_reliability}...on Individual{x_opencti_firstname x_opencti_lastname}}objectMarking{edges{node{id standard_id entity_type definition_type definition created modified x_opencti_order x_opencti_color}}}objectLabel{edges{node{id value color}}}externalReferences{edges{node{id standard_id entity_type source_name description url hash external_id created modified importFiles{edges{node{id name size metaData{mimetype version}}}}}}}revoked confidence created modified name description aliases threat_actor_types first_seen last_seen roles goals sophistication resource_level primary_motivation secondary_motivations importFiles{edges{node{id name size metaData{mimetype version}}}}}}pageInfo{startCursor endCursor hasNextPage hasPreviousPage globalCount}}}", "size": 85, "time": 7, "timestamp": "2024-03-21T02:25:59.861Z", "type": "READ_ERROR", "user": { "group_ids": [ "f89e620b-09da-4703-aad1-a0844ab858c8" ], "ip": "::ffff:10.0.5.6", "organization_ids": [], "socket": "query", "user_id": "88ec0c6a-13ce-5e39-b486-354fe4a7084f", "user_metadata": {} }, "variables": { "after": null, "filters": null, "first": 1, "orderBy": null, "orderMode": null, "search": null }, "version": "6.0.7" }
from connectors.
@helene-nguyen or @Megafredo If you have some time, could you maybe check this please?
from connectors.
Yes @nino-filigran, we will check as soon as possible and give you an update :)
from connectors.
@argithubtogo, after some investigations, it is a known issue from the platform.
Have you double checked that the platform and everything (connector included) have been upgraded to the last version ?
About your issue on querying edges on type Label
, it's not due to connector changes but the version of OpenCTI platform because there is no more need to use 'edges' for the objectLabel field.
from connectors.
@argithubtogo, I close the issue as the problem was identified, but we can re-open it if needed :)
from connectors.
Related Issues (20)
- [Malpedia] ERROR: User effective max confidence level is insufficient to update this element HOT 6
- Stream Connector goes to "Inactive" status, does not "StreamAlive" HOT 2
- [Export CSV] Export both FROM NAME and TO NAME
- External reference not (re)created when using bundle and OpenCTIStix2.put_attribute_in_extension HOT 1
- Add new sources to Recorded Future external-import HOT 1
- Add additional debugging statements to the Recorded Future connectors
- [Import] Validating a workbench within a report can import a random file into it. HOT 5
- MISP AUTH Key variable appears to be missing for the misp-feed connector HOT 2
- Virus Total connector fails to enrich observables with an empty score HOT 1
- connector-diode-import - Container Issue - python3: can't open file '//diode-import.py': HOT 5
- [Intel471] List of bug and improvement HOT 6
- MISP integration is not working HOT 4
- [Mandiant] Remove empty report imported with Indicator
- New Connectors not showing up - Please help :)
- [diode-import] Question about creator and update of existing data HOT 1
- Taxii2 none authentication HOT 2
- [Hygiene] error when enriching obs with indicator having equal valid from and valid until HOT 5
- MISP Imported Events Display Only Indicators in Knowledge, Omitting Intrusion Sets, Threat Actors, and Attack Patterns. These entities appear only under Entities Distribution in the Overview page and do not show up in the Entities section. HOT 2
- [Qradar] Adding an environment variable
- [VirusTotal] Change method vt_score is generated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from connectors.