0x-api
0x-api copied to clipboard
docker run 0xorg/mesh:latest error
docker run
--restart unless-stopped
-p 60557:60557
-p 60558:60558
-p 60559:60559
-e ETHEREUM_CHAIN_ID="42"
-e VERBOSITY=5
-e ETHEREUM_RPC_URL="https://api.infura.io/v1/jsonrpc/kovan"
-v /data/0x_mesh:/usr/mesh/0x_mesh
0xorg/mesh:latest
error: {"level":"info","msg":"No private key found. Generating a new one.","time":"2020-06-03T10:10:41Z"} {"config_core_Config":{"Verbosity":5,"DataDir":"0x_mesh","P2PTCPPort":60558,"P2PWebSocketsPort":60559,"EthereumChainID":42,"UseBootstrapList":true,"BootstrapList":"","BlockPollingInterval":5000000000,"EthereumRPCMaxContentLength":524288,"EnableEthereumRPCRateLimiting":true,"EthereumRPCMaxRequestsPer24HrUTC":200000,"EthereumRPCMaxRequestsPerSecond":30,"CustomContractAddresses":"","MaxOrdersInStorage":100000,"CustomOrderFilter":"{}","EthereumRPCClient":null},"level":"info","msg":"finished initializing core.App","myPeerID":"16Uiu2HAmReSegTMDZKWWCwAyNkGeZswc2FU1mFze9GbnbtDr51eV","time":"2020-06-03T10:10:41Z","version_string":"9.4.0"} {"http_rpc_addr_string":"localhost:60556","level":"info","msg":"starting HTTP RPC server","myPeerID":"16Uiu2HAmReSegTMDZKWWCwAyNkGeZswc2FU1mFze9GbnbtDr51eV","time":"2020-06-03T10:10:41Z"} {"level":"info","msg":"starting WS RPC server","myPeerID":"16Uiu2HAmReSegTMDZKWWCwAyNkGeZswc2FU1mFze9GbnbtDr51eV","time":"2020-06-03T10:10:41Z","ws_rpc_addr_string":"localhost:60557"} {"level":"info","msg":"starting block watcher","myPeerID":"16Uiu2HAmReSegTMDZKWWCwAyNkGeZswc2FU1mFze9GbnbtDr51eV","time":"2020-06-03T10:10:41Z"} {"level":"info","msg":"starting order watcher","myPeerID":"16Uiu2HAmReSegTMDZKWWCwAyNkGeZswc2FU1mFze9GbnbtDr51eV","time":"2020-06-03T10:10:41Z"} {"address_string":"127.0.0.1:60556","level":"info","msg":"started HTTP RPC server","myPeerID":"16Uiu2HAmReSegTMDZKWWCwAyNkGeZswc2FU1mFze9GbnbtDr51eV","time":"2020-06-03T10:10:41Z"} {"address_string":"127.0.0.1:60557","level":"info","msg":"started WS RPC server","myPeerID":"16Uiu2HAmReSegTMDZKWWCwAyNkGeZswc2FU1mFze9GbnbtDr51eV","time":"2020-06-03T10:10:41Z"} {"error_string":"The method eth_getBlockByNumber does not exist/is not available","level":"error","msg":"blockwatch.Watcher error encountered","myPeerID":"16Uiu2HAmReSegTMDZKWWCwAyNkGeZswc2FU1mFze9GbnbtDr51eV","time":"2020-06-03T10:10:41Z"} {"level":"debug","msg":"closing chainID checker","myPeerID":"16Uiu2HAmReSegTMDZKWWCwAyNkGeZswc2FU1mFze9GbnbtDr51eV","time":"2020-06-03T10:10:41Z"} {"error_string":"The method eth_getBlockByNumber does not exist/is not available","level":"error","msg":"blockwatch.Watcher error encountered","myPeerID":"16Uiu2HAmReSegTMDZKWWCwAyNkGeZswc2FU1mFze9GbnbtDr51eV","time":"2020-06-03T10:10:46Z"}
Hello,
I have faced the same error. Error in docker-compose file. For handling the issue I changed the line
https://github.com/0xProject/0x-api/blob/master/docker-compose.yml#L39
to ./0x_mesh_test:/home/<user>/mesh/0x_mesh
also I had an issue with postgresql, and also I changed the line https://github.com/0xProject/0x-api/blob/master/docker-compose.yml#L20 to
./postgres:/home/<user-name>/postgresql/data
hope it will help you.