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

Fix initialization after reconnecting #11014

Merged
merged 2 commits into from
Sep 9, 2024
Merged

Conversation

farmaazon
Copy link
Contributor

Pull Request Description

Fixes #10948

The problem was in the binary reconnecting: we sent the first "initProtocol" message, but the connection was reset, and then we try to initialize again. While looking good, the problem was that the party websocket we use queued the first initProtocol message and re-send it by itself on reconnect. Our initProtocol was also sent, but it did not get any response, blocking any further request like writeBytes.

Important Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • [ ] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
  • All code follows the
    Scala,
    Java,
    TypeScript,
    and
    Rust
    style guides. In case you are using a language not listed above, follow the Rust style guide.
  • [ ] Unit tests have been written where possible.

@farmaazon farmaazon added --bug Type: bug -gui labels Sep 9, 2024
@farmaazon farmaazon self-assigned this Sep 9, 2024
@farmaazon farmaazon marked this pull request as ready for review September 9, 2024 13:10
@farmaazon farmaazon added the CI: Ready to merge This PR is eligible for automatic merge label Sep 9, 2024
@mergify mergify bot merged commit 414eee0 into develop Sep 9, 2024
35 checks passed
@mergify mergify bot deleted the wip/farmaazon/fix-cloud-upload branch September 9, 2024 13:49
jdunkerley pushed a commit that referenced this pull request Sep 10, 2024
Fixes #10948

The problem was in the binary reconnecting: we sent the first "initProtocol" message, but the connection was reset, and then we try to initialize again. While looking good, the problem was that the party websocket we use queued the first initProtocol message and re-send it by itself on reconnect. Our initProtocol was also sent, but it did not get any response, blocking any further request like `writeBytes`.

(cherry picked from commit 414eee0)
jdunkerley pushed a commit that referenced this pull request Sep 10, 2024
Fixes #10948

The problem was in the binary reconnecting: we sent the first "initProtocol" message, but the connection was reset, and then we try to initialize again. While looking good, the problem was that the party websocket we use queued the first initProtocol message and re-send it by itself on reconnect. Our initProtocol was also sent, but it did not get any response, blocking any further request like `writeBytes`.

(cherry picked from commit 414eee0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
--bug Type: bug -gui CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dragging a file on to Graph Editor background in Cloud mode is not uploading file
2 participants