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
0answers
8 views

All requests routed to submodule when changing its provider in web3js

Using web3.js 1.2.11, I expect the last part of the following code to route requests from the web3.eth.personal module to the IPC socket, and requests on web3.eth to TCP port 7545. let Web3 = require('...
0
votes
1answer
17 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 ...
1
vote
1answer
53 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 ...
1
vote
1answer
93 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 ...
0
votes
0answers
119 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 ...
1
vote
0answers
95 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....
0
votes
1answer
108 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....
0
votes
0answers
26 views

What is the limit of IPC in Geth?

What is the maximum size of the IPC file in ethereum? Are there any way to increase its size?
1
vote
1answer
218 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 ...
2
votes
1answer
285 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: { ...
0
votes
1answer
75 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 ....
0
votes
1answer
299 views

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

RPC provides http-rpc server.But what is the use of IPC and ws?
1
vote
0answers
32 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.
1
vote
1answer
241 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 ...
3
votes
3answers
444 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 ...
3
votes
0answers
1k 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 ...
0
votes
0answers
316 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 ...
0
votes
1answer
131 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/...
0
votes
0answers
91 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 "...
0
votes
1answer
425 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?
0
votes
2answers
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 ...
3
votes
2answers
4k 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 ...
2
votes
0answers
467 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 ...
2
votes
1answer
662 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 ...
2
votes
1answer
762 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 ...
0
votes
2answers
400 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 ...
3
votes
3answers
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....
2
votes
1answer
97 views

etherum 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 ...
1
vote
0answers
252 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 ...
4
votes
1answer
378 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/....
4
votes
1answer
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: ...
3
votes
1answer
388 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 ...
4
votes
6answers
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 ...
1
vote
1answer
284 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/....
1
vote
1answer
1k 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 ...
33
votes
1answer
24k 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 ...
4
votes
2answers
786 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. ...
2
votes
0answers
626 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 ...
4
votes
1answer
733 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 ...
2
votes
1answer
333 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 "...
1
vote
2answers
545 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 ...
5
votes
2answers
992 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/...
5
votes
3answers
2k 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 ...
4
votes
1answer
5k 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 ...
7
votes
1answer
2k 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" --...
5
votes
1answer
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 ...
14
votes
3answers
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 ...
4
votes
2answers
857 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 ...
19
votes
4answers
19k views

Possible to store the blockchain in a different directory?

I'm running geth on Linux within a Chromebook. The blockchain is being stored within ~/.ethereum, along with other important files. Problem is, the storage capacity on my Chromebook is quite limited ...
4
votes
3answers
933 views

Mist does not start anymore? Error: connect ECONNREFUSED

Most recently, I get the following error after executing mist: CONNECT to IPC PATH: /home/santi/.ethereum/geth.ipc CONNECT to IPC PATH: /home/santi/.ethereum/geth.ipc NODECONNECTOR ERROR { [Error: ...