Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Unable to connect to Ganache TestRPC #40

Open
zulhfreelancer opened this issue Feb 21, 2018 · 9 comments
Open

Unable to connect to Ganache TestRPC #40

zulhfreelancer opened this issue Feb 21, 2018 · 9 comments

Comments

@zulhfreelancer
Copy link

Hi,

I'm trying to use this explorer with Ganache TestRPC but I got the error below:

Error: Transaction at index 0x00 does not exist in block.
    at Object.InvalidResponse (web3.min.js:1)
    at s.send (web3.min.js:2)
    at a.send (web3.min.js:2)
    at updateTXList (mainController.js:202)
    at Object.<anonymous> (mainController.js:9)
    at Object.e [as invoke] (angular.js:4473)
    at Q.instance (angular.js:9093)
    at L (angular.js:8205)
    at g (angular.js:7637)
    at g (angular.js:7641)

screen shot 2018-02-21 at 6 29 09 am

When I switched and changed the GETH_HOSTNAME and GETH_RPCPORT to real Geth node (my private blockchain node in the cloud), the explorer is working fine.

Any idea what I missed here? Please advice.

Thank you.

@jacktang
Copy link

Well, I want to use eth explorer on Ganache also.

@Alaradia
Copy link

That is a issue with Ganache not with the explorer

@jacktang
Copy link

jacktang commented Feb 26, 2018

�Now I can open the explorer on testrpc.

@zulhfreelancer
Copy link
Author

@jacktang please share the workarounds.

@jacktang
Copy link

I just modified the geth_command (https://github.com/carsenk/explorer/blob/master/app/app.js#L14) to start testrpc

@zulhfreelancer
Copy link
Author

@jacktang are you using Ganache GUI or Ganache CLI?

@jacktang
Copy link

jacktang commented Mar 1, 2018 via email

@masato25
Copy link

I solved this problem, just add a try & catch block, then it works fine for me.

masato25@169f405

@mandarvaze
Copy link

@masato25 Have you sent a PR with your changes ? Might be useful for others as well.

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

No branches or pull requests

5 participants