trufflesuite / ganache-ui

Personal blockchain for Ethereum development
https://www.trufflesuite.com/ganache
MIT License
4.66k stars 803 forks source link

System Error when running Ganache 2.5.4 on darwin #5318

Open tgeilen opened 1 year ago

tgeilen commented 1 year ago

Hello everyone,

I was using Ganache to host a local Ethereum blockchain to run some code on it. The smart contract was making (a lot of) elliptic curve calculations when python threw the following error message:

requests.exceptions.ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=7545): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1056175b0>: Failed to establish a new connection: [Errno 61] Connection refused'))

After trying to restart Ganache, the following error occurred. Relaunching using the relaunch resulted in the same error. After fully closing the program and restarting it, its works fine again

PLATFORM: darwin GANACHE VERSION: 2.5.4

EXCEPTION:

Error [ERR_IPC_CHANNEL_CLOSED]: Channel closed
    at ChildProcess.send (internal/child_process.js:678:16)
    at /webpack:/src/integrations/ethereum/common/services/EthereumChainService.js:81:21
    at new Promise (<anonymous>)
    at EthereumChainService_EthereumChainService.startServer (/webpack:/src/integrations/ethereum/common/services/EthereumChainService.js:70:14)
    at ethereum_Ethereum.startServer (/webpack:/src/integrations/ethereum/index.js:155:23)
    at integrations_IntegrationManager.startServer (/webpack:/src/integrations/index.js:98:27)
    at IpcMainImpl.<anonymous> (/webpack:/src/main/index.js:486:28)
jeffsmale90 commented 1 year ago

Hi @tgeilen - thanks for opening this issue!

We've recently released Ganache 2.7.0 which brings a lot of bug fixes (as well as an upgrade to the underlying Ganache ethereum simulator).

Can you please try downloading that version, and see if it resolves your issue?

https://github.com/trufflesuite/ganache-ui/releases/tag/v2.7.0

Thanks!