I turned on App Service Logs and that helped me fix a outdated database column that was not being used. I can now get the onConnect to work, but I then get the following exception in the ServerEventsFeature
2020-02-14T03:17:20.708325402Z Request starting HTTP/1.1 GET http://myapp.azurewebsites.net/event-stream?channels=ui&t=1581650198609
2020-02-14T03:17:20.758378811Z 2020-02-14 03:17:20.757 +00:00 [WRN] Could not publish notification to:
2020-02-14T03:17:20.758418011Z
2020-02-14T03:17:20.758424811Z System.ObjectDisposedException: IFeatureCollection has been disposed.
2020-02-14T03:17:20.758429811Z Object name: 'Collection'.
2020-02-14T03:17:20.758434511Z at Microsoft.AspNetCore.Http.Features.FeatureReferences`1.ThrowContextDisposed()
2020-02-14T03:17:20.763837644Z at Microsoft.AspNetCore.Http.DefaultHttpResponse.get_Body()
2020-02-14T03:17:20.763853145Z at ServiceStack.ServerEventsFeature.<>c.<<-ctor>b__96_1>d.MoveNext() in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\ServerEventsFeature.cs:line 93
2020-02-14T03:17:20.763859845Z --- End of stack trace from previous location where exception was thrown ---
2020-02-14T03:17:20.763864645Z at ServiceStack.EventSubscription.PublishRawAsync(String frame, CancellationToken token) in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\ServerEventsFeature.cs:line 591
2020-02-14T03:17:20.766310860Z {"SourceContext": "ServiceStack.EventSubscription", "MachineName": "ef4499fac378", "ExceptionDetail": {"HResult": -2146232798, "Message": "IFeatureCollection has been disposed.\nObject name: 'Collection'.", "Source": "Microsoft.AspNetCore.Http.Features", "StackTrace": " at Microsoft.AspNetCore.Http.Features.FeatureReferences`1.ThrowContextDisposed()\n at Microsoft.AspNetCore.Http.DefaultHttpResponse.get_Body()\n at ServiceStack.ServerEventsFeature.<>c.<<-ctor>b__96_1>d.MoveNext() in C:\\BuildAgent\\work\\3481147c480f4a2f\\src\\ServiceStack\\ServerEventsFeature.cs:line 93\n--- End of stack trace from previous location where exception was thrown ---\n at ServiceStack.EventSubscription.PublishRawAsync(String frame, CancellationToken token) in C:\\BuildAgent\\work\\3481147c480f4a2f\\src\\ServiceStack\\ServerEventsFeature.cs:line 591", "ObjectName": "Collection", "Type": "System.ObjectDisposedException"}}2020-02-14 03:17:20.759 +00:00 [ERR] Register: Exception has been thrown by the target of an invocation.
2020-02-14T03:17:20.766331860Z System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
2020-02-14T03:17:20.767081864Z ---> System.InvalidOperationException: Method may only be called on a Type for which Type.IsGenericParameter is true.
2020-02-14T03:17:20.767096365Z at System.RuntimeType.get_DeclaringMethod()
2020-02-14T03:17:20.767101465Z --- End of inner exception stack trace ---
2020-02-14T03:17:20.767105865Z at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
2020-02-14T03:17:20.767110565Z at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
2020-02-14T03:17:20.767115165Z at ServiceStack.Text.TypeSerializer.HasCircularReferences(Object value, Stack`1 parentValues) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\TypeSerializer.cs:line 403
2020-02-14T03:17:20.772800900Z at ServiceStack.Text.TypeSerializer.<HasCircularReferences>g__CheckValue|32_0(Object key, <>c__DisplayClass32_0& ) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\TypeSerializer.cs:line 364
2020-02-14T03:17:20.772853200Z at ServiceStack.Text.TypeSerializer.HasCircularReferences(Object value, Stack`1 parentValues) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\TypeSerializer.cs:line 404
2020-02-14T03:17:20.772860900Z at ServiceStack.Text.TypeSerializer.<HasCircularReferences>g__CheckValue|32_0(Object key, <>c__DisplayClass32_0& ) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\TypeSerializer.cs:line 364
2020-02-14T03:17:20.772866500Z at ServiceStack.Text.TypeSerializer.HasCircularReferences(Object value, Stack`1 parentValues) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\TypeSerializer.cs:line 404
2020-02-14T03:17:20.772871400Z at ServiceStack.Text.TypeSerializer.SerializeAndFormat[T](T instance) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\TypeSerializer.cs:line 311
2020-02-14T03:17:20.772876200Z at ServiceStack.Text.TypeSerializer.PrintDump[T](T instance) in C:\BuildAgent\work\912418dcce86a188\src\ServiceStack.Text\TypeSerializer.cs:line 282
2020-02-14T03:17:20.772880900Z at Alert.Web.ConfigureServerEvents.<>c.<Configure>b__5_0(IEventSubscription subscription, Exception exception) in D:\a\1\s\Alert.Web\Configure.ServerEvents.cs:line 34
2020-02-14T03:17:20.773178702Z at ServiceStack.EventSubscription.HandleWriteExceptionAsync(String frame, Exception ex, CancellationToken token) in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\ServerEventsFeature.cs:line 663
2020-02-14T03:17:20.773190502Z at ServiceStack.EventSubscription.PublishRawAsync(String frame, CancellationToken token) in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\ServerEventsFeature.cs:line 591
2020-02-14T03:17:20.773195802Z at ServiceStack.MemoryServerEvents.FlushNopAsync(ConcurrentDictionary`2 map, String key, String channel, CancellationToken token) in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\ServerEventsFeature.cs:line 1116
2020-02-14T03:17:20.773200602Z at ServiceStack.MemoryServerEvents.FlushNopToChannelsAsync(String[] channels, CancellationToken token) in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\ServerEventsFeature.cs:line 1417
2020-02-14T03:17:20.773468404Z at ServiceStack.MemoryServerEvents.RegisterAsync(IEventSubscription subscription, Dictionary`2 connectArgs, CancellationToken token) in C:\BuildAgent\work\3481147c480f4a2f\src\ServiceStack\ServerEventsFeature.cs:line 1395
2020-02-14T03:17:20.781774255Z {"SourceContext": "ServiceStack.MemoryServerEvents", "MachineName": "ef4499fac378", "ExceptionDetail": {"Type": "System.Reflection.TargetInvocationException", "HResult": -2146232828, "Message": "Exception has been thrown by the target of an invocation.", "Source": "System.Private.CoreLib", "StackTrace": " at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)\n at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)\n at ServiceStack.Text.TypeSerializer.HasCircularReferences(Object value, Stack`1 parentValues) in C:\\BuildAgent\\work\\912418dcce86a188\\src\\ServiceStack.Text\\TypeSerializer.cs:line 403\n at ServiceStack.Text.TypeSerializer.<HasCircularReferences>g__CheckValue|32_0(Object key, <>c__DisplayClass32_0& ) in C:\\BuildAgent\\work\\912418dcce86a188\\src\\ServiceStack.Text\\TypeSerializer.cs:line 364\n at ServiceStack.Text.TypeSerializer.HasCircularReferences(Object value, Stack`1 parentValues) in C:\\BuildAgent\\work\\912418dcce86a188\\src\\ServiceStack.Text\\TypeSerializer.cs:line 404\n at ServiceStack.Text.TypeSerializer.<HasCircularReferences>g__CheckValue|32_0(Object key, <>c__DisplayClass32_0& ) in C:\\BuildAgent\\work\\912418dcce86a188\\src\\ServiceStack.Text\\TypeSerializer.cs:line 364\n at ServiceStack.Text.TypeSerializer.HasCircularReferences(Object value, Stack`1 parentValues) in C:\\BuildAgent\\work\\912418dcce86a188\\src\\ServiceStack.Text\\TypeSerializer.cs:line 404\n at ServiceStack.Text.TypeSerializer.SerializeAndFormat[T](T instance) in C:\\BuildAgent\\work\\912418dcce86a188\\src\\ServiceStack.Text\\TypeSerializer.cs:line 311\n at ServiceStack.Text.TypeSerializer.PrintDump[T](T instance) in C:\\BuildAgent\\work\\912418dcce86a188\\src\\ServiceStack.Text\\TypeSerializer.cs:line 282\n at Alert.Web.ConfigureServerEvents.<>c.<Configure>b__5_0(IEventSubscription subscription, Exception exception) in D:\\a\\1\\s\\Alert.Web\\Configure.ServerEvents.cs:line 34\n at ServiceStack.EventSubscription.HandleWriteExceptionAsync(String frame, Exception ex, CancellationToken token) in C:\\BuildAgent\\work\\3481147c480f4a2f\\src\\ServiceStack\\ServerEventsFeature.cs:line 663\n at ServiceStack.EventSubscription.PublishRawAsync(String frame, CancellationToken token) in C:\\BuildAgent\\work\\3481147c480f4a2f\\src\\ServiceStack\\ServerEventsFeature.cs:line 591\n at ServiceStack.MemoryServerEvents.FlushNopAsync(ConcurrentDictionary`2 map, String key, String channel, CancellationToken token) in C:\\BuildAgent\\work\\3481147c480f4a2f\\src\\ServiceStack\\ServerEventsFeature.cs:line 1116\n at ServiceStack.MemoryServerEvents.FlushNopToChannelsAsync(String[] channels, CancellationToken token) in C:\\BuildAgent\\work\\3481147c480f4a2f\\src\\ServiceStack\\ServerEventsFeature.cs:line 1417\n at ServiceStack.MemoryServerEvents.RegisterAsync(IEventSubscription subscription, Dictionary`2 connectArgs, CancellationToken token) in C:\\BuildAgent\\work\\3481147c480f4a2f\\src\\ServiceStack\\ServerEventsFeature.cs:line 1395", "InnerException": {"Type": "System.InvalidOperationException", "HResult": -2146233079, "Message": "Method may only be called on a Type for which Type.IsGenericParameter is true.", "Source": "System.Private.CoreLib", "StackTrace": " at System.RuntimeType.get_DeclaringMethod()"}}}