CodeReady Workspaces is slow, messages 'rejected for execution'
Environment
Red Hat CodeReady Workspaces (especially in Red Hat workshop environment)
Issue
CodeReady Workspaces is very slow. Messages of this type may be seen:
2020-01-29 15:30:51,205[nio-8080-exec-2] [WARN ] [j.i.ServerSideRequestProcessor 62] - Message CopyThreadLocalRunnable{ JsonRPC request `{"jsonrpc":"2.0","method":"installer/log","params":{"machineName":"dev-machine","runtimeId":{"workspaceId":"workspace0rfbwho6324h45bw","envName":"default","ownerId":"76dbd047-cdc8-4b1b-a40b-ff0187439ee0"},"time":"2020-01-29T15:30:51.042634049Z","text":"./node_modules/xml2object/test/pipe-test.js","installer":"com.redhat.bayesian.lsp","stream":"STDOUT"}}` for 1529714607<-:->master-websocket-endpoint } rejected for execution
2020-01-29 15:30:51,205[nio-8080-exec-2] [WARN ] [j.i.ServerSideRequestProcessor 62] - Message CopyThreadLocalRunnable{ JsonRPC request `{"jsonrpc":"2.0","method":"installer/log","params":{"machineName":"dev-machine","runtimeId":{"workspaceId":"workspace0rfbwho6324h45bw","envName":"default","ownerId":"76dbd047-cdc8-4b1b-a40b-ff0187439ee0"},"time":"2020-01-29T15:30:51.042720429Z","text":"./node_modules/xml2object/test/stream-test.js","installer":"com.redhat.bayesian.lsp","stream":"STDOUT"}}` for 1529714607<-:->master-websocket-endpoint } rejected for execution
Resolution
The messages are indicating bayesian (analytics) is unavailable. Disabling com.redhat.bayesian.lsp installer from factory / workspace can help.
This can be done:
- In the workspace details, change the factory definition via UI.
- Update stack and remove the installer from it's definition (also done through the UI).
Root Cause
Dependency (bayesian) not responding in a timely manner.
Diagnostic Steps
Read error messages, determine which component is complaining.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments