Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by googlerOTS · Sep 18, 2017 at 10:35 AM · iosbuild error

TlsException on ios build

Every time I build ios build I get error:

TlsException: Invalid certificate received from server. Error code: 0x3 Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (System.IAsyncResult asyncResult) (at :0) Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) (at :0) Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) (at :0) Rethrow as IOException: The authentication or decryption has failed. Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (System.IAsyncResult result) (at :0) Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) (at :0) Rethrow as IOException: The authentication or decryption has failed. Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) (at :0) Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (System.IAsyncResult asyncResult) (at :0) Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) (at :0) Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) (at :0) Rethrow as WebException: Error: TrustFailure (The authentication or decryption has failed.) System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) (at :0) System.Net.HttpWebRequest.GetResponse () (at :0) UnityEditor.iOS.PostProcessiPhonePlayer.GetUsymUploadAuthToken (UnityEditor.iOS.PostProcessiPhonePlayer+BuildSettings bs) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:2508) UnityEditor.HostView:OnGUI()

This error appears even if I clear project. I'm using Unity 2017.1.1 .net 4.6

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image jeremytm · Oct 31, 2017 at 03:12 AM 0
Share

@googlerOTS have you submitted a bug report for this?

avatar image pesahov · Dec 07, 2017 at 11:24 PM 0
Share

I have the same issue for Android with Unity 2017.2.0 and 3.0 The solution for me was in logging out from Unity account and checking "Work offline". After this, my build was successful locally. On Unity Cloud I don't have this issue

2 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by pesahov · Oct 30, 2017 at 10:13 AM

I have the same error for iOS build on 2017.1.2p2 .NET 4.6 but don't have it with Unity Cloud

 TlsException: Invalid certificate received from server. Error code: 0x3
 Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (System.IAsyncResult asyncResult) (at <59bcb3a41e31492f91d9513566444e88>:0)
 Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) (at <59bcb3a41e31492f91d9513566444e88>:0)
 Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) (at <59bcb3a41e31492f91d9513566444e88>:0)
 Rethrow as IOException: The authentication or decryption has failed.
 Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (System.IAsyncResult result) (at <59bcb3a41e31492f91d9513566444e88>:0)
 Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) (at <59bcb3a41e31492f91d9513566444e88>:0)
 Rethrow as IOException: The authentication or decryption has failed.
 Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) (at <59bcb3a41e31492f91d9513566444e88>:0)
 Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (System.IAsyncResult asyncResult) (at :0)
 Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) (at :0)
 Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) (at :0)
 Rethrow as WebException: Error: TrustFailure (The authentication or decryption has failed.)
 System.Net.HttpWebRequest.EndGetResponse (System.IAsyncResult asyncResult) (at :0)
 System.Net.HttpWebRequest.GetResponse () (at :0)
 UnityEditor.iOS.PostProcessiPhonePlayer.GetUsymUploadAuthToken (UnityEditor.iOS.PostProcessiPhonePlayer+BuildSettings bs) (at /Users/builduser/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/BuildPostProcessor.cs:2568)
 UnityEditor.HostView:OnGUI()
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image pesahov · Dec 07, 2017 at 11:24 PM 0
Share

I have the same issue for Android with Unity 2017.2.0 and 3.0 The solution for me was in logging out from Unity account and checking "Work offline". After this, my build was successful locally. On Unity Cloud I don't have this issue

avatar image
0

Answer by revanaii · Jan 07, 2018 at 04:01 PM

Happens for me as well in 2017.1.2f1 Perfomance Reporting service turned to be the cause of the issue

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

98 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

unity5.2.4 build ios package Error 1 Answer

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Xcode error when Archiving linker command failed with exit code 1 (use -v to see invocation) clang 1 Answer

Getting Error building Player: Exception: Invalid PBX project (parsing line 0) 0 Answers

Error while building for iOS (Unity 2018.4.2f1) 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges