Closed NullIsNot0 closed 5 years ago
@NullIsNot0 The following docker image should fix it: kamax/mxisd:1.4.2-2-g8243354
Can you give it a try and let me know please?
Today I set up kamax/mxisd:1.4.2-2-g8243354
and invitation e-mails seem to work correctly. I'll leave this version and report back in few days if it's still working. Thank you for fixing this issue!
Thank you for reporting back!
Mxisd version: kamax/mxisd:1.4.2-2-g8243354
appservice-mxisd.yaml
service file for synapse is:
id: appservice-mxisd
url: http://matrix-mxisd:8090
as_token: "<AS_TOKEN_REDUCTED>"
hs_token: "<HS_TOKEN_REDUCTED>"
sender_localpart: mxisd
namespaces:
aliases: []
rooms: []
users:
- {exclusive: false, regex: '@*'}
Invites are working fine, but when I try to create new room, I get error in Riot, and mxisd logs say:
May 07 11:07:06 srv-matrix-riot docker[28524]: [XNIO-1 task-18] INFO io.kamax.mxisd.as.AppSvcManager - Processing AS Transaction 41158: start
May 07 11:07:06 srv-matrix-riot docker[28524]: [XNIO-1 task-18] INFO io.kamax.mxisd.as.AppSvcManager - Processing transaction events: start
May 07 11:07:06 srv-matrix-riot docker[28524]: [XNIO-1 task-18] INFO io.kamax.mxisd.as.processor.event.MembershipEventProcessor - Got membership event from @mike:myserv.com to @mike:myserv.com for room !pdiZaTFSmoXqtFYBXM:myserv.com
May 07 11:07:06 srv-matrix-riot docker[28524]: [XNIO-1 task-18] WARN io.kamax.mxisd.as.processor.event.MembershipEventProcessor - We joined the room !pdiZaTFSmoXqtFYBXM:myserv.com for another identity as the main user, which is not supported. Leaving...
May 07 11:07:06 srv-matrix-riot docker[28524]: [XNIO-1 task-18] INFO io.kamax.mxisd.as.AppSvcManager - Processing transaction events: end
May 07 11:07:06 srv-matrix-riot docker[28524]: [XNIO-1 task-18] INFO io.kamax.mxisd.as.AppSvcManager - Saving transaction details to store
May 07 11:07:06 srv-matrix-riot docker[28524]: [XNIO-1 task-18] INFO io.kamax.mxisd.as.AppSvcManager - Processed AS transaction 41158 in 280 ms
When I change appservice-mxisd.yaml
to (only last line changes):
id: appservice-mxisd
url: http://matrix-mxisd:8090
as_token: "<AS_TOKEN_REDUCTED>"
hs_token: "<HS_TOKEN_REDUCTED>"
sender_localpart: mxisd
namespaces:
aliases: []
rooms: []
users:
- {exclusive: true, regex: '@_mxisd_invite-expired:myserv.com'}
then room creation works OK, but I get no more e-mails about invitations in rooms.
@nullisnot0 Could you open a new issue for this, to be sure we track the individual problems
OK, just created #173 .
Managed to set up new Mxisd AppSvc in version 1.4.2 (#171) to notify (by e-mail) corporate users about invitations to conversations. At first e-mail notifications worked well, but after about 2 hours they stopped working. I started to investigate and found out that there is a task with ID 39694 which fails to process. Found out first apperance of failing event in logs:
And from now on these lines frequently appear in mxisd log:
Is there a chance that I configured Mxisd's AppSvc incorrectly?
mxisd.yaml
:Sorry for lengthy post, but I tried to explain and provide logs as detailed as I could. For now I'm back on
kamax/mxisd:1.3.1-1-gc636500
Docker image where e-mail notifications work well, but I would like to sort out this problem, so my mxisd's version can be kept up to date.