Skip to main content

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
26 views

IPC Endpoint closes immediately after it opens GETH

I am attempting to establish communication between a bootstrap and member node on the same device using GETH on Windows. Initialising both nodes with my genesis.json file works fine. geth --datadir ...
Matt's user avatar
  • 1
0 votes
1 answer
496 views

Connection types, http/ws/ipc

I was wondering and couldn't find any docs regarding that, which connection is the fastest/has the least latency when querying the blockchain? From logical point of view I think IPC, but I'm not sure. ...
Kacper's user avatar
  • 1
0 votes
1 answer
527 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 ...
MrSaulman's user avatar
1 vote
0 answers
2k 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 ...
Max's user avatar
  • 11
0 votes
1 answer
92 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 ...
e.k's user avatar
  • 417
2 votes
1 answer
322 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 ...
Henk van der Sloot's user avatar
1 vote
1 answer
280 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 ...
ZeiZ's user avatar
  • 63
0 votes
0 answers
363 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 ...
Srikant Sahu's user avatar
2 votes
1 answer
2k 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....
Muhammad Yasir's user avatar
0 votes
1 answer
899 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....
Peteris's user avatar
  • 1,015
1 vote
1 answer
484 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 ...
sunwarr10r's user avatar
2 votes
1 answer
647 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: { ...
ivicaa's user avatar
  • 7,539
0 votes
1 answer
129 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 ....
stone.212's user avatar
  • 2,004
0 votes
1 answer
1k views

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

RPC provides http-rpc server.But what is the use of IPC and ws?
Pt.AR's user avatar
  • 112
1 vote
0 answers
46 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.
stone.212's user avatar
  • 2,004
1 vote
1 answer
437 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 ...
Anupam Jain's user avatar
5 votes
3 answers
1k 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 ...
Eric's user avatar
  • 51
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 ...
Alien's user avatar
  • 415
0 votes
0 answers
575 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 ...
madooyu's user avatar
0 votes
1 answer
239 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/...
David's user avatar
  • 405
0 votes
0 answers
233 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 "...
Lovro Bilješković's user avatar
0 votes
1 answer
466 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?
jeff's user avatar
  • 603
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
5 votes
3 answers
10k 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 ...
SCBuergel's user avatar
  • 8,784
2 votes
0 answers
747 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 ...
jmd42's user avatar
  • 21
2 votes
1 answer
2k 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 ...
Webdev's user avatar
  • 406
2 votes
1 answer
2k 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 ...
DilumN's user avatar
  • 123
0 votes
2 answers
507 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 ...
jfjobidon's user avatar
  • 773
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....
Hovig Charchaflian's user avatar
2 votes
1 answer
139 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 ...
octav's user avatar
  • 21
1 vote
0 answers
266 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 ...
silintzir's user avatar
  • 111
4 votes
1 answer
574 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/....
comeback4you's 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: ...
q9f's user avatar
  • 33k
3 votes
1 answer
419 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 ...
q9f's user avatar
  • 33k
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 ...
Vesa's user avatar
  • 1,322
1 vote
1 answer
299 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/....
FabioB's user avatar
  • 53
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 ...
Prashant Prabhakar Singh's user avatar
44 votes
1 answer
34k 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 ...
Prashant Prabhakar Singh's 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. ...
pacongfar's user avatar
  • 141
2 votes
0 answers
1k 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 ...
Prashant Prabhakar Singh's user avatar
4 votes
1 answer
894 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 ...
knocte's user avatar
  • 1,949
2 votes
1 answer
415 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 "...
Sebi's user avatar
  • 5,284
1 vote
2 answers
876 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 ...
Wang's user avatar
  • 2,426
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/...
Victory's user avatar
  • 1,241
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 ...
knocte's user avatar
  • 1,949
5 votes
1 answer
7k 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 ...
spraff's user avatar
  • 645
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" --...
spraff's user avatar
  • 645
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 ...
niksmac's user avatar
  • 9,673
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 ...
tallguin's user avatar
  • 143
4 votes
2 answers
1k views

Possible to run Geth offline?

I'm trying to start Geth from an offline machine. An answer in a related question seems to indicate this is possible. However, running the command $ geth hangs at Starting Server. Trying to attach an ...
StuffAndThings's user avatar