-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ERROR [cubestore::http] pid:1 Websocket error: Protocol(ResetWithoutClosingHandshake) #8669
Comments
Hi @jlloyd-widen 👋 Thanks for a very elaborate report! Let me clarify something.
How does the "switching" happen? You update the env vars and restart the whole cluster, correct? Also, I have to note that running Cube in a dev mode only makes sense for a single-node instance. Cube is not designed to work in a dev mode in a cluster setting. Why would you want to run Cube in a dev mode in your production environment? |
Yes, basically. In my case, it's updating the K8s/helm
I agree. I don't want to run dev mode in my k8s cluster but this error invalidates my deployment and therefore forces me to run in dev mode if I want anything to work. |
I see. I have a hunch that everything work in a dev mode because Cube Store is basically not used (hard to say for sure without checking your env vars). But it sounds pretty pleasing that once you run in prod mode, then Cube Store is used—and because of some (networking?) issues in a Cube Store cluster you now see these errors from the opening message. I would recommend to double-check the networking configuration/quality and also check the resources that you provisioned. Might anything be just deprived of them? |
@igorlukanin Good call. The resources do appear to be the problem. I upped the resources in my deployment to match the guidance you linked to and the errors appear to have disappeared. Thank you for your help! |
Describe the bug
The cubestore router and any workers will produce the follow error logs under certain conditions:
To Reproduce
Steps to reproduce the behavior:
cube.js
file and only 1 cube with a single measure, and 3 dimensions. No preaggsdevMode
fromtrue
tofalse
. WhendevMode
is enabled, everything works fine. When it's disabled the above errors begin to appear.Expected behavior
Everything should work without errors in devMode
Version:
0.35.22
Additional context
Similar issues are reported in the following places:
The text was updated successfully, but these errors were encountered: