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

Connectors' page throwing error #130

Open
peter1490 opened this issue Nov 28, 2023 · 0 comments
Open

Connectors' page throwing error #130

peter1490 opened this issue Nov 28, 2023 · 0 comments

Comments

@peter1490
Copy link

UI error

On URL dashboard/data/connectors an error is being thrown "An unknown error occurred. Please contact your administrator or the OpenCTI maintainers." :
image

Console log error

Here's what's showing up on the console :

Error
    at Object.render (front-22RDRV77.js:8408:46980)
    at a.render (front-22RDRV77.js:40:47548)
    at n1t (front-22RDRV77.js:8:6275)
    at _Aa (front-22RDRV77.js:8:6067)
    at OOa (front-22RDRV77.js:8:45658)
    at COa (front-22RDRV77.js:8:40412)
    at a9s (front-22RDRV77.js:8:40335)
    at kdn (front-22RDRV77.js:8:40183)
    at c1t (front-22RDRV77.js:8:36453)
    at xOa (front-22RDRV77.js:8:35373)

OpenCTI container log error

Here's the logged error from the container :

{
    "category": "APP",
    "error": {
        "stacktrace": [
            "AxiosError: Request failed with status code 504",
            "at settle (/opt/opencti/build/node_modules/axios/lib/core/settle.js:19:12)",
            "at IncomingMessage.handleStreamEnd (/opt/opencti/build/node_modules/axios/lib/adapters/http.js:572:11)",
            "at IncomingMessage.emit (node:events:526:35)",
            "at endReadableNT (node:internal/streams/readable:1408:12)",
            "at processTicksAndRejections (node:internal/process/task_queues:82:21)"
        ]
    },
    "inner_relation_creation": 0,
    "level": "error",
    "message": "API Call",
    "operation": "ConnectorsStatusQuery",
    "operation_query": "query ConnectorsStatusQuery{...ConnectorsStatus_data}fragment ConnectorsStatus_data on Query{connectors{id name active auto connector_type connector_scope updated_at config{listen listen_exchange push push_exchange}built_in}rabbitMQMetrics{queues{name messages messages_ready messages_unacknowledged consumers idle_since message_stats{ack ack_details{rate}}}}}",
    "size": 2,
    "time": 57,
    "timestamp": "2023-11-28T14:13:47.827Z",
    "type": "READ_ERROR",
    "user": {
        "group_ids": [
            "44771061-c5f0-46de-9337-311514a36d4e"
        ],
        "ip": "10.250.48.226",
        "organization_ids": [],
        "referer": "http://itssilpr01:8080/dashboard/data/connectors",
        "socket": "query",
        "user_id": "88ec0c6a-13ce-5e39-b486-354fe4a7084f"
    },
    "variables": {},
    "version": "5.11.14"
}

Some background

I did not have any issue the first few times I ran docker compose, I was adding connectors, everything worked fine.
One time I restarded the containers, this is when I started having this issue, I tried removing connectors one by one thinking one of them was causing the issue, but that didn't help either.
I finally deleted all the containers and all the volumes from docker and made a fresh install, and still the issue persists.

Thank you for help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant