NSErrorFailingURLKey depuis Xcode 11

#1

bonjour à tous,

Nouveau soucis depuis Xcode 11. J’ai une erreur de connexion aux serveurs depuis les app.

Alors qu’une app compilée avec Xcode 10 fonctionne sans soucis, j’ai un soucis depuis que je compile avec Xcode 11.

NSErrorFailingURLKey= ICI L’URL DU SERVER _kCFStreamErrorDomainKey=4} [-1001]

Si vous avez une idée de ce qui a changé dans la config à faire je suis preneur :slight_smile:

Ce qui est assez étonnant, c’est que je sais faire un “log in” dans l’app sans soucis mais après ça ne fonctionne plus.

Merci

Christophe

Je place ci-dessous les logs Xcode

 **2019-09-29 17:16:10.502226+0200 ClassBook[18044:17968264] [] nw_socket_handle_socket_event [C1.1:3] Socket SO_ERROR [61: Connection refused]**

**2019-09-29 17:16:10.505039+0200 ClassBook[18044:17968264] [BoringSSL] nw_protocol_boringssl_handshake_negotiate_proceed(724) [0x7fdd3840df80] handshake failed at state 0**

**2019-09-29 17:16:10.513132+0200 ClassBook[18044:17968264] Connection 1: received failure notification**

**2019-09-29 17:16:10.516180+0200 ClassBook[18044:17968221] [Storyboard] Unknown class Lo in Interface Builder file.**

**2019-09-29 17:16:10.513712+0200 ClassBook[18044:17968264] Connection 1: failed to connect 1:61, reason -1**

**2019-09-29 17:16:10.517191+0200 ClassBook[18044:17968264] Connection 1: encountered error(1:61)**

**2019-09-29 17:16:10.532444+0200 ClassBook[18044:17968264] Task <0CBC5901-B275-48A2-BA9E-87223FB7CCE9>.<2> HTTP load failed, 0/0 bytes (error code: -1004 [1:61])**

**Already Logged In**

**2019-09-29 17:16:13.432938+0200 ClassBook[18044:17968221] [Storyboard] Unknown class Lo in Interface Builder file.**

**Not Logged In**

**Internet Connection Available!**

**Internet Connection Available!**

**2019-09-29 17:16:42.251368+0200 ClassBook[18044:17968259] Connection 8: unable to determine interface type without an established connection**

**2019-09-29 17:16:42.253408+0200 ClassBook[18044:17968259] Connection 8: unable to determine fallback status without a connection**

**2019-09-29 17:16:42.255418+0200 ClassBook[18044:17968259] Task <69D0B1E5-8DD0-4479-B856-EE9081A89D61>.<3> HTTP load failed, 0/0 bytes (error code: -999 [1:89])**

**2019-09-29 17:17:11.186979+0200 ClassBook[18044:17968999] Task <663BCB0A-35C3-45A7-9390-3CAD5CC5F36A>.<1> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x600000168870 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <663BCB0A-35C3-45A7-9390-3CAD5CC5F36A>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(**

**"LocalDataTask <663BCB0A-35C3-45A7-9390-3CAD5CC5F36A>.<1>"**

**), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://***.de1a.cloud.realm.io/auth, NSErrorFailingURLKey=https://***.de1a.cloud.realm.io/auth, _kCFStreamErrorDomainKey=4}**

**2019-09-29 17:17:11.196721+0200 ClassBook[18044:17968259] [] nw_connection_receive_internal_block_invoke [C2] Receive reply failed with error "Operation canceled"**

**2019-09-29 17:17:28.920409+0200 ClassBook[18044:17968703] Task <19D60601-0FA2-4769-A42C-C19D430CC0AE>.<1> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x600000145f80 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <19D60601-0FA2-4769-A42C-C19D430CC0AE>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(**

**"LocalDataTask <19D60601-0FA2-4769-A42C-C19D430CC0AE>.<1>"**

**), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://***.de1a.cloud.realm.io/auth, NSErrorFailingURLKey=https://***.de1a.cloud.realm.io/auth, _kCFStreamErrorDomainKey=4}**

**2019-09-29 17:17:28.920448+0200 ClassBook[18044:17968998] Task <2943FD94-03CB-4543-AF0D-DA91FE6486CC>.<1> finished with error [-1001] Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo={_kCFStreamErrorCodeKey=-2102, NSUnderlyingError=0x600000146010 {Error Domain=kCFErrorDomainCFNetwork Code=-1001 "(null)" UserInfo={_kCFStreamErrorCodeKey=-2102, _kCFStreamErrorDomainKey=4}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <2943FD94-03CB-4543-AF0D-DA91FE6486CC>.<1>, _NSURLErrorRelatedURLSessionTaskErrorKey=(**

**"LocalDataTask <2943FD94-03CB-4543-AF0D-DA91FE6486CC>.<1>"**

**), NSLocalizedDescription=The request timed out., NSErrorFailingURLStringKey=https://***.de1a.cloud.realm.io/auth, NSErrorFailingURLKey=https://***.de1a.cloud.realm.io/auth, _kCFStreamErrorDomainKey=4}**

**2019-09-29 17:17:28.931446+0200 ClassBook[18044:17969566] [] nw_connection_receive_internal_block_invoke [C5] Receive reply failed with error "Operation canceled"**

**2019-09-29 17:17:28.948351+0200 ClassBook[18044:17969566] [] nw_connection_receive_internal_block_invoke [C6] Receive reply failed with error "Operation canceled"**