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
1answer
22 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
16 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?
0
votes
0answers
15 views

How to communicate with private geth chain using IPC?

There are many examples on how to send a transaction(in JSON) via http or ws to a geth node, how do you send a json transaction via IPC? I have not been able to find a single example that shows how to ...
1
vote
1answer
102 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
187 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
53 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
165 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
26 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
207 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 ...
2
votes
3answers
268 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 ...
2
votes
0answers
965 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
252 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
108 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
69 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
409 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
1k 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
3k 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
433 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 ...
1
vote
1answer
533 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
647 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
356 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
3k 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
88 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
234 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
343 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
1k 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
380 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
277 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 ...
30
votes
1answer
22k 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
683 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
553 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
709 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
322 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
448 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
939 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
769 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 ...
16
votes
4answers
18k 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
899 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: ...
5
votes
1answer
2k views

How can I connect geth by IPC on rails?

I'd like to connect geth by IPC on rails. I start geth as follows. $build/bin/geth --datadir "/home/vagrant/.ethereum" --networkid "1" --ipcapi "admin,db,eth,debug,miner,net,shh,txpool,personal,web3" ...
13
votes
2answers
18k views

When is the geth.ipc file produced?

I'd like to access geth.ipc file in order to connect geth via IPC. I've got an advice and it suggested me to access geth.ipc, but I've not found it on my mac. Could you tell me when that file is ...
4
votes
2answers
383 views

How can I make an account in Ruby without using JSON-RPC?

I'd like to build an application with rails. I want to make an account through Ruby. I got the advice that, in order to make an account, I should not use JSON-RPC for security. Instead I should use ...
10
votes
1answer
2k views

How can non-javascript applications communicate with Ethereum nodes?

Web3 implements the Ethereum JSON-RPC spec and seems to be the preferred method for communicating between a javascript applications and the Ethereum node. However there are situations where you might ...
10
votes
4answers
3k views

How can I configure Mist to use a non-default IPC path?

When using Mist, it always uses the default IPC path to my OS (In this case of OSX this is /Users/me/Library/Ethereum/geth.ipc). Is there a way to configure or specify a non-default IPC path for Mist? ...