Open Closed

Pro module licensing and background exceptions #7875


User avatar
0
TonyLewis created

I'm new to the pro version. We are having trouble with developer permissions C:\Users{username}.abp\cli\access-token.bin not found. I don't have the problem, but one of my developers does. I assume that my developers can also send support tickets? They are in India and the time zone issue is causing multiple delays as we run into issues.

Also, I am seeing a lot of exceptions being thrown by the application when running through visual studio. It works, but it seems slow. I assume that these exceptions probably indicate an issue, but I don't know where to look. These errors repeat

  • ABP Framework version: v8.2.2
  • UI Type: MVC
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC): yes/no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Exception thrown: 'System.Net.Sockets.SocketException' in System.Net.Sockets.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Sockets.SocketException' in System.Net.Http.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Net.Http.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in System.Private.CoreLib.dll Exception thrown: 'System.Net.Http.HttpRequestException' in Grpc.Net.Client.dll Exception thrown: 'Grpc.Core.RpcException' in Grpc.Net.Client.dll Exception thrown: 'Grpc.Core.RpcException' in System.Private.CoreLib.dll Exception thrown: 'Grpc.Core.RpcException' in MagicOnion.Client.dll Exception thrown: 'Grpc.Core.RpcException' in System.Private.CoreLib.dll Exception thrown: 'Grpc.Core.RpcException' in System.Private.CoreLib.dll Exception thrown: 'Grpc.Core.RpcException' in System.Private.CoreLib.dll

And sometimes a lot more


4 Answer(s)
  • User Avatar
    0
    TonyLewis created

    >

    What are the "Magic Onion" calls?

    Grpc.Net.Client.dll!Grpc.Net.Client.Internal.GrpcCall<byte[], byte[]>.GetResponseHeadersCoreAsync() Line 192 C# [Resuming Async Method] System.Private.CoreLib.dll!System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) Line 138 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.AsyncTaskMethodBuilder<Grpc.Core.Metadata>.AsyncStateMachineBox<Grpc.Net.Client.Internal.GrpcCall<byte[], byte[]>.<GetResponseHeadersCoreAsync>d__46>.MoveNext(System.Threading.Thread threadPoolThread) Line 163 C# System.Private.CoreLib.dll!System.Runtime.CompilerServices.TaskAwaiter.OutputWaitEtwEvents.AnonymousMethod__12_0(System.Action innerContinuation, System.Threading.Tasks.Task innerTask) Line 140 C# System.Private.CoreLib.dll!System.Threading.Tasks.AwaitTaskContinuation.System.Threading.IThreadPoolWorkItem.Execute() Line 94 C# System.Private.CoreLib.dll!System.Threading.ThreadPoolWorkQueue.Dispatch() Line 690 C# System.Private.CoreLib.dll!System.Threading.PortableThreadPool.WorkerThread.WorkerThreadStart() Line 1328 C# [Async Call Stack] [Async] MagicOnion.Client.dll!MagicOnion.Client.StreamingHubClientBase<Volo.Abp.Studio.Connectivity.IStudioHub, Volo.Abp.Studio.Connectivity.IStudioHubClient>.__ConnectAndSubscribeAsync(Volo.Abp.Studio.Connectivity.IStudioHubClient receiver, System.Threading.CancellationToken cancellationToken) Unknown [Async] MagicOnion.Client.dll!MagicOnion.Client.StreamingHubClient.ConnectAsync<Volo.Abp.Studio.Connectivity.IStudioHub, Volo.Abp.Studio.Connectivity.IStudioHubClient>(Grpc.Core.CallInvoker callInvoker, Volo.Abp.Studio.Connectivity.IStudioHubClient receiver, string host, Grpc.Core.CallOptions option, MagicOnion.Serialization.IMagicOnionSerializerProvider serializerProvider, MagicOnion.Client.IStreamingHubClientFactoryProvider factoryProvider, MagicOnion.Client.IMagicOnionClientLogger logger, System.Threading.CancellationToken cancellationToken) Unknown [Async] MagicOnion.Client.dll!MagicOnion.Client.StreamingHubClient.ConnectAsync<Volo.Abp.Studio.Connectivity.IStudioHub, Volo.Abp.Studio.Connectivity.IStudioHubClient>(Grpc.Core.ChannelBase channel, Volo.Abp.Studio.Connectivity.IStudioHubClient receiver, string host, Grpc.Core.CallOptions option, MagicOnion.Serialization.IMagicOnionSerializerProvider serializerProvider, MagicOnion.Client.IStreamingHubClientFactoryProvider factoryProvider, MagicOnion.Client.IMagicOnionClientLogger logger, System.Threading.CancellationToken cancellationToken) Unknown [Async] Volo.Abp.Studio.Client.dll!Volo.Abp.Studio.Connectivity.AbpStudioLink.<ConnectAsync>d__19.MoveNext() Unknown

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    From the error message/stack, it seems unrelated to the abp framework.

    Can you try to run app via dotnet run command to see if there still have any error messages in the logs.

    Thanks.

  • User Avatar
    0
    TonyLewis created

    hi

    From the error message/stack, it seems unrelated to the abp framework.

    Can you try to run app via dotnet run command to see if there still have any error messages in the logs.

    Thanks.

    That's interesting, because I'm not running anything but abp. It appears that this may have something to do with ABP Studio (see the last line) Is it trying to check in to see if something has changed?

    This may also be because of communication between the .Web and the .Web.Public applications. I should not have clicked on public website in APB Studio.

    In my application, almost all content is user-driven, not controlled by the admin. As such, each user is a "mini-admin" for their specific content information. As such, a separate "public" application is unnecessarily complex.

    Is the public website a requirement for the CmsKit Pro? I'm trying to balance the convenience of having those modules written and the complexity and license headache associated with their use.

    I tried to add the CmsKit Pro module to my application, and I added it to the global features as suggested, but the migrations don't add any files and I don't seem to have access to the advanced features.

    Tony

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    The GetResponseHeadersCoreAsync method seems to be your code.

    Is the localhost:38271 started?

    For the CmsKit Pro module, you should add all modules to your solution.

    Application, Domain, EF core. and then add new ef core migration.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11