matrix-hacks / matrix-puppet-skype

23 stars 12 forks source link

Outgoing messages not being sent #3

Closed tfreedman closed 7 years ago

tfreedman commented 7 years ago

{ poll: An error happened while processing the polled messages caused by Error: read ECONNRESET at exports._errnoException (util.js:1018:11) at TLSWrap.onread (net.js:568:26) name: 'poll', [_message]: 'An error happened while processing the polled messages', data: {}, cause: { Error: read ECONNRESET at exports._errnoException (util.js:1018:11) at TLSWrap.onread (net.js:568:26)

 [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:1018:11)\n at TLSWrap.onread (net.js:568:26)',

message: 'poll: An error happened while processing the polled messages\n caused by Error: read ECONNRESET\n at exports._errnoException (util.js:1018:11)\n at TLSWrap.onread (net.js:568:26)' }

I can receive messages people send me over Skype, but I can't send outgoing messages from within Matrix.

kfatehi commented 7 years ago

@tfreedman Did you ever figure this out? Works on my end.

Sorunome commented 7 years ago

Since this error is within skype-http itself and as of recently the version got bumped, perhaps it is fixed?

tfreedman commented 7 years ago

I just came back to playing around with this, and I still have the same issue (but with different symptoms). Messages that I send and receive from within Skype show up in Matrix, but anything typed into Matrix doesn't get sent to Skype.

Console output for three messages typed in Riot just shows:

$ tail -f /var/log/matrix-skype.log: Receive a read event from ourself Receive a read event from ourself Receive a read event from ourself

Sorunome commented 7 years ago

Can you CURL into the puppet? Did you try this fix? https://github.com/matrix-org/synapse/issues/1834 As it might be a synapse bug

tfreedman commented 7 years ago

Do you have specific commands I can try running? I'm not too familiar with the matrix sqlite db, so I'd prefer to not just poke it blindly.

tfreedman commented 7 years ago

Alternatively, would re-registering the appservice fix this, and prevent the need for poking around in the DB?

tfreedman commented 7 years ago

So I just re-generated my config file and restarted my home server, and the problem appears to be solved.