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

cubestore error #35

Open
saraswathirs opened this issue Oct 11, 2023 · 2 comments · May be fixed by #47
Open

cubestore error #35

saraswathirs opened this issue Oct 11, 2023 · 2 comments · May be fixed by #47

Comments

@saraswathirs
Copy link

2023-10-07 09:06:54,513 ERROR [cubestore::cluster] pid:1 Network error: Connection closed unexpectedly. Please check your worker and meta connection environment variables.
2023-10-07 09:07:46,733 ERROR [cubestore::http] pid:1 Websocket error: Protocol(ResetWithoutClosingHandshake)
2023-10-07 09:07:47,433 ERROR [cubestore::http] pid:1 Websocket error: Protocol(ResetWithoutClosingHandshake)
2023-10-07 09:14:02,944 ERROR [cubestore::http] pid:1 Websocket error: Protocol(ResetWithoutClosingHandshake)
2023-10-07 09:17:18,187 ERROR [cubestore::http] pid:1 Websocket error: Protocol(ResetWithoutClosingHandshake)
2023-10-10 11:10:43,378 ERROR [cubestore::http] pid:1 Websocket error: Protocol(ResetWithoutClosingHandshake)
2023-10-10 11:11:07,793 ERROR [cubestore::http] pid:1 Websocket error: Protocol(ResetWithoutClosingHandshake)

i am getting this error continuously, can some help me to fix this

@jlloyd-widen
Copy link

I'm getting this exact same behavior too.

I wonder if this has much to do with devMode problems mentioned in other issues? 🤷

@jlloyd-widen
Copy link

This appears to be from not allocating enough resources to the appropriate pods. See this discussion for more details. I updated the values.yaml with the config below and these errors went away:

cube:
  extraEnvVars:
    - name: NODE_OPTIONS
      value: "--max-old-space-size=6144"

  api:
    apiCount: 2
    resources:
      requests:
        cpu: "2"
        memory: "3Gi"
      limits:
        cpu: "2"
        memory: "3Gi"

  worker:
    resources:
      requests:
        cpu: "2"
        memory: "6Gi"
      limits:
        cpu: "2"
        memory: "6Gi"

cubestore:
  router:
    resources:
      requests:
        cpu: "4"
        memory: "6Gi"
      limits:
        cpu: "4"
        memory: "6Gi"

  workers:
    workersCount: 2
    resources:
      requests:
        cpu: "4"
        memory: "8Gi"
      limits:
        cpu: "4"
        memory: "8Gi"

@jlloyd-widen jlloyd-widen linked a pull request Sep 6, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants