Nethereum / Nethereum.SimpleWindowsWallet

Simple Windows Wallet Sample using Reactive UI
MIT License
40 stars 26 forks source link

Trying to use with Ganache but it fails #5

Open devfxplayer opened 4 years ago

devfxplayer commented 4 years ago

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

juanfranblanco commented 4 years ago

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 commented 4 years ago

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

devfxplayer commented 4 years ago

at Nethereum.JsonRpc.Client.RpcClient.d12.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.d111.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.d81.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.d0.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.d1`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.d1.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.d5.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.d15.MoveNext() error.txt

juanfranblanco commented 4 years ago

@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() "