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

Recive messages twice after error #37

Open
simkli opened this issue Feb 6, 2020 · 0 comments
Open

Recive messages twice after error #37

simkli opened this issue Feb 6, 2020 · 0 comments

Comments

@simkli
Copy link

simkli commented Feb 6, 2020

Sometimes following error appears in the protocol chat:

{ poll: An error happened while processing the polled messages
  caused by Error: read ECONNRESET
    at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
  name: 'poll',
  [_message]: 'An error happened while processing the polled messages',
  data: {},
  cause:
   { Error: read ECONNRESET
       at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)
     [stack]:
      'Error: read ECONNRESET\n    at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)',
     [message]: 'read ECONNRESET',
     errno: 'ECONNRESET',
     code: 'ECONNRESET',
     syscall: 'read' },
  [_stack]:
   'poll: An error happened while processing the polled messages\n  caused by Error: read ECONNRESET\n    at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)',
  [_stackContainer]: undefined,
  message: 'An error happened while processing the polled messages',
  [stack]:
   'poll: An error happened while processing the polled messages\n  caused by Error: read ECONNRESET\n    at TLSWrap.onStreamRead (internal/stream_base_commons.js:111:27)' } 

Afterwards I receive all incoming messages twice.. if the error happens again, the same message is forwarded 3 times and so on.

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

No branches or pull requests

1 participant