Closed MohanNB closed 1 year ago
** "[ChatStorage] dialog.join error: The operation couldn’t be completed. (com.quickblox.chat error -1004.)"
"[ChatViewController] dialog.join error: The operation couldn’t be completed. (forbidden error 403.)"
"[ChatStorage] dialog.join error: Cannot create/join room when already creating/joining/joined." t**
Environment details
Did this work before? yes
Expected behavior
"[ChatStorage] dialog.join error: The operation couldn’t be completed. (com.quickblox.chat error -1004.)"
"[ChatStorage] dialog.join error: Cannot create/join room when already creating/joining/joined."
While join the group chat getting empty chat history or not able join on dialogs .
Actual behavior
Used code before join group 👍
QBChat.instance.addDelegate(self) chatManager.delegate = self if QBChat.instance.isConnected == false { self.chatManager.connect() } self.chatManager.updateStorage()
self.dialogs = self.chatManager.storage.dialogsSortByUpdatedAt()
some time getting empty response : self.dialogs
**"[ChatStorage] dialog.join error: The operation couldn’t be completed. (com.quickblox.chat error -1004.)"
"[ChatStorage] dialog.join error: Cannot create/join room when already creating/joining/joined."**
USED CODE getting failed some dialogs list :
func chatManager(_ chatManager: ChatManager, didUpdateChatDialog chatDialog: QBChatDialog) {
// reloadContent(false)
dialogs = chatManager.storage.dialogsSortByUpdatedAt() SVProgressHUD.dismiss() } func chatManager(_ chatManager: ChatManager, didFailUpdateStorage message: String) { //SVProgressHUD.showError(withStatus: message) vsprint("ERROR QBLOK Update Storage ===== ") } func chatManager(_ chatManager: ChatManager, didUpdateStorage message: String) {
// reloadContent(false) dialogs = chatManager.storage.dialogsSortByUpdatedAt() vsprint("didUpdateStorage chatDialog ===== (dialogs.count)") SVProgressHUD.dismiss() }
To enable full logs use the following code: yes I'm following it
[QBSettings setLogLevel:QBLogLevelDebug]; [QBSettings enableXMPPLogging];
Hello, please check if the issue is reproduced on our samples https://docs.quickblox.com/docs/code-samples#chat-samples
** "[ChatStorage] dialog.join error: The operation couldn’t be completed. (com.quickblox.chat error -1004.)"
"[ChatViewController] dialog.join error: The operation couldn’t be completed. (forbidden error 403.)"
"[ChatStorage] dialog.join error: Cannot create/join room when already creating/joining/joined." t**
Environment details
Did this work before? yes
Expected behavior
"[ChatStorage] dialog.join error: The operation couldn’t be completed. (com.quickblox.chat error -1004.)"
"[ChatViewController] dialog.join error: The operation couldn’t be completed. (forbidden error 403.)"
"[ChatStorage] dialog.join error: Cannot create/join room when already creating/joining/joined."
While join the group chat getting empty chat history or not able join on dialogs .
Actual behavior
Used code before join group 👍
QBChat.instance.addDelegate(self) chatManager.delegate = self if QBChat.instance.isConnected == false { self.chatManager.connect() } self.chatManager.updateStorage()
some time getting empty response : self.dialogs
**"[ChatStorage] dialog.join error: The operation couldn’t be completed. (com.quickblox.chat error -1004.)"
"[ChatViewController] dialog.join error: The operation couldn’t be completed. (forbidden error 403.)"
"[ChatStorage] dialog.join error: Cannot create/join room when already creating/joining/joined."**
USED CODE getting failed some dialogs list :
// reloadContent(false)
// reloadContent(false) dialogs = chatManager.storage.dialogsSortByUpdatedAt() vsprint("didUpdateStorage chatDialog ===== (dialogs.count)") SVProgressHUD.dismiss() }
To enable full logs use the following code: yes I'm following it
[QBSettings setLogLevel:QBLogLevelDebug]; [QBSettings enableXMPPLogging];