-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
(TLS 1.3) sentry-cli debug-files upload fails with [35] SSL connect error (A bad protocol version was encountered) #2202
Comments
@igordrljic I am not sure either why this issue is occurring. The error is coming from the underlying curl library. Not sure why calling curl directly does not cause the issue. The error could be either due to a problem in Sentry CLI, or possibly a problem with your server. It looks like you are using self-hosted Sentry. Would you be able to try creating an account on our SaaS platform (the free plan will work for this) and uploading the debug files there? If you don't see an error when uploading to our SaaS platform, then this is probably due to a problem on your server. |
It looks like the issue is with our self-hosted Sentry instance. I created a sample project, set it up against the SaaS Sentry instance and everything works. |
The thing that solved the issue was downgrading TLS 1.3 to TLS 1.2 on the self-hosted Sentry server. |
@igordrljic, no, I was not aware of a problem with TLS 1.3. This information is very helpful; I will investigate and see if I can reproduce the issue. I am renaming the issue title accordingly. |
CLI Version
sentry-cli 2.38.0
Operating System and Architecture
Operating System Version
maxOS Sonoma Version 14.2.1 (23C71)
Link to reproduction repository
No response
CLI Command
sentry-cli debug-files upload \ --log-level debug \ --include-sources \ --org organization \ --project project-ios \ ~/Library/Developer/Xcode/DerivedData/project-eseqoymeqyogfmenscunnswtziup/Build/Products/Debug-iphoneos
Exact Reproduction Steps
I am developing an iOS application and would like to use Sentry for issue monitoring.
I set up the sentry by installing it following instructions from this link: https://docs.sentry.io/platforms/apple/guides/ios/
After that I integrated the sentry into my project using sentry-wizard.
For integration method I chose Swift Package Manager.
During app building phase I noticed that Upload Debug Symbols to Sentry Xcode script fails to uploads symbols. I checked the portal and reported issues didn't have symbols.
I tried uploading debug symbol files with sentry-cli, but the result was the same:
I tried debugging the connection using curl:
It looks like the curl doesn't have the SSL issue that sentry-cli has.
Can you please help me find out what is the issue?
If you need any additional information I'm at your disposal.
Expected Results
I expected Upload Debug Symbols to Sentry Xcode script to upload debug symbols successfully.
I expected sentry-cli to upload debug symbols successfully.
Actual Results
Instead of successful debug symbol upload I see this error:
Logs
The text was updated successfully, but these errors were encountered: