Closed holocron closed 6 years ago
@holocron I am facing the same issue. It keeps on loading forever. Did you find any solution?
@aliimran hi, yes, resolved. the problem was in certificate. i've added simple bypassing check to test and it worked
func xmppStream(_ sender: XMPPStream?, didReceive trust: SecTrust?, completionHandler: @escaping (_ shouldTrustPeer: Bool) -> Void) { completionHandler(true) }
strange that it silently dies somewhere...
i have just logs below and that's it. able to connect to the same server with the same credentials from node.js project. any suggestions how to find the problem?
2018-06-09 17:08:10.413811+0200 CrazyMessages[34354:1337937] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/holocron/Library/Developer/CoreSimulator/Devices/67A1B1EA-8D2F-4B3D-BF1E-F31057B5E84A/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles 2018-06-09 17:08:10.416753+0200 CrazyMessages[34354:1337937] [MC] Reading from private effective user settings. 2018-06-09 17:08:30:410 CrazyMessages[34354:1339551] SEND: <?xml version='1.0'?> 2018-06-09 17:08:30:446 CrazyMessages[34354:1339551] SEND:
2018-06-09 17:08:30:522 CrazyMessages[34354:1339762] RECV:
2018-06-09 17:08:30:538 CrazyMessages[34354:1339552] RECV: </stream:features>
2018-06-09 17:08:30:539 CrazyMessages[34354:1339552] SEND:
2018-06-09 17:08:30:570 CrazyMessages[34354:1339552] RECV:
2018-06-09 17:08:30:571 CrazyMessages[34354:1339552] SEND: