Giter Site home page Giter Site logo

docs's Issues

AWS instance created successfully, but getting error testing it

I created a fresh new AWS instance using:
https://github.com/gochain-io/docs/blob/master/private-networks/aws/gochain-cf-stack.yaml

and when I try to test it using:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}' http://18.220.163.196:8545

I am getting:
curl: (7) Failed to connect to 18.220.163.196 port 8545: Connection refused

Seems like a AWS permission/security issue but not sure how to fix this. Any idea why would this happen?

In addition, if I ssh to the instance and I check the genesis file, it seems to be corrupted.
image

NOTE: the content of the genesis file is the following text: 404: Not Found

My AWS security group looks like:
image

Unable to sync chain in full mode and archive pruning. As result part of information

Unable to sync chain in full mode and archive pruning.
Ubuntu 16.04
Chain/v2.2.20/linux-amd64/go1.10.4
Command for start:

./gochain --rpc --ws --wsorigins "*" --rpcapi eth,net,web3,debug --wsapi eth,net,web3,debug --syncmode "full" --datadir /mnt/sdb/mainnet/node --gcmode "archive"

eth.getBlock(1000) { difficulty: 5, extraData: "0x322e312e322f6c696e75782d616d6436342f676f312e31302e32000000000000", gasLimit: 210284448, gasUsed: 0, hash: "0x466ecb3ea37384ab82465c320add5bf40766e5751e4dfe4968331b0e46d205c5", logsBloom: "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", miner: "0x3729d2e93e8037f87a2c9afe34cb84b7069e4dea", mixHash: "0x0000000000000000000000000000000000000000000000000000000000000000", nonce: "0x0000000000000000", number: 1000, parentHash: "0x3760455ec09a8c0ac6aa885cc843a43fd635304cec2583edf8007a9934f35615", receiptsRoot: "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", sha3Uncles: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", signer: "0x78d5bfe08827b6b6ef7a623982011e307aa6aabaf1245b8aa508b0327dfadb690dfc0cee0fb357083f2e5821228fb9a8ce6aa15fd3f003345b02bb0dbfb8859b00", signers: [], size: 612, stateRoot: "0x0c3a92c84fd29ce5892f25dca3532619f3c16e576011e7ecba22564e39e78b32", timestamp: 1526438938, totalDifficulty: 4952, transactions: [], transactionsRoot: "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", uncles: [], voters: [] }
I need to get debug information or trace info from block, I run
./gochain attach ws://localhost:8546 Welcome to the GoChain JavaScript console! instance: GoChain/v2.2.20/linux-amd64/go1.10.4 modules: debug:1.0 eth:1.0 net:1.0 rpc:1.0 web3:1.0
eth.getTransactionFromBlock(0x3E8) null
In result i cant spin up blockscout.
Any ideas why or what miss configured.

Testnet status down?

Discussed in #130

Originally posted by aug2uag February 2, 2022
is testnet down? I've been trying to run a script, erroring and found that the last transaction on testnet seemed to be a couple days ago

faucet transfer doesn't result in balance change, although testnet balance is still available ... would you please verify status

Screen Shot 2022-02-02 at 3 28 20 PM

I need to sync chain in full mode

Hi, i need to integrate gochain node plus blockscout block explorer. For this need to sync db in full mode, i use your solution with docker-compose
Could you confirm that such command sync chain in full mode?
command: gochain --datadir gochain/node --cache ${GOCHAIN_CACHE:-512} --rpc --ws --ipcdisable --rpcaddr 0.0.0.0 --wsaddr 0.0.0.0 --wsorigins * --syncmode full

Failed to prepare header for mining err="not authorized to sign: 0x34344833c2D4c793979D1fbe436589E22Cc3Ef3c"

I'm trying to create two docker containers that will hold GoChain nodes for each one of them.

Everything goes well until I build the solution up with docker-compose up -d, both containers are running the nodes but one of them (the second) shows an error when docker logs -f node2 is executed :

err="not authorized to sign: 0x00000000000000000000000f07A0b446F09afad7"

Also, when I try to add another peer to the first node by executing admin.addPeers("enode://enode2adress@node2IP"), the only response I get is true but no peers were added when I check with admin.peers, it returns an empty array.

Where could the source of the problem be ?

Thanks in advance !

Reorg the docs

Probably some cleanup we can do here:

  • put aws, azure, private-chains, nodes/custom, nodes/local into the same top level folder
  • /tokens under /corp
  • not sure what rtp is?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.