Hi all,
I am have custom api plugin in my solution. I cloned the repo into my system and imported the solution to my trial environment. I made some changes in the code and updated it to my trial environment using plugin registration tool. It was working fine before the i update the plugin. After updating it, when i call the api in dynamics i am getting this error..
The plug-in execution failed because no Sandbox Hosts are currently available. Please check that you have a Sandbox server configured and that it is running.
Microsoft.Xrm.RemotePlugin.Grpc.ExceptionHandlers.SandboxFabricHostCommunicationException: Error communicating with SandboxFabricHost. ChannelState - Ready ---> Grpc.Core.RpcException: Status(StatusCode="Unavailable", Detail="Received http2 header with status: 502", DebugException="Grpc.Core.Internal.CoreErrorDetailException: {"created":"@1622215598.376000000","description":"Received http2 :status header with non-200 OK status","file":"..\..\..\src\core\ext\filters\http\client\http_client_filter.cc","file_line":130,"grpc_message":"Received http2 header with status: 502","grpc_status":14,"value":"502"}")
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +0xc
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +0x28
at Grpc.Core.Internal.ClientResponseStream`2.<MoveNext>d__5.MoveNext() +0x11b
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() +0xc
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +0x28
at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.<HandleGrpcStreams>d__48.MoveNext() +0x36f
--- End of inner exception stack trace ---
at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.<>c__DisplayClass48_2.<HandleGrpcStreams>b__1() +0x126
at Microsoft.PowerApps.CoreFramework.ActivityLoggerExtensions.Execute(ILogger logger, EventId eventId, ActivityType activityType, Action action, IEnumerable`1 additionalCustomProperties) +0x90
at Microsoft.Xrm.Telemetry.XrmTelemetryExtensions.Execute(ILogger logger, XrmTelemetryActivityType activityType, Action action) +0x13
at Microsoft.Xrm.RemotePlugin.Grpc.SandboxFabricGrpcClient.<HandleGrpcStreams>d__48.MoveNext() +0x5e6
I looked into some of the solution posted in community. But I am not sure where I can find services.ms to check whether sandbox is running or not.
And since it is trial environment, i dont know whether I should follow those solution.
Thank you...