More errors with latest release

GaryBeasleyGaryBeasley USMember ✭✭
edited October 2015 in Xamarin.Forms

So I was able to compile with linker option set to "Do not link assemblies"

I am losing my patience with this attitude at Xamarin that we are to be your beta testers. No confidence dudes!!!!!!!!!!!!!!!

Now when I try to debug I get the following:

 NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9801)
Unhandled Exception:

System.Net.WebException: An SSL error has occurred and a secure connection to the server cannot be made.

2015-09-18 13:31:34.691 CloudCopMobileiOS[641:8064] Unhandled managed exception:
An SSL error has occurred and a secure connection to the server cannot be made. (System.Net.WebException)
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamari
n.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Net.Http.HttpResponseMessage].GetResult () [0x00000] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:580 
  at ModernHttpClient.NativeMessageHandler+<SendAsync>c__async0.MoveNext () [0x002a5] in /Users/paul/code/paulcbetts/modernhttpclient/src/ModernHttpClient/iOS/NSUrlSessionHandler.cs:139 
--- End of stack trace from previo
us location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170 
  at System.Runtime.
CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Net.Http.HttpResponseMessage].GetResult () [0x00000] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:580 
  at System.Net.Http.HttpClient+<SendAsyncWorker>c__async0.MoveNext () [0x000a9] in /Library/Frameworks/Xamarin.iOS.framework/Versions/9.0.1.18/src/mono/mcs/class/System.Net.Http/System.Net.Http/HttpClient.cs:274 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00
00b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/20
77/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142 
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[System.Net.Http.HttpResponseMessage].GetResult () [0x00000] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:580 
  at CloudCopMobile.Services.LoginClient+<GetServiceURL>d__0.MoveNext () [0x00186] in c:\XAMWARE\CloudCopPhone\CloudCopMobile\CloudCopMobile\Services\LoginClient.cs:37 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Runti
me.ExceptionServices/ExceptionDispatchInfo.cs:61 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices
/TaskAwaiter.cs:142 
  at System.Runtime.CompilerServices.TaskAwaiter`1[System.String].GetResult () [0x00000] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:372 
  at CloudCopMobile.Pages.Login.LoginPage+<loginclicked>d__22.MoveNext () [0x00212] in c:\XAMWARE\CloudCopPhone\CloudCopMobile\CloudCopMobile\Pages\Login\LoginPage.cs:144 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61 
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x00047] in /Users/builder/data/lanes/2077/d230615b/source/ma
ccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:201 
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x0002e] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:170 
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:142 
  at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src
/mono/external/referencesource/mscorlib/system/runtime/compilerservices/TaskAwaiter.cs:124 
  at CloudCopMobile.Pages.Login.LoginPage+<<SetupUserInterface>b__a>d__b.MoveNext () [0x0001b] in c:\XAMWARE\CloudCopPhone\CloudCopMobile\CloudCopMobile\Pages\Login\LoginPage.cs:109 
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000b] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/mcs/class/corlib/System.Runtime.ExceptionServices/ExceptionDispatchInfo.cs:61 
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>m__0 (System.Object state) [0x00000] in /Users/builder/data/lanes/2077/d230615b/source/maccore/_build/Library/Frameworks/Xamarin.iOS.framework/Versions/git/src/mono/external/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1006 
  at UIKit.UIKitSynchronizationContext+<Post>c__AnonSto
rey0.<>m__0 () [0x00000] in /Users/builder/data/lanes/2077/d230615b/source/maccore/src/UIKit/UIKitSynchronizationContext.cs:24 
  at Foundation.NSAsyncActionDispatcher.Apply () [0x00000] in /Users/builder/data/lanes/2077/d230615b/source/maccore/src/Foundation/NSAction.cs:163 
  at (wrapper managed-to-native) UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr)
  at UIKit.UIApplication.Main (System.String[] args, IntPtr principal, IntPtr delegate) [0x00005] in /Users/builder/data/lanes/2077/d230615b/source/maccore/src/UIKit/UIApplication.cs:74 
  at UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038] in /Users/builder/data/lanes/2077/d230615b/source/maccore/src/UIKit/UIApplication.cs:58 
  at CloudCopMobile.iOS.Application.Main (System.String[] args) [0x00001] in c:\XAMWARE\CloudCopPhone\CloudCopMobile\CloudCopMobile.iOS\Main.cs:17 
 --- inner exception ---
Exception of type 'Foundation.NSErrorException' was thrown. (Foundat
ion.NSErrorException)
(null)
2015-09-18 13:31:34.692 CloudCopMobileiOS[641:8064] critical: Stacktrace:

2015-09-18 13:31:34.692 CloudCopMobileiOS[641:8064] critical: 
Native stacktrace:
2015-09-18 13:31:34.814 CloudCopMobileiOS[641:8064] critical:   0   CloudCopMobileiOS                   0x000000010bd5038d mono_handle_native_sigsegv + 253
2015-09-18 13:31:34.814 CloudCopMobileiOS[641:8064] critical:   1   libsystem_platform.dylib            0x0000000115c19f1a _sigtramp + 26
2015-09-18 13:31:34.815 CloudCopMobileiOS[641:8064] critical:   2   ???                                 0x000000000c2828f9 0x0 + 203958521
2015-09-18 13:31:34.815 CloudCopMobileiOS[641:8064] critical:   3   libsystem_c.dylib                   0x00000001159ada44 abort + 129
2015-09-18 13:31:34.815 CloudCopMobileiOS[641:8064] critical:   4   CloudCopMobileiOS                   0x000000010beabdca xamarin_unhandled_exception_handler + 298
2015-09-18 13:31:34.815 CloudCopMobileiOS[641:8064] critical:   5   CloudCopMobileiOS                   0x000000010bd50b23 mono_invoke_unhandled_exception_hook + 83
2015-09-18 13:31:34.815 CloudCopMobileiOS[641:8064] critical:   6   CloudCopMobileiOS                   0x000000010bd4fbf0 mono_handle_exception_internal + 5552
2015-09-18 13:31:34.815 CloudCopMobileiOS[641:8064] critical:   7   CloudCopMobileiOS                   0x000000010bd4e638 mono_
handle_exception + 24
2015-09-18 13:31:34.816 CloudCopMobileiOS[641:8064] critical:   8   CloudCopMobileiOS                   0x000000010bcc9e18 mono_amd64_throw_exception + 168
2015-09-18 13:31:34.816 CloudCopMobileiOS[641:8064] critical:   9   ???                                 0x0000000120db23a4 0x0 + 4846199716
2015-09-18 13:31:34.816 CloudCopMobileiOS[641:8064] critical:   10  ???                                 0x00000001230ce7b1 0x0 + 4883015601
2015-09-18 13:31:34.816 CloudCopMobileiOS[641:8064] critical:   11  CloudCopMobileiOS                   0x000000010bd65005 mono_jit_runtime_invoke + 1637
2015-09-18 13:31:34.816 CloudCopMobileiOS[641:8064] critical:   12  CloudCopMobileiOS                   0x000000010bdf549e mono_runtime_invoke + 110
2015-09-18 13:31:34.816 CloudCopMobileiOS[641:8064] critical:   13  CloudCopMobileiOS                   0x000000010bc4d50a _ZL30native_to_managed_trampoline_6P11objc_objectP13objc_selectorPP11_MonoMethodPKcS7_ + 202
2015-09-18 13:31:34.817 CloudCopMobileiOS[641:8064] c
ritical:    14  CloudCopMobileiOS                   0x000000010bc59ebd -[__MonoMac_NSAsyncActionDispatcher xamarinApplySelector] + 61
2015-09-18 13:31:34.817 CloudCopMobileiOS[641:8064] critical:   15  Foundation                          0x000000010dd94607 __NSThreadPerformPerform + 283
2015-09-18 13:31:34.817 CloudCopMobileiOS[641:8064] critical:   16  CoreFoundation                      0x00000001142120a1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
2015-09-18 13:31:34.817 CloudCopMobileiOS[641:8064] critical:   17  CoreFoundation                      0x0000000114207fcc __CFRunLoopDoSources0 + 556
2015-09-18 13:31:34.817 CloudCopMobileiOS[641:8064] critical:   18  CoreFoundation                      0x0000000114207483 __CFRunLoopRun + 867
2015-09-18 13:31:34.817 CloudCopMobileiOS[641:8064] critical:   19  CoreFoundation                      0x0000000114206e98 CFRunLoopRunSpecific + 488
2015-09-18 13:31:34.818 CloudCopMobileiOS[641:8064] critical:   20  GraphicsServices                    0x000000011538dad2 GSEventRunModal + 161
2015-09-18 13:31:34.818 CloudCopMobileiOS[641:8064] critical:   21  UIKit                               0x000000010ee12676 UIApplicationMain + 171
2015-09-18 13:31:34.818 CloudCopMobileiOS[641:8064] critical:   22  ???                                 0x0000000126afaa4b 0x0 + 4944013899
2015-09-18 13:31:34.818 CloudCopMobileiOS[641:8064] critical:   23  ???                                 0x0000000126afa735 0x0 + 4944013109
2015-09-18 13:31:34.818 CloudCopMobileiOS[641:8064] critical: 
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Posts

  • AnilMathpatiAnilMathpati INMember ✭✭

    did you get any work-around for this?

  • JesseMockJesseMock USUniversity ✭✭

    I am having this intermittent issue as well: System.Net.WebException: An SSL error has occurred and a secure connection to the server cannot be made.

    App was working all morning. Came back from lunch and changed NOTHING and now this happens on connections. Reset iOS simulator, rebooted computer, etc to no avail.

  • GaryBeasleyGaryBeasley USMember ✭✭

    I resolved this by adding this to the info.plist in my iOS project:

    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSAllowsArbitraryLoads</key>
        <true/>
    </dict>
    
  • AdamMeaneyAdamMeaney USMember ✭✭✭✭✭

    As an fyi for people, here is a link for some knowledge about Apple's App Transport Security.

    It was introduced in iOS 9, and was talked about extensively at the time.

    Please try not to blame the wrong people for things happening. There are some things that are not under Xamarin's control, and complaining if Microsoft, Google, or Apple breaks things does not help.

  • GaryBeasleyGaryBeasley USMember ✭✭

    To be fair, my original comment was unfair. But the release of the iOS9 Xamarin update, and all the tool chain items that I updated that day, I had several things break. However, I received excellent support about the problems regarding the inability to Link SDKs only that were introduced immediately after iOS9 releases. Support sent me a package to install on my Mac mini on the same day and it corrected the problem.

    I'm a huge fan of Xamarin Forms. But let's be honest, everything, including the work we're doing with XF, is all beta anyway. What you have to keep up with to play in this world is amazing, but I think it's worth it :)

  • PiratePirate SAMember ✭✭

    @GaryBeasley said:
    I resolved this by adding this to the info.plist in my iOS project:

    NSAppTransportSecurity

    NSAllowsArbitraryLoads

    Thank you so much . This fixed it .

Sign In or Register to comment.