Questions tagged [ipc]

Questions related to IPC, Inter-process Communications generally for local communication with an Ethereum client.

Filter by
Sorted by
Tagged with
0 votes
0 answers
18 views

Geth in Docker and IPC

I want to access the IPC socket from my host. I used the docker run -v to expose the directory of the ipc file, but it refuses my connections. I've been looking at the topic for a couple of days now ...
user avatar
0 votes
0 answers
173 views

Cannot connect geth via JSON RPC or WebSocket, only via IPC

I run the geth-cli with $ geth console --mainnet --syncmode "snap" --cache=8192 --datadir "~/.ethereum" --datadir.minfreedisk 30000 --http.corsdomain "*" --ws --http.api ...
user avatar
  • 189
0 votes
0 answers
48 views

Unable to sync rinkeby and unable to query eth.syncing due to lack of IPC endpoint

I'm trying to sync rinkeby with the go-ethereum client (geth 1.10.14-stable). I've been starting the process a couple of times and then interrupted it again, and started again and so on. Now, the ...
user avatar
  • 189
0 votes
1 answer
127 views

Can I instantiate Web3 connecting via IpcProvider to a still syncing node?

I'm trying to build up a node but I'm having trouble syncing with the blockchain (really slow), and while it is syncing I'm testing the connection for my script that would be connected via IPC to the ...
user avatar
1 vote
0 answers
1k views

IPC Connection not work on Node.js (web3)

I have a geth node launch on linux, I want to access it through the IPC connection in a Node.js application. I am getting this error : /home/**/node_modules/web3-core-helpers/lib/errors.js:66 ...
user avatar
  • 11
0 votes
1 answer
37 views

fatal error when try to serve geth in ipc

I have initialized my own genesis block and started geth --datadir pom Then I want to use "personal" so I started geth --nodiscover --ipcpath pom/geth.ipc --networkid 31337 --rpc --rpcaddr ...
user avatar
  • 397
2 votes
1 answer
260 views

Remix IDE Desktop + Geth node as test network

I'm trying to connect the Remix Desktop client to my local Geth node. as usual i added: geth --rpc --rpccorsdomain https://remix.ethereum.org while starting up the node. This obviously only works ...
user avatar
1 vote
1 answer
252 views

Parity IPC direct connect

Before Parity I used Geth, and made requests like: echo '{"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest", false],"id":1}' | nc -NU geth.ipc and It worked! In Parity v2.7.2 and ...
user avatar
  • 63
0 votes
0 answers
257 views

Not able to connect Tessera with Quorum node

I am following up with the Quorum set up as mentioned @ https://docs.goquorum.com/en/latest/Getting%20Started/Creating-A-Network-From-Scratch/#tessera I have created 3 Quorum nodes with RAFT ...
user avatar
2 votes
1 answer
1k views

How do i connect geth to web3.py using IPC on Windows?

I'll briefly explain my setup before describing the problem in detail. I am on Windows 10 and using the geth client in Light Sync Mode, along with web3.py on Jupyter Notebook and Metamask as a wallet....
user avatar
0 votes
1 answer
653 views

Web3.py cannot connect to geth --dev node via IPC

I've launched a geth client over IPC: geth --dev --allow-insecure-unlock --ipcpath ipc://$HOME/Library/Ethereum/geth.ipc And trying to connect using a Web3 IPC provider: my_provider = Web3....
user avatar
  • 875
1 vote
1 answer
364 views

tm.ipc: no such file or directory (socket file to use for the private API / IPC)

I am following this tutorial to setup a Quorum cluster: https://medium.com/@shizekun/how-to-set-up-a-quorum-private-chain-with-raft-consensus-and-dynamic-membership-bf826f3927e5 But unfortunately I ...
user avatar
2 votes
1 answer
557 views

How to configure truffle network with IPC provider?

How can I define in truffle the ipc connection to the node? Currently I am using in truffle.js host/port fields, which are used to create a HttpProvider. module.exports = { networks: { dev: { ...
user avatar
  • 7,184
0 votes
1 answer
113 views

Parity json.ipc file permissions

How can I give permission for another non-priv user on the same server to get Read/Write access /home/parity/.local/share/io.parity.ethereum/json.ipc and have that access available on reboot? The ....
user avatar
  • 1,994
0 votes
1 answer
916 views

Use of RPC, IPC and ws in go-ethereum?

RPC provides http-rpc server.But what is the use of IPC and ws?
user avatar
  • 112
1 vote
0 answers
37 views

Re-setting file permissions on IPC file on Parity re-start?

Can anyone think of a clever way to re-set the IPC file permissions on a Parity re-start? I'm using systemd to control Parity.
user avatar
  • 1,994
1 vote
1 answer
412 views

How to integrate rinkeby test network with centralised server?

I am new to ethereum blockchain. I want to create ICO platform based website. I have created smart contract and deployed on rinkeby test network. I used python web3.py library to integrate python with ...
user avatar
4 votes
3 answers
839 views

How to make a Docker container talk to geth.ipc on local host

from web3 import Web3 web3 = Web3(Web3.IPCProvider("/Ethereum/geth.ipc")) print(f'IPC connected: {web3.isConnected()}') # want to return True I have the above script Dockerized and I'm trying to ...
user avatar
  • 41
4 votes
0 answers
2k views

Mining hangs on Generating DAG in progress

I am trying to initialize rpc using the below command and start miner using miner.start(1); geth --rpcapi eth,web3,personal --rpc --networkid=15 Mining starts successfully with below logs but it ...
user avatar
  • 395
0 votes
0 answers
517 views

How connect to my geth from Remix? IPC is always \\\.\\pipe\\geth.ipc

I am trying to develop smart contract & dapp with Window 10. I made my own accounts in local testnet in geth. And I'd like to make smart contracts and deploy them on the Remix. so I need to ...
user avatar
0 votes
1 answer
196 views

Cannot connect to private testnet with web3.js

I have setup a local private test net and now I want to connect from Node.js to a node in the testned using IPC. I started a node with this command: ./geth --identity "5" --datadir /home/davide/...
user avatar
  • 375
0 votes
0 answers
161 views

--ipcpath is incorrect

So I'm trying to setup my private node environment, I've got a startnode.sh script which looks like this: geth --networkid 4224 --mine --minerthreads 2 --datadir "." --nodiscover --rpc --rpcport "...
user avatar
0 votes
1 answer
450 views

Use Ethereum TestRPC with Web3 IPC Provider

Can I use TestRPC only with http or can I set it up with ipc as well? If yes - how?
user avatar
  • 563
0 votes
2 answers
2k views

Sending Transactions via RPC or IPC?

Recently i'm trying to comunicate to a private Ethereum blockchain via RPC/IPC to create a Transaction but what i'm seeing is that i cannot do it via RPC because: - i Always need to unlock my account ...
user avatar
4 votes
3 answers
9k views

connecting geth to web3.js 1.0 via websockets or HTTP

I am building a minimal nodeJS application that should connect via web3.js to my geth node. I am following the official web3.js1.0 documentation and I am using web3 1.0.0-beta.29. I do manage to ...
user avatar
  • 8,114
2 votes
0 answers
612 views

How to check token transactions with geth

I'm new to smart contracts, my apologies if this is a wrong approach. I want to monitor incoming (confirmed, not caring about pending) token transactions to my wallet (using geth). I found out how to ...
user avatar
  • 21
2 votes
1 answer
1k views

Unable to attach to remote geth: dial unix ///home/ubuntu/.ethereum/testnet/geth.ipc: connect: permission denied

I have created a shell script on a ubuntu server X with geth Node installed,to insert data in a smart contract in testnet blockchain. Further I am executing the shell script from a PHP file ...
user avatar
  • 396
2 votes
1 answer
1k views

IPC Connect to Ethereum node running on docker

I am creating a Ruby client to connect to Ethereum node inside a docker container. So far, I was able to run ethereum-go inside docker container Then I bash into docker container & able to ...
user avatar
  • 123
0 votes
2 answers
474 views

geth returns error with ipcapi option

When I launch geth with ipcapi: geth --testnet --rpc --rpcapi "eth,web3,txpool" --ipcapi "admin,db,eth,miner,net,shh,txpool,web3" geth returns me an error: flag provided but not defined: -ipcapi ...
user avatar
  • 743
3 votes
3 answers
4k views

How do I connect IPC with Parity?

I'm running Parity in warp mode on Mac OSX: parity --warp --rpcapi "web3,eth,personal" Then I open a new terminal and run: node Web3 = require("Web3") web3 = new Web3(new Web3.providers....
user avatar
2 votes
1 answer
121 views

ethereum ipc in go

I am writing an application to get notified when a new block is mined using the awesome go language. I installed a filter for that I connected via IPC to geth, all good and nice but I don't seem to ...
user avatar
  • 21
1 vote
0 answers
262 views

ipcapi parameter usage

I initialize a node on my private test net passing only the eth interface in the ipcapi parameter expecting that I won't have access in the other interfaces such as admin etc.. However, when I attach ...
user avatar
  • 111
4 votes
1 answer
493 views

Create new account over IPC

I want to create a new account over IPC so I have started private chain with the below command geth --networkid=5 --datadir DataDir --ipcapi "db,eth,net,web3,personal" --ipcpath "/Users/smartSense/....
user avatar
4 votes
1 answer
2k views

How to teach mist about geth?

I have geth 1.5.8 and Mist 0.8.9. Geth is running Homestead with default parameters. IPC is in the default location. $ geth version Geth Version: 1.5.8-stable Protocol Versions: [63 62] Network Id: ...
user avatar
  • 31.4k
3 votes
1 answer
398 views

Akasha: synchronization was stopped

I downloaded AKASHA and started the binary, after the quick setup I always get the message: Synchronization was stopped Your machine is currently synchronizing with the Ethereum world computer ...
user avatar
  • 31.4k
4 votes
6 answers
2k views

Is there any software apart from Geth and Mist that offers the Javascript console? I want to use the console but I don't want to do all that syncing

Is there any software apart from Geth and Mist that offers the Javascript console? I want to use the console but I don't want to do all that syncing. Parity does not have a console as far as I know ...
user avatar
  • 1,302
1 vote
1 answer
296 views

Unable to launch ethconsole with eth (cpp-ethereum) (Ubuntu 14.04)

I successfully launched a node. Everything works fine, even GPU mining. Except I'm unable to connect with ethconsole, as I get an error message : $ethconsole Connecting to node at /home/user/....
user avatar
  • 43
1 vote
1 answer
2k views

Synchronous requests are not supported by the IPC provider

I was trying to connect to my node via IPC using web3_ipc. But i got hit by: You tried to send "eth_getBalance" synchronously. Synchronous requests are not supported by the IPC provider. My code is ...
user avatar
42 votes
1 answer
31k views

What are ipc and rpc?

The question is quite simple , I have only basic Idea of RPC but none of IPC. AFAIK, if I connect to ethereum node via ipc then the my geth should be running on same machine. and If I connect via ...
user avatar
4 votes
2 answers
1k views

Cannot attach to geth node running inside container

I am trying to run a node inside a docker container. I am able to run a geth node locally, and attach it via IPC with these simple commands: geth --fast --cache=512 Then geth attach, it works fine. ...
user avatar
  • 141
2 votes
0 answers
875 views

Connect to node via IPC

As per my knowledge, RPC connection to a node is quite unsafe. so the alternative is connecting to a node via IPC. But how to connect to node via IPC? I have used web3 for connecting to node via RPC ...
user avatar
4 votes
1 answer
832 views

Can Mist communicate (via IPC) with a geth instance running by other user?

I'm aware that Mist cannot connect to a geth node in another computer, but how about to a geth instance running in the same computer but under a different user? My goal would be to have Alice and Bob ...
user avatar
  • 1,739
2 votes
1 answer
389 views

Geth IPC endpoint unavailable after upgrading from 1.3.5 to 1.4.10

This question is somewhat related to this one. Following the suggestion in the comments from this one, I upgraded geth to v1.4.10 and launched it and launched it on a private net: geth --datadir "...
user avatar
  • 5,154
1 vote
2 answers
703 views

IPC python unix-socket unavailable on windows

I want to use the IPC interface between Python and geth. I use windows. But it seems that the unix-socket which IPC makes use of is not available in the windows version Python, how to solve this ...
user avatar
  • 2,336
5 votes
2 answers
1k views

geth ignoring --ipcpath in Linux with attach and datadir

I am trying to create a test network and have been able to start a network (I think). geth --datadir ./eth-data --ipcpath geth.ipc attach I get Fatal: Unable to attach to geth: dial unix /home/...
user avatar
  • 1,181
5 votes
3 answers
3k views

Subscription sample using websockets or IPC?

So I was using the web3 API from the NodeJS 'web3' module very happily and it works very well (it uses HTTP transport AFAIU). But now I want to receive events from the server (without polling), and ...
user avatar
  • 1,739
5 votes
1 answer
6k views

Why is the geth ipc file not being created, even though it says "endpoint opened"?

I had some test code working fine over IPC using out-of-the-box geth. I tried to set up a test network and it broke the IPC client. I want to run two processes -- a miner geth process, which stands ...
user avatar
  • 635
7 votes
1 answer
3k views

Why can't I connect by IPC?

I have successfully run geth --rpc to test some functionality, but I need the personal API which according to this answer should be done by IPC. When I run geth --ipcapi "db,eth,net,web3,personal" --...
user avatar
  • 635
5 votes
1 answer
4k views

How to connect Mist to a remote private network? [duplicate]

I have seen option to connect Mist to a privatenet here like this geth --networkid 1234 --ipcpath /Users/you/Library/Ethereum/geth.ipc Looks like the path is hardcoded somewhere in the code. How ...
user avatar
  • 9,343
14 votes
3 answers
5k views

Can Mist be attached to a Geth node on a different computer over HTTP RPC?

I gather that Mist will automatically look for Geth on a local machine via IPC to save it maintaining its own blockchain. Is it possible to tell it to look for an instance of Geth on another machine ...
user avatar
  • 143