Skip to content

SignClient Plugin GRPC conflict Between Grpc dlls with Oracle #942

@vncoelho

Description

@vncoelho

Even with ALL these *.dlls generated during build, I am having random behavior on SignClient Plugin according to the Plugins that the node is running.

However, I did not found which other Plugin has GRPC

Akka.dll                                                   Microsoft.Extensions.FileProviders.Physical.dll  Neo.VM.dll
BouncyCastle.Cryptography.dll                              Microsoft.Extensions.FileSystemGlobbing.dll      Neo.dll
Google.Protobuf.dll                                        Microsoft.Extensions.Logging.Abstractions.dll    Newtonsoft.Json.dll
Grpc.Core.Api.dll                                          Microsoft.Extensions.ObjectPool.dll              Ookii.VmSockets.dll
Grpc.Net.Client.dll                                        Microsoft.Extensions.Primitives.dll              SignClient.dll
Grpc.Net.Common.dll                                        Microsoft.IdentityModel.Abstractions.dll         System.Configuration.ConfigurationManager.dll
K4os.Compression.LZ4.dll                                   Microsoft.IdentityModel.Logging.dll              System.Diagnostics.EventLog.dll
Microsoft.Extensions.Configuration.Abstractions.dll        Microsoft.IdentityModel.Tokens.dll               System.Drawing.Common.dll
Microsoft.Extensions.Configuration.Binder.dll              Microsoft.Win32.SystemEvents.dll                 System.IO.Hashing.dll
Microsoft.Extensions.Configuration.FileExtensions.dll      Neo.ConsoleService.dll                           System.Security.Cryptography.ProtectedData.dll
Microsoft.Extensions.Configuration.Json.dll                Neo.Cryptography.BLS12_381.dll                   System.Security.Permissions.dll
Microsoft.Extensions.Configuration.dll                     Neo.Extensions.dll                               System.ServiceProcess.ServiceController.dll
Microsoft.Extensions.DependencyInjection.Abstractions.dll  Neo.IO.dll                                       System.Windows.Extensions.dll
Microsoft.Extensions.FileProviders.Abstractions.dll        Neo.Json.dll
neo> Unhandled exception. System.TypeInitializationException: The type initializer for 'Neo.NeoSystem' threw an exception.
 ---> System.TypeLoadException: Could not load type 'Grpc.Core.ConnectivityState' from assembly 'Grpc.Net.Common, Version=2.0.0.0, Culture=neutral, PublicKeyToken=d754f35622e28bad'.
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Neo.Plugins.Plugin.LoadPlugin(Assembly assembly) in /opt/neo/src/Neo/Plugins/Plugin.cs:line 171
   at Neo.Plugins.Plugin.LoadPlugins() in /opt/neo/src/Neo/Plugins/Plugin.cs:line 206
   at Neo.NeoSystem..cctor() in /opt/neo/src/Neo/NeoSystem.cs:line 112
   --- End of inner exception stack trace ---
   at Neo.NeoSystem.CurrentDomain_UnhandledException(Object sender, UnhandledExceptionEventArgs e) in /opt/neo/src/Neo/NeoSystem.cs:line 185
   at System.AppContext.OnUnhandledException(Object e)
/opt/start_node.sh: line 2:   116 Aborted                 (core dumped) ( cd /opt/node/Neo.CLI/; dotnet neo-cli.dll )

Metadata

Metadata

Labels

under investigationThe problem mentioned, or possible improvement, is under investigation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions