Coder Social home page Coder Social logo

Streams returning HTTP/500 about opencti HOT 6 CLOSED

MaxwellDPS avatar MaxwellDPS commented on May 24, 2024
Streams returning HTTP/500

from opencti.

Comments (6)

nino-filigran avatar nino-filigran commented on May 24, 2024 1

@MaxwellDPS I see that you did not indicate any steps to reproduce: is it because you don't know how to reproduce?

from opencti.

MaxwellDPS avatar MaxwellDPS commented on May 24, 2024

Not sure if its related but also seeing this around the same time

{
    "category": "APP",
    "error": {
        "context": {},
        "message": "Cannot read properties of undefined (reading 'length')",
        "name": "TypeError",
        "stack": "TypeError: Cannot read properties of undefined (reading 'length')\n    at taxiiV21DataHandler (/opt/opencti/build/src/manager/ingestionManager.ts:233:20)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)\n    at async Promise.all (index 0)\n    at async Promise.all (index 1)\n    at ingestionHandler (/opt/opencti/build/src/manager/ingestionManager.ts:288:5)\n    at /opt/opencti/build/src/manager/ingestionManager.ts:307:9\n    at pyt.#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)"
    },
    "level": "error",
    "message": "[OPENCTI-MODULE] Taxii ingestion execution error for <REMOVED>",
    "timestamp": "2024-01-19T00:42:21.112Z",
    "version": "5.12.4"
}

from opencti.

richard-julien avatar richard-julien commented on May 24, 2024

"ERR no such key" is an error that occurs when the stream is deleted from the redis. This situation must not happens as flushing directly the redis is not an authorized operation.

"Cannot read properties of undefined (reading 'length')", i think its already fixed in newest version of the platform

from opencti.

MaxwellDPS avatar MaxwellDPS commented on May 24, 2024

Hey @richard-julien & @nino-filigran thanks for the reply!

@nino-filigran Yeah, there seems to be an issue with the datastore on this instance (#4936) But this was a unexpected Loss in cabin pressure scenario, so not sure a great way to recreate.

@richard-julien On the Redis issue, this has largely resolved itsself after ~50m. To clarify here, redis was flushed following the initial stall.

Sequence of events

  1. Stream Sync RMQ rate drops [Remote Not the problem instance]
  2. On the remote instance all the streams returned HTTP/500s
  3. Once I saw that + the Redis log I shut down the platform pods
  4. I then flushed Redis and issued a restart of the Redis service
  5. Once Redis was healthy I rescaled the platform pods and kubernetes rescheduled the workers
  6. At this point the stream was still broken

from opencti.

nino-filigran avatar nino-filigran commented on May 24, 2024

@MaxwellDPS Do you still have an issue with this?

from opencti.

Jipegien avatar Jipegien commented on May 24, 2024

closing the issue due to no news. Do not hesitate to reopen the issue if necessary.

from opencti.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.