Closed Rohithzr closed 6 years ago
I need the mxisd logs also for this action.
mxisd logs of the same error
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .455 INFO [nio-8090-exec-7] i.k.m.invitation.InvitationManager : Handling invite for email:talk2rohithzr@gmail.com from @ro_zivo:idigid.com in room !PCxVrQnBCfwqiHRfVu:idigid.com
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .455 INFO [nio-8090-exec-7] l.s.RecursivePriorityLookupStrategy : Host Internal allowed for recursion: true
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .455 INFO [nio-8090-exec-7] i.k.m.l.provider.DnsLookupProvider : Performing DNS lookup for talk2rohithzr@gmail.com
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .455 INFO [nio-8090-exec-7] i.k.m.l.provider.DnsLookupProvider : Domain name for talk2rohithzr@gmail.com: gmail.com
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .455 INFO [nio-8090-exec-7] i.k.m.matrix.IdentityServerUtils : gmail.com is not an URL, using as-is
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .455 INFO [nio-8090-exec-7] i.k.m.matrix.IdentityServerUtils : Discovery Identity Server for gmail.com
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .455 INFO [nio-8090-exec-7] i.k.m.matrix.IdentityServerUtils : Performing SRV lookup
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .455 INFO [nio-8090-exec-7] i.k.m.matrix.IdentityServerUtils : Lookup name: _matrix-identity._tcp.gmail.com
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .456 INFO [nio-8090-exec-7] i.k.m.matrix.IdentityServerUtils : No SRV record for _matrix-identity._tcp.gmail.com
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .456 INFO [nio-8090-exec-7] i.k.m.matrix.IdentityServerUtils : Performing basic lookup using domain name gmail.com
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .529 INFO [nio-8090-exec-7] i.k.m.matrix.IdentityServerUtils : Usability of https://gmail.com as Identity server: answer status: 404
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .529 INFO [nio-8090-exec-7] i.k.m.matrix.IdentityServerUtils : https://gmail.com is not a usable Identity Server
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .529 INFO [nio-8090-exec-7] k.m.l.p.RemoteIdentityServerFetcher : Looking up email 3PID talk2rohithzr@gmail.com using https://matrix.org
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .899 INFO [nio-8090-exec-7] k.m.l.p.RemoteIdentityServerFetcher : Found 3PID mapping: {"medium":"email","not_after":4663606263261,"ts":1510006263261,"signatures":{"matrix.org":{"ed25519:0":"xaJC2SQ8xHe7xBI6y4obFUp+uGCNxX16haKVjf5O0F+muTFFbJwWKc9nrW7iSs8jEo0Z4dUC+o4hHd9Jde/pDg"},"vector.im":{"ed25519:0":"YynXiT2h5uL7lYQoHq9Eq3VgxySHxwMJBCcKQlzh7p1P2Z9/V8GCkl+3SiWoYNcnPV5BdkMviPWi4DhRq6N8Aw"}},"address":"talk2rohithzr@gmail.com","mxid":"@opbio_test:idigid.com","not_before":1510006263261}
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .899 INFO [nio-8090-exec-7] i.k.m.invitation.InvitationManager : Mapping for email:talk2rohithzr@gmail.com already exists, refusing to store invite
Dec 19 14:30:56 ip-172-31-19-34 mxisd.jar[12942]: .899 INFO [nio-8090-exec-7] i.k.m.c.DefaultExceptionHandler : Request POST http://localhost:8090/_matrix/identity/api/v1/store-invite - Error M_ALREADY_EXISTS: A mapping already exists for this 3PID
It's a synapse's bug. a 3PID mapping already exists for those emails, so mxisd is refusing to store the invite. synapse should not have send the invite and invited by Matrix ID instead. synapse also fails to handle the correct (as per specification) error for it.
there is no entry in the user_threepids or users table in my database. both synapse and mxisd are using the same database. so where can this possibly be stored
Dec 19 14:30:56 .. INFO [..] k.m.l.p.RemoteIdentityServerFetcher : Looking up email 3PID talk2rohithzr@gmail.com using https://matrix.org
Dec 19 14:30:56 .. INFO [..] k.m.l.p.RemoteIdentityServerFetcher : Found 3PID mapping: {"medium":"email","not_after":4663606263261,"ts":1510006263261,"signatures":{"matrix.org":{"ed25519:0":"xaJC2SQ8xHe7xBI6y4obFUp+uGCNxX16haKVjf5O0F+muTFFbJwWKc9nrW7iSs8jEo0Z4dUC+o4hHd9Jde/pDg"},"vector.im":{"ed25519:0":"YynXiT2h5uL7lYQoHq9Eq3VgxySHxwMJBCcKQlzh7p1P2Z9/V8GCkl+3SiWoYNcnPV5BdkMviPWi4DhRq6N8Aw"}},"address":"talk2rohithzr@gmail.com","mxid":"@opbio_test:idigid.com","not_before":1510006263261}
on the Identity server of Matrix.org
ok in the homeserver.yaml i find this line
# The trusted servers to download signing keys from.
perspectives:
servers:
"matrix.org":
verify_keys:
"ed25519:auto":
key: "Noi6WqcDj0QmPxCNQqgezwTlBKrfqehY1u2FyWP9uYw"
should I be pointing this to mxisd? if yes will it be the same key as given here?
that is absolutely not related to Identity, or mxisd. Your problem is a synapse bug. As for the identity data on Matrix.org, you'll need to talk with them to remove it as you can't do that on your own currently.
Description
I am trying to invite a user that has no entry in the database. I am able to invite most email ids but I cannot invite users with some email ids like:
In the issue https://github.com/matrix-org/synapse/issues/2740 I think it might be an issue for kamax mxisd and not just synapse, so I have referenced both the issues to each other.
These don't work sales@opensound.com talk2rohithzr@gmail.com
These work support@opensound.com nigharsh@gmail.com
The URL that is called
Request Params
Response Error (Status:500)
Logs (homeserver)