Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppTests fail because invalid certificate on IOS #1734

Open
sync-by-unito bot opened this issue Apr 30, 2024 · 1 comment
Open

AppTests fail because invalid certificate on IOS #1734

sync-by-unito bot opened this issue Apr 30, 2024 · 1 comment
Assignees

Comments

@sync-by-unito
Copy link

sync-by-unito bot commented Apr 30, 2024

Some tests are failing on IOS because of an invalid certificate on the app services endpoint.

io.realm.kotlin.mongodb.exceptions.ConnectionException: [Custom][CustomError(4000)] io.ktor.client.engine.darwin.DarwinHttpRequestException: Exception in http request: Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. You might be connecting to a server that is pretending to be “services.cloud.mongodb.com” which could put your confidential information at risk." UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=(
    "<cert(0x10983b600) s: services.cloud.mongodb.com i: R3>",
    "<cert(0x10983c000) s: R3 i: ISRG Root X1>"
), NSErrorClientCertificateStateKey=0, NSErrorFailingURLKey=https://services.cloud.mongodb.com/api/client/v2.0/app/hello/location, NSErrorFailingURLStringKey=https://services.cloud.mongodb.com/api/client/v2.0/app/hello/location, NSUnderlyingError=0x600000c0dc80 {Error Domain=kCFErrorDomainCFNetwork Code=-1202 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, kCFStreamPropertySSLPeerTrust=<SecTrustRef: 0x60000330e4e0>, _kCFNetworkCFStreamSSLErrorOriginalValue=-9807, _kCFStreamErrorDomainKey=3,_ kCFStreamErrorCodeKey=-9807, kCFStreamPropertySSLPeerCertificates=(
    "<cert(0x10983b600) s: services.cloud.mongodb.com i: R3>",
    "<cert(0x10983c000) s: R3 i: ISRG Root X1>"
Copy link
Author

sync-by-unito bot commented Apr 30, 2024

➤ PM Bot commented:

Jira ticket: RKOTLIN-1073

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant