You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing onComplete in requestStream and requestChannel with fragmentation #641
When using fragmentation, the onComplete signal is sometimes missing with requestStream and requestChannel. This has been observed using many different fragmentation values (from 64 and up), and the behaviour is different locally than it is when using it over internet.
Expected Behaviour: When fragmentation is enabled, granted there are no errors, the entire payload is received by the client and the server finished by sending the COMPLETE frame.
Actual Behaviour: When fragmentation is enabled, when communicating over the internet, the socket is inconsistent, sometimes producing all payloads and the completion signal, and sometimes the payload amount varies, and no completion signal is issued.
Steps to Reproduce
Create an rsocket server using the websocket transport protocol on an external server
Create an rsocket client using the websocket transport protocol.
Enable fragmentation on both server and client
Send a big item and observe the onCompletion signal never arriving
Additional Information
Rsocket Version: 0.12.2-RC2
Infrastructure (Amazon): Rsocket Client -> Kong ALB -> Kong -> Service ALB -> Service
The behaviour works as expected when testing locally, but not over the internet. The load balancers have been tested and are not the issue.
Workaround
The current workaround we are using is to disable fragmentation, which resolves the issue.
If you require additional information, please let me know.
Haven't gotten a chance to look at this in depth but there is a change this could be related to some structural changes in 0.12.2-RC2. Have you had a chance to try this with 0.12.2-RC3?
Haven't gotten a chance to look at this in depth but there is a change this could be related to some structural changes in 0.12.2-RC2. Have you had a chance to try this with 0.12.2-RC3?
I haven't gotten a chance to look at this yet as I am too busy at this moment, but I'll update this ticket once it becomes relevant again. I had previously enabled it to fix an issue where my payload was too big, but this issue went away in a later update so fragmentation was no longer necessary for us.
Activity
robertroeser commentedon May 28, 2019
Haven't gotten a chance to look at this in depth but there is a change this could be related to some structural changes in 0.12.2-RC2. Have you had a chance to try this with 0.12.2-RC3?
lksvenoy-r7 commentedon May 28, 2019
I haven't gotten a chance to look at this yet as I am too busy at this moment, but I'll update this ticket once it becomes relevant again. I had previously enabled it to fix an issue where my payload was too big, but this issue went away in a later update so fragmentation was no longer necessary for us.
robertroeser commentedon May 29, 2019
Ok - thanks for checking - @mostroverkhov is looking into this - we'll let you know.
robertroeser commentedon Jun 5, 2019
@lksvenoy-r7 did you get a chance to try @mostroverkhov fix?
rstoyanchev commentedon Apr 16, 2020
I can't reproduce this. The following:
Prints:
@lksvenoy-r7 please provide more details on how to reproduce or ideally a sample.