Skip to content

Recive messages twice after error #37

@simkli

Description

@simkli

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions