Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registration - Email Validation process throws error but still validates #42

Closed
Rohithzr opened this issue Dec 19, 2017 · 3 comments
Closed
Assignees
Labels
bug Software behaviour is unexpected and/or broken and needs to be corrected

Comments

@Rohithzr
Copy link

ok I head over to my riot app and create a new account.
First I get an email titled Linking your Email address to your OnePinger account that takes me to a url on my identity server /_matrix/identity/remote/api/v1/validate/requestToken?
Then I get another email Your Matrix Validation Token where the link takes me to https://matrix.org/_matrix/identity
I verify the account Verification successful! Please return to your Matrix client to continue.
I go back to the previous link where it now says Once the validation was successful with the global server, please follow this link to validate it with us. and if I follow this link I get this error
{"errcode":"M_UNKNOWN","error":"An internal server error occured. If this error persists, please contact support with reference #1513682314924","success":false}

  1. I want to generate the token on my domain itself and not matrix.org.
  2. I want to eliminate this error.

Please let me know if you need anymore information.
Thanks

@maxidorius
Copy link
Member

  1. about the error, please provide the log around the reference 1513682314924 (you can do a grep and get the 30 lines before and after).
  2. See the documentation on how to use the 3PID sessions:

@Rohithzr
Copy link
Author

Logs
reference id 1513686232107

Dec 19 12:23:50 ip-172-31-19-34 mxisd.jar[12942]: .722  INFO [onPool-worker-0] l.s.RecursivePriorityLookupStrategy : Host Internal allowed for recursion: true
Dec 19 12:23:50 ip-172-31-19-34 mxisd.jar[12942]: .722  INFO [onPool-worker-0]  i.k.m.l.provider.DnsLookupProvider : Performing DNS lookup for vishalvr.2595@gmail.com
Dec 19 12:23:50 ip-172-31-19-34 mxisd.jar[12942]: .722  INFO [onPool-worker-0]  i.k.m.l.provider.DnsLookupProvider : Domain name for vishalvr.2595@gmail.com: gmail.com
Dec 19 12:23:50 ip-172-31-19-34 mxisd.jar[12942]: .722  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : gmail.com is not an URL, using as-is
Dec 19 12:23:50 ip-172-31-19-34 mxisd.jar[12942]: .722  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Discovery Identity Server for gmail.com
Dec 19 12:23:50 ip-172-31-19-34 mxisd.jar[12942]: .722  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Performing SRV lookup
Dec 19 12:23:50 ip-172-31-19-34 mxisd.jar[12942]: .722  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Lookup name: _matrix-identity._tcp.gmail.com
Dec 19 12:23:50 ip-172-31-19-34 mxisd.jar[12942]: .723  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : No SRV record for _matrix-identity._tcp.gmail.com
Dec 19 12:23:50 ip-172-31-19-34 mxisd.jar[12942]: .723  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Performing basic lookup using domain name gmail.com
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .492  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Usability of https://gmail.com as Identity server: answer status: 404
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .492  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : https://gmail.com is not a usable Identity Server
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .492  INFO [onPool-worker-0] k.m.l.p.RemoteIdentityServerFetcher : Looking up email 3PID vishalvr.2595@gmail.com using https://matrix.org
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .612  INFO [onPool-worker-0] k.m.l.p.RemoteIdentityServerFetcher : Empty 3PID mapping from https://matrix.org
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .612  INFO [onPool-worker-0] k.m.l.p.RemoteIdentityServerFetcher : Looking up email 3PID vishalvr.2595@gmail.com using https://vector.im
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .734  INFO [onPool-worker-0] k.m.l.p.RemoteIdentityServerFetcher : Empty 3PID mapping from https://vector.im
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .734  INFO [onPool-worker-0]  i.k.m.invitation.InvitationManager : No mapping for pending invite @ro_zivo:idigid.com:!PCxVrQnBCfwqiHRfVu:idigid.com:email:vishalvr.2595@gmail.com
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .734  INFO [onPool-worker-0]  i.k.m.invitation.InvitationManager : Searching for mapping created since invite @devmazumdar:idigid.com:!LewPUHCxTbsuttEIyM:idigid.com:email:packetbiodemo@gmail.com was created
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .734  INFO [onPool-worker-0] l.s.RecursivePriorityLookupStrategy : Host Internal allowed for recursion: true
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .734  INFO [onPool-worker-0]  i.k.m.l.provider.DnsLookupProvider : Performing DNS lookup for packetbiodemo@gmail.com
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .734  INFO [onPool-worker-0]  i.k.m.l.provider.DnsLookupProvider : Domain name for packetbiodemo@gmail.com: gmail.com
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .734  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : gmail.com is not an URL, using as-is
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .734  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Discovery Identity Server for gmail.com
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .734  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Performing SRV lookup
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .734  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Lookup name: _matrix-identity._tcp.gmail.com
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .735  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : No SRV record for _matrix-identity._tcp.gmail.com
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .735  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Performing basic lookup using domain name gmail.com
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .741  INFO [nio-8090-exec-7] k.m.c.i.v.r.RemoteSessionController : Request GET: http://localhost:8090/_matrix/identity/remote/api/v1/validate/check
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .741  INFO [nio-8090-exec-7]   i.k.mxisd.session.SessionMananger : Session 1513686175660 for email:rohit@trumpt.in: Validating remote 3PID session 11266 on https://matrix.org
Dec 19 12:23:51 ip-172-31-19-34 mxisd.jar[12942]: .892  INFO [nio-8090-exec-3]  i.k.m.c.i.v1.SessionRestController : Requested: http://localhost:8090/_matrix/identity/api/v1/3pid/getValidated3pid
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .108 ERROR [nio-8090-exec-7]     i.k.m.c.DefaultExceptionHandler : Reference #1513686232108 - Local 3PID email:rohit@trumpt.in and remote 3PID email:rohit@trumpt.in do not match for session 1513686175660
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .108  INFO [nio-8090-exec-7]     i.k.m.c.DefaultExceptionHandler : Request GET http://localhost:8090/_matrix/identity/remote/api/v1/validate/check - Error M_UNKNOWN: An internal server error occured. If this error persists, please contact support with reference #1513686232107
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .507  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Usability of https://gmail.com as Identity server: answer status: 404
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .507  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : https://gmail.com is not a usable Identity Server
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .507  INFO [onPool-worker-0] k.m.l.p.RemoteIdentityServerFetcher : Looking up email 3PID packetbiodemo@gmail.com using https://matrix.org
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .628  INFO [onPool-worker-0] k.m.l.p.RemoteIdentityServerFetcher : Empty 3PID mapping from https://matrix.org
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .628  INFO [onPool-worker-0] k.m.l.p.RemoteIdentityServerFetcher : Looking up email 3PID packetbiodemo@gmail.com using https://vector.im
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .754  INFO [onPool-worker-0] k.m.l.p.RemoteIdentityServerFetcher : Empty 3PID mapping from https://vector.im
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .754  INFO [onPool-worker-0]  i.k.m.invitation.InvitationManager : No mapping for pending invite @devmazumdar:idigid.com:!LewPUHCxTbsuttEIyM:idigid.com:email:packetbiodemo@gmail.com
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .754  INFO [onPool-worker-0]  i.k.m.invitation.InvitationManager : Searching for mapping created since invite @devmazumdar:idigid.com:!LewPUHCxTbsuttEIyM:idigid.com:email:support@opensound.com was created
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .754  INFO [onPool-worker-0] l.s.RecursivePriorityLookupStrategy : Host Internal allowed for recursion: true
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .754  INFO [onPool-worker-0]  i.k.m.l.provider.DnsLookupProvider : Performing DNS lookup for support@opensound.com
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .754  INFO [onPool-worker-0]  i.k.m.l.provider.DnsLookupProvider : Domain name for support@opensound.com: opensound.com
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .754  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : opensound.com is not an URL, using as-is
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .754  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Discovery Identity Server for opensound.com
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .754  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Performing SRV lookup
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .754  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Lookup name: _matrix-identity._tcp.opensound.com
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .755  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : No SRV record for _matrix-identity._tcp.opensound.com
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .755  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : Performing basic lookup using domain name opensound.com
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .984  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : https://opensound.com is not a usable Identity Server: java.security.cert.CertificateException: No name matching opensound.com found
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .984  INFO [onPool-worker-0]    i.k.m.matrix.IdentityServerUtils : https://opensound.com is not a usable Identity Server
Dec 19 12:23:52 ip-172-31-19-34 mxisd.jar[12942]: .984  INFO [onPool-worker-0] k.m.l.p.RemoteIdentityServerFetcher : Looking up email 3PID support@opensound.com using https://matrix.org
Dec 19 12:23:53 ip-172-31-19-34 mxisd.jar[12942]: .108  INFO [onPool-worker-0] k.m.l.p.RemoteIdentityServerFetcher : Empty 3PID mapping from https://matrix.org
Dec 19 12:23:53 ip-172-31-19-34 mxisd.jar[12942]: .108  INFO [onPool-worker-0] k.m.l.p.RemoteIdentityServerFetcher : Looking up email 3PID support@opensound.com using https://vector.im
Dec 19 12:23:53 ip-172-31-19-34 mxisd.jar[12942]: .229  INFO [onPool-worker-0] k.m.l.p.RemoteIdentityServerFetcher : Empty 3PID mapping from https://vector.im
Dec 19 12:23:53 ip-172-31-19-34 mxisd.jar[12942]: .229  INFO [onPool-worker-0]  i.k.m.invitation.InvitationManager : No mapping for pending invite @devmazumdar:idigid.com:!LewPUHCxTbsuttEIyM:idigid.com:email:support@opensound.com
Dec 19 12:23:53 ip-172-31-19-34 mxisd.jar[12942]: .229  INFO [onPool-worker-0]  i.k.m.invitation.InvitationManager : Searching for mapping created since invite @devmazumdar:idigid.com:!LewPUHCxTbsuttEIyM:idigi

@maxidorius
Copy link
Member

maxidorius commented Dec 19, 2017

definitely a bug, thanks. Will investigate.

@maxidorius maxidorius added the bug Software behaviour is unexpected and/or broken and needs to be corrected label Dec 19, 2017
@kamax-matrix kamax-matrix deleted a comment from Rohithzr Dec 19, 2017
@maxidorius maxidorius self-assigned this Apr 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Software behaviour is unexpected and/or broken and needs to be corrected
Projects
None yet
Development

No branches or pull requests

2 participants