Skip to content
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

Subscriptions & digests error #2395

Closed
alexmartz001 opened this issue Sep 25, 2022 · 0 comments
Closed

Subscriptions & digests error #2395

alexmartz001 opened this issue Sep 25, 2022 · 0 comments
Labels
bug use for describing something not working as expected solved use to identify issue that has been solved (must be linked to the solving PR)

Comments

@alexmartz001
Copy link

Description

the subscription module does not work, the environment variable does not exist. the subscription variable was added and it does not send the messages.

Environment

  1. OS Ubuntu 20.04
  2. OpenCTI version: 5.3.12
  3. OpenCTI client: { e.g. frontend or python }
  4. Other environment details:
    docker install enviroment

Steps to create the smallest reproducible scenario:

  1. { e.g. Run ... }
  2. { e.g. Click ... }
  3. { e.g. Error ... }

logs

{"category":"APP","element":{"_index":"opencti_internal_objects-000001","base_type":"ENTITY","cron":"1-hours","entities_ids":["bf2d8f76-c7f8-4af7-9e0e-c2b7aeca23fe","8d30c124-58e0-47bc-bec2-697527e97413","4c0e88b2-b46d-42e3-a0c5-49858c396bd3"],"entity_type":"UserSubscription","filters":"{}","id":"31f055a7-2fea-4b77-923d-ce6cc248cc15","internal_id":"31f055a7-2fea-4b77-923d-ce6cc248cc15","last_run":"2022-09-23T13:13:11.067Z","name":"Noticias","options":["ENTITIES","KNOWLEDGE","CONTAINERS","TECHNICAL"],"parent_types":["Basic-Object","Internal-Object"],"sort":["usersubscription--a633823c-5893-5da1-a62e-aa0543cb7126"],"standard_id":"usersubscription--a633823c-5893-5da1-a62e-aa0543cb7126","user_id":"09377d5e-bdab-4f00-8df7-dfce56f85287"},"error":{"context":{},"message":"Cannot read properties of undefined (reading 'name')","name":"TypeError","stack":"TypeError: Cannot read properties of undefined (reading 'name')\n at /opt/opencti/build/src/domain/userSubscription.js:287:47\n at Array.map ()\n at generateDigestForSubscription (/opt/opencti/build/src/domain/userSubscription.js:287:34)\n at runMicrotasks ()\n at processTicksAndRejections (node:internal/process/task_queues:96:5)\n at concurrentSend (/opt/opencti/build/src/manager/subscriptionManager.js:35:25)"},"level":"error","message":"[OPENCTI-MODULE] Subscription manager failed to generate the digest","timestamp":"2022-09-25T00:14:08.241Z","version":"5.3.12"}

@SamuelHassine SamuelHassine transferred this issue from OpenCTI-Platform/connectors Sep 29, 2022
@SamuelHassine SamuelHassine added this to the Release 5.3.16 milestone Sep 29, 2022
@SamuelHassine SamuelHassine added the bug use for describing something not working as expected label Sep 29, 2022
@SamuelHassine SamuelHassine added the solved use to identify issue that has been solved (must be linked to the solving PR) label Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug use for describing something not working as expected solved use to identify issue that has been solved (must be linked to the solving PR)
Projects
None yet
Development

No branches or pull requests

2 participants