SSL connection broken inside the local network - working fine from outside

Dear friends,

asking for help on my Apple Watch App https://apps.apple.com/de/app/solvecconmon/id6447190699

The App creates SSL connections to an internal server. For a long time everything was working fine - regardless whether it's running inside or outside the local network.

Since some weeks an SSL error occurs when using the App inside the LAN/WLAN. From outside - using the mobil connection - it still works fine.

What has changed during last weeks? IOS updates, Xcode updates, Fritz!Box-router updates. My App wasn't changed.

Looking forward on feedback.

Thanks, Juergen

The output when running the App in the Xcode simulator:

Optional<Error> some : Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=( "<cert(0x11403ac00) s: XXXXX.myfritz.net i: XXXXX.myfritz.net>" ), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://XXXXX.myfritz.net/api/state/api/state, NSErrorFailingURLStringKey=https://XXXXX.myfritz.net/api/state/api/state, NSUnderlyingError=0x600000c786f0 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x60000330d4a0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9802, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9802, kCFStreamPropertySSLPeerCertificates=( "<cert(0x11403ac00) s: XXXXX.myfritz.net i: XXXXX.myfritz.net>" )}}, _NSURLErrorRelatedURLSessionTaskErrorKey=( "LocalDataTask <B31C9F42-E292-4D45-8216-C80FA46FAE52>.<1>" ), _kCFStreamErrorCodeKey=-9802, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <B31C9F42-E292-4D45-8216-C80FA46FAE52>.<1>, NSURLErrorFailingURLPeerTrustErrorKey=<SecTrustRef: 0x60000330d4a0>, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made.}

Is this issue resolved? I am facing similar problem.

SSL connection broken inside the local network - working fine from outside
 
 
Q