matrix-hacks / matrix-puppet-skype

23 stars 12 forks source link

repeating 'read ECONNRESET' errors on skype bridge working without new events #12

Closed MurzNN closed 4 years ago

MurzNN commented 7 years ago

When matrix-puppet-skype works - it periodically repeats this error in room:

{ poll: An error happened while processing the polled messages
  caused by Error: read ECONNRESET
    at exports._errnoException (util.js:1024:11)
    at TLSWrap.onread (net.js:610:25)
  name: 'poll',
  [_message]: 'An error happened while processing the polled messages',
  data: {},
  cause: 
   { Error: read ECONNRESET
       at exports._errnoException (util.js:1024:11)
       at TLSWrap.onread (net.js:610:25)
     [stack]: 'Error: read ECONNRESET\n    at exports._errnoException (util.js:1024:11)\n    at TLSWrap.onread (net.js:610:25)',
     [message]: 'read ECONNRESET',
     code: 'ECONNRESET',
     errno: 'ECONNRESET',
     syscall: 'read' },
  [_stack]: 'poll: An error happened while processing the polled messages\n  caused by Error: read ECONNRESET\n    at exports._errnoException (util.js:1024:11)\n    at TLSWrap.onread (net.js:610:25)',
  [_stackContainer]: undefined,
  message: 'poll: An error happened while processing the polled messages\n  caused by Error: read ECONNRESET\n    at exports._errnoException (util.js:1024:11)\n    at TLSWrap.onread (net.js:610:25)' } 

What does this error mean and how to solve it?

Sorunome commented 7 years ago

it is an error within the skype-http library where it doesn't reconnect correctly on polling errors

MurzNN commented 7 years ago

Can we successfully ignore them, or better is to restart puppet after this error?

Sorunome commented 7 years ago

we would need to have the skype client reconnect. no need to restart the entire puppet

Am 16. August 2017 08:01:30 MESZ schrieb Alexey Murz Korepov notifications@github.com:

Can we successfully ignore them, or better is to restart puppet after this error?

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/matrix-hacks/matrix-puppet-skype/issues/12#issuecomment-322674235

MurzNN commented 7 years ago

But current matrix-puppet-skype version do this reconnect automatically? If not, how I can force reconnect to Skype without puppet restart?

Sorunome commented 7 years ago

it currently does not reconnect automatically. You would have to add that code in....

Am 16. August 2017 09:02:48 MESZ schrieb Alexey Murz Korepov notifications@github.com:

But current matrix-puppet-skype version do this reconnect automatically? If not, how I can force reconnect to Skype without puppet restart?

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/matrix-hacks/matrix-puppet-skype/issues/12#issuecomment-322684391

nr23730 commented 4 years ago

Solved by #28