Nethereum.SimpleWindowsWallet icon indicating copy to clipboard operation
Nethereum.SimpleWindowsWallet copied to clipboard

Trying to use with Ganache but it fails

Open devfxplayer opened this issue 5 years ago • 4 comments

Trying to use with Ganache default RPC server 127.0.0.1:7545 and the app crashes. Also if you can make clear if this can be used with my own geth node also. Sorry newbie here

devfxplayer avatar Nov 21 '19 21:11 devfxplayer

Hi @devfxplayer yes it can be used with your own geth node, parity etc. You should not have any issues with Ganache.. any errors you can provide?

juanfranblanco avatar Nov 22 '19 03:11 juanfranblanco

As there is not a global error handler, an uncaught error might have been thrown hence the crash.

juanfranblanco avatar Nov 22 '19 03:11 juanfranblanco

at Nethereum.JsonRpc.Client.RpcClient.<SendAsync>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Nethereum.JsonRpc.Client.ClientBase.<SendInnerRequestAsync>d__111.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Nethereum.JsonRpc.Client.ClientBase.<SendInnerRequestAsync>d__121.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Nethereum.JsonRpc.Client.ClientBase.<SendRequestAsync>d__81.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() at WebApplication3.Controllers.ValuesController.<Get>d__0.MoveNext() in C:\Users\CPS-01\source\repos\WebApplication3\WebApplication3\Controllers\ValuesController.cs:line 20 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Threading.Tasks.TaskHelpersExtensions.<CastToObject>d__1`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeActionAsyncCore>d__1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Web.Http.Dispatcher.HttpControllerDispatcher.<SendAsync>d__15.MoveNext() error.txt

devfxplayer avatar Nov 22 '19 10:11 devfxplayer

@devfxplayer it looks like you are connecting to a custom api hence the issue. Those do not look like a Ganache response "WebApplication3.Controllers.ValuesController.d__0.MoveNext() "

juanfranblanco avatar Nov 22 '19 11:11 juanfranblanco