Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Trying to use with Ganache but it fails #5

Open
devfxplayer opened this issue Nov 21, 2019 · 4 comments
Open

Trying to use with Ganache but it fails #5

devfxplayer opened this issue Nov 21, 2019 · 4 comments

Comments

@devfxplayer
Copy link

devfxplayer commented Nov 21, 2019

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
Copy link
Member

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
Copy link
Member

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

@devfxplayer
Copy link
Author

devfxplayer commented Nov 22, 2019

at Nethereum.JsonRpc.Client.RpcClient.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.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.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.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.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.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.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.d__15.MoveNext()
error.txt

@juanfranblanco
Copy link
Member

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants