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

package.json: Update @patternfly/react-console #647

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Mar 31, 2022

@github-actions github-actions bot added the bot label Mar 31, 2022
@github-actions github-actions bot changed the title [no-test] package.json: Update @patternfly/react-console package.json: Update @patternfly/react-console Mar 31, 2022
martinpitt pushed a commit that referenced this pull request Mar 31, 2022
@martinpitt martinpitt force-pushed the npm-update-@patternfly/react-console-20220331-024949 branch from fc67bfd to 3ea6308 Compare March 31, 2022 02:49
@github-actions
Copy link
Contributor Author

Please manually check features related to these files:

package.json:    "@patternfly/react-console": "4.53.14",
src/components/vm/consoles/consoles.jsx:import { AccessConsoles } from "@patternfly/react-console";
src/components/vm/consoles/desktopConsole.jsx:import { DesktopViewer } from '@patternfly/react-console';
src/components/vm/consoles/vnc.jsx:import { VncConsole } from '@patternfly/react-console';

@martinpitt
Copy link
Member

Seems ok, but we need to validate that the "unexpected connection close" messages from the inline console are legit, and accept them.

@martinpitt
Copy link
Member

The disconnect messages appear during self.goToVmPage("subVmTest1"), which already auto-connects to the VNC console. In the JS log I see several error: Disconnection timed out. messages and a warning: WebSocket on-error event and info: Connection lost: but not where exactly they come from.

Anything else after that doesn't produce these messages any more. I had expected these during the reboot, or from the end of the test where it forcibly stops the cockpit session (as the test doesn't log out cleanly), but that's not it.

Switching between VM overview and details reproduces these. However, at this point this is too deep inside the react-console code that I can make sense of it quickly.

@skobyda
Copy link
Contributor

skobyda commented Apr 12, 2022

I debugged a bit and found the was introduced between version 4.49.7 -> 4.49.8, probably in this only commit of that release: patternfly/patternfly-react@e024073#diff-bf986d61c9b208d09c9cff07c052d59c216f3f9f5abb28fd745813052de6ec27

@skobyda
Copy link
Contributor

skobyda commented Apr 12, 2022

journalct error comes from cockpit-ws: connection unexpectedly closed by peer

WebSocket connection to 'ws:<URL>/cockpit/channel/2b600fea4a5b24e59cddee8c001ce7224619dc2718f99337a3378cea21745343?eyJwYXlsb2FkIjoic3RyZWFtIiwicHJvdG9jb2wiOiJiaW5hcnkiLCJiaW5hcnkiOiJyYXciLCJhZGRyZXNzIjoiMTI3LjAuMC4xIiwicG9ydCI6NTkwMH0=' failed: WebSocket is closed before the connection is established.

WebSocket connection to 'ws://127.0.0.2:9091/cockpit/channel/2b600fea4a5b24e59cddee8c001ce7224619dc2718f99337a3378cea21745343?eyJwYXlsb2FkIjoic3RyZWFtIiwicHJvdG9jb2wiOiJiaW5hcnkiLCJiaW5hcnkiOiJyYXciLCJhZGRyZXNzIjoiMTI3LjAuMC4xIiwicG9ydCI6NTkwMH0=' failed: WebSocket is closed before the connection is established.

package.json Outdated
@@ -53,7 +53,7 @@
},
"dependencies": {
"@patternfly/patternfly": "4.183.1",
"@patternfly/react-console": "4.49.3",
"@patternfly/react-console": "4.53.14",
Copy link
Member

@jelly jelly Oct 27, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now on 4.92.54 so feels worthy to retry.

jelly pushed a commit that referenced this pull request Oct 27, 2022
@jelly jelly force-pushed the npm-update-@patternfly/react-console-20220331-024949 branch from 3ea6308 to b791913 Compare October 27, 2022 14:13
@jelly jelly force-pushed the npm-update-@patternfly/react-console-20220331-024949 branch from b791913 to c622bd5 Compare October 27, 2022 14:21
@jelly
Copy link
Member

jelly commented Oct 27, 2022

So this is still broken.

@KKoukiou
Copy link
Collaborator

Sent a PR upstream to fix the react-console. patternfly/patternfly-react#8374

@martinpitt
Copy link
Member

version 4.93.10 got released, which should hopefully contain the fix. As this is all conflict-y, let's just close this and let our workflows build a fresh PR?

@martinpitt martinpitt closed this Dec 8, 2022
@martinpitt martinpitt deleted the npm-update-@patternfly/react-console-20220331-024949 branch December 8, 2022 15:30
@martinpitt martinpitt removed the bot label Dec 8, 2022
@martinpitt
Copy link
Member

Impatient as I am, I triggered the workflow manually and got PR #884. Crossing fingers! 🤞

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

Successfully merging this pull request may close these issues.

None yet

5 participants