Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.
This repository was archived by the owner on Mar 11, 2024. It is now read-only.

Invalid JSON RPC response: "" #33

Open
@cgewecke

Description

@cgewecke

NB: this issue was opened initially at Truffle by @Pascal1990 - relocating it here because it looks like it's specific to the react-auth-box (although it may not be).


Issue

What the issue is, in broad strokes.

Steps to Reproduce

  • install the truffle react-auth-truffle Unbox
  • configuratre the truffle.js
module.exports = {
  migrations_directory: "./migrations",
  networks: {
    development: {
      host: "localhost",
      port: 8545,
      network_id: "*" // Match any network id
    }
  }
};

I using "ganache-cli" on the same port, but I try to downloag "geth.exe --rpc" and run on the same port 8545 but still not workin

// Get current ethereum wallet.
I thinks the problem was here in this function

web3.eth.getCoinbase((error, coinbase) => {
        // Log errors, if any.
        if (error) {
          console.error(error);
        }

Please provide the shortest amount of steps to reproduce your issue.

Expected Behavior

the login and signup should work

What you expected to happen.

Actual Results : inside the console

Error: Invalid JSON RPC response: ""
Stack trace:
InvalidResponse@http://localhost:3000/static/js/bundle.js:54327:17
HttpProvider.prototype.sendAsync/request.onreadystatechange@http://localhost:3000/static/js/bundle.js:59498:26
SignUpFormActions.js:27
Error: Invalid JSON RPC response: ""
errors.js:35

What actually happened. Please give examples and support it with screenshots, copied output or error messages.

Environment

  • Operating System: windows
  • Truffle version: last version
  • Ethereum client:
  • node version:
  • npm version:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions