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

Application gets RSTs on outgoing TCP sessions. #564

Open
t4lz opened this issue Oct 13, 2022 · 1 comment
Open

Application gets RSTs on outgoing TCP sessions. #564

t4lz opened this issue Oct 13, 2022 · 1 comment
Labels
bug Something isn't working linear

Comments

@t4lz
Copy link
Member

t4lz commented Oct 13, 2022

Bug Description

The application gets resets which lead to a ECONNRESET.
I couldn't locate the cause neither in the layer's nor in the agent's logs, so I think maybe the RSTs originate with the layer (the layer drops the connection early and a RST is sent to the app on the mirror stream).

Steps to Reproduce

It only reproduced on the CI, and only in twice out of thousands of outgoing requests.
Triggering the CI on this request #553 is almost guaranteed to lead to an error at some point, but you would probably have to try it a couple of times until you get this specific error (or change it in some way to keep running the test after one try has failed, like a simple way would be to duplicate the e2e job, so you get 1 error per job.)

Backtrace

Type A:

Error: Client network socket disconnected before secure TLS connection was established
    at connResetException (internal/errors.js:639:14)
    at TLSSocket.onConnectEnd (_tls_wrap.js:1570:19)
    at TLSSocket.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1333:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  code: 'ECONNRESET',
  path: null,
  host: 'www.youtube.com',
  port: 443,
  localAddress: undefined
}

Type B:

Error: socket hang up
    at connResetException (internal/errors.js:639:14)
    at TLSSocket.socketOnEnd (_http_client.js:499:23)
    at TLSSocket.emit (events.js:412:35)
    at endReadableNT (internal/streams/readable.js:1333:12)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  code: 'ECONNRESET'
}

Relevant Logs

No response

Your operating system and version

Ubuntu 20.04.5 LTS

Local process

node

Local process version

14

Additional Info

No response

MET-11

@eyalb181
Copy link
Member

eyalb181 commented Jul 4, 2023

Retest when #1470 is completed.

@aviramha aviramha added the linear label Jul 4, 2023
@aviramha aviramha changed the title Application gets RSTs on outgoing TCP sessions. [MET-11] Application gets RSTs on outgoing TCP sessions. Jul 4, 2023
@aviramha aviramha added Customer Created by Linear-GitHub Sync Feature Created by Linear-GitHub Sync and removed Customer Created by Linear-GitHub Sync Feature Created by Linear-GitHub Sync labels Jul 4, 2023
@aviramha aviramha changed the title [MET-11] Application gets RSTs on outgoing TCP sessions. Application gets RSTs on outgoing TCP sessions. Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working linear
Projects
None yet
Development

No branches or pull requests

3 participants