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

Login Implementation - Matrix SDK (Swift project) #1795

Open
Karthick040 opened this issue Jun 7, 2023 · 1 comment
Open

Login Implementation - Matrix SDK (Swift project) #1795

Karthick040 opened this issue Jun 7, 2023 · 1 comment

Comments

@Karthick040
Copy link

After successfully integrated the Matrix SDK using pod file. I'm able to import the Matrix SDK. Now the problem is when i'm calling the matrix login function - i'm getting the following issue logs:

2023-06-07 12:22:06.947271+0530 Matrix_ChatApp[94483:5348021] [MXHTTPClient] #0 - POST _matrix/client/r0/login
2023-06-07 12:22:06.955291+0530 Matrix_ChatApp[94483:5348021] [MXHTTPClient] cancel
2023-06-07 12:22:06.957088+0530 Matrix_ChatApp[94483:5348021] [MXHTTPClient] cleanupBackgroundTask
2023-06-07 12:22:07.013728+0530 Matrix_ChatApp[94483:5348592] [MXHTTPClient] SessionDidBecomeInvalid: <__NSURLSessionLocal: 0x7fc3b8f0f340>: (null)
2023-06-07 12:22:07.016455+0530 Matrix_ChatApp[94483:5348592] ⚠️ [MXStrongifyAndReturnIfNil] Released reference at MXHTTPClient.m:134
2023-06-07 12:22:07.154179+0530 Matrix_ChatApp[94483:5348021] [MXHTTPClient] #0 - POST _matrix/client/r0/login completed in 242ms
2023-06-07 12:22:07.154452+0530 Matrix_ChatApp[94483:5348021] [MXHTTPClient] Request 0x6000031a0280 failed for path: _matrix/client/r0/login - HTTP code: 0. Error: Error Domain=NSURLErrorDomain Code=-999 "cancelled" UserInfo={NSErrorFailingURLStringKey=https://matrix.kplogics.in/_matrix/client/r0/login, NSErrorFailingURLKey=https://matrix.kplogics.in/_matrix/client/r0/login, _NSURLErrorRelatedURLSessionTaskErrorKey=(
"LocalDataTask <500674F9-808C-455C-AB36-27DAD0AF3376>.<1>"
), _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <500674F9-808C-455C-AB36-27DAD0AF3376>.<1>, NSLocalizedDescription=cancelled}
2023-06-07 12:22:07.154797+0530 Matrix_ChatApp[94483:5348021] ⚠️ [MXStrongifyAndReturnIfNil] Released reference at MXHTTPClient.m:363

Please check and let me know for the earliest.

@anhduc1150
Copy link

If it possible, can you show me your implementation for Login? I don't see it anywhere in the documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants