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

SSL/TLS protocol not supported #7474

Closed
kyungho-kim opened this issue Oct 7, 2021 · 11 comments · Fixed by realm/realm-core#4948 or realm/realm-core#4954
Closed

SSL/TLS protocol not supported #7474

kyungho-kim opened this issue Oct 7, 2021 · 11 comments · Fixed by realm/realm-core#4948 or realm/realm-core#4954
Assignees

Comments

@kyungho-kim
Copy link

kyungho-kim commented Oct 7, 2021

How frequently does the bug occur?

All the time

Description

When I run the macOS app in Xcode 13, the app is terminated. Run in an iOS simulator, it works normally.

Stacktrace & log output

libc++abi: terminating with uncaught exception of type realm::util::network::ssl::ProtocolNotSupported: SSL/TLS protocol not supported

Can you reproduce the bug?

Yes, always

Reproduction Steps

Run macOS app on Xcode 13

Version

10.17.0

What SDK flavour are you using?

MongoDB Realm (i.e. Sync, auth, functions)

Are you using encryption?

No, not using encryption

Platform OS and version(s)

macOS 11.6

Build environment

Xcode version: 13.0
Dependency manager and version: SPM

@kyungho-kim
Copy link
Author

스크린샷 2021-10-08 오후 3 54 07

I haven't solved this problem yet.

@leemaguire
Copy link
Contributor

Hi @kyungho-kim Can you enable the Network permissions that are present in the 'App sandbox' section of 'Signing & Capabilities' on your target and see if that helps?
Screenshot 2021-10-08 at 10 07 55

@kyungho-kim
Copy link
Author

Hi @leemaguire I checked them, but it wasn't solved. The strange thing is that the app runs in Xcode 12.5.1.

@leemaguire
Copy link
Contributor

@kyungho-kim is this a Catalyst app?

@kyungho-kim
Copy link
Author

@leemaguire Yes, this is a Catalyst app.

@leemaguire
Copy link
Contributor

leemaguire commented Oct 8, 2021

I cannot reproduce this issue on Xcode 13 @kyungho-kim. I have a few questions:

  • Are you using Realm Sync?
  • Have you tried cleaning your build and deleting derived data?
  • Are you able to reproduce this is a new sandbox app?

@kyungho-kim
Copy link
Author

@leemaguire

  • I'm using Realm Sync.
  • I have tried cleaning, deleting derived data, reinstalling Xcode.
  • I have created new project and tested in another cluster. However I get the same error message. I attached a screenshot of my test project.

스크린샷 2021-10-08 오후 7 26 45

@leemaguire
Copy link
Contributor

Do you have anything on your machine that might have misplaced the openssl library?

@kyungho-kim
Copy link
Author

@leemaguire No... I've never touched the openssl library. The problem occurs only in the Catalyst app, not iOS simulator or macOS target.

@leemaguire
Copy link
Contributor

@kyungho-kim I can reproduce the issue. We will fix this.

@leemaguire
Copy link
Contributor

I'll keep this issue open until we release the next version of cocoa.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants