Open Karthick040 opened 1 year ago
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.
If it possible, can you show me your implementation for Login? I don't see it anywhere in the documentation
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.