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

WebSocket Destination state abort Close fix #2091

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

hogwartsdeveloper
Copy link
Contributor

@hogwartsdeveloper hogwartsdeveloper commented Jun 8, 2024

Fixes #930

Proposed Changes

  • error occurs when trying to close connections but destination status == abort
Screenshot 2024-06-09 at 02 29 46

@raman-m raman-m added bug Identified as a potential bug Websockets Ocelot feature: Websockets 2023 Annual 2023 release labels Jun 10, 2024
@raman-m raman-m added this to the Annual 2023 milestone Jun 10, 2024
@raman-m
Copy link
Member

raman-m commented Jun 10, 2024

Zhannur, thank you for the pull request!

Firstly, have you managed to reproduce the issue through tests?
I understand you've debugged the problem during runtime, but we need to verify the bug with tests.
Therefore, unit and acceptance tests are necessary before the team can proceed with a review.

P.S.

Please, update your develop branch in forked repo, and pay attention I've rebased the feature branch, so you need to re-checkout the branch locally.

@PaulARoy
Copy link
Contributor

PaulARoy commented Aug 26, 2024

Hello, is this branch only missing tests to fix the bug? Can we contribute and if so, what would be the best way to do it? (Fork the branch on our side?)

@raman-m
Copy link
Member

raman-m commented Aug 26, 2024

@PaulARoy Hi Paul!

Hello, is this branch only missing tests to fix the bug?

Yes, it is. The lack of tests breaches our Dev Process (refer to point 5). I cannot proceed with a code review without tests, as we cannot be certain that the bug fix is effective.

Can we contribute and if so, what would be the best way to do it? (Fork the branch on our side?)

The optimal approach is to pair-program with the author @hogwartsdeveloper to gain access to his forked repository. He will need to add you as a collaborator to his repository. If this is not feasible, please inform me again. We should wait a few weeks for him to add you as a collaborator.

@raman-m raman-m added Oct'24 October 2024 release and removed 2023 Annual 2023 release labels Aug 26, 2024
@raman-m raman-m modified the milestones: Annual 2023, September'24 Aug 26, 2024
@raman-m
Copy link
Member

raman-m commented Aug 26, 2024

@hogwartsdeveloper Hello Zhannur!
Are you available? I requested that you write tests for this PR nearly three months ago.

Do you plan to complete your PR with tests?
If not, please add @PaulARoy as a collaborator to your forked repository here to assist with tests.

P.S. Your PRs have been moved to the September'24 milestone.

@raman-m raman-m added Autumn'24 Autumn 2024 release and removed Oct'24 October 2024 release labels Oct 26, 2024
@raman-m raman-m modified the milestones: October'24, Autumn'24 Oct 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Autumn'24 Autumn 2024 release bug Identified as a potential bug Websockets Ocelot feature: Websockets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The WebSocket is in an invalid state (Aborted) for this operation. Valid states are: Open, CloseReceived
3 participants