Questions tagged [connections]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
15
votes
5answers
2k views

How to prevent being blacklisted for running an ethereum client?

I'm running a dedicated server at one of the biggest hosters in Germany. This server serves the network with an Ethereum supernode, running parity 1.1.0 in archive pruning mode and allows up to 1024 ...
11
votes
1answer
2k views

Why does Ethereum require use of UDP (and not TCP) for discovery?

I am aware of the advantages of UDP, but why not allow a choice? Since since Tor requires the use of TCP, why have Ethereum developers elected not to support TCP for discovery?
7
votes
1answer
3k views

How can I create connected multiple blockchains?

I want to create multiple private blockchains over Ethereum testnet, which need to be somehow connected. Is it possible to have a node on private blockchain that is connected to the another node on ...
6
votes
1answer
838 views

peers keep connects and disconnects into private Ethereum blockchain

I have two servers that are connected into local private ethereum blockchain successfully and they do mining as well. After few minutes one of them disconnects and after that it re-connects again and ...
4
votes
2answers
479 views

How to connect two truffle instances?

How can we connect two truffle applications with each other? E.g., if we have two metacoin applications, how can these two communicate with each other?
4
votes
2answers
219 views

Difficulties to start Ethereum json RPC

I installed Ethereum on VPS and I have two accounts. After I installed Ethereum on my mac where I have one account. For now I'm on testnet network. I want to connect to VSP accounts from mac ...
4
votes
3answers
2k views

Is there a way to make geth only allow connections from specified nodes?

I'm setting up a private network with 10 geth nodes for my organization's own use, however I don't want outside nodes to accidentally (or intentionally) connect to our geth nodes. The nodes are hosted ...
4
votes
1answer
401 views

Connecting to an ethereum node from meteor server side

I get the error TypeError: XMLHttpRequest is not a function when I try to connect to a node on the server side of my meteor application. The error is caused by meteor using the meteor HTTP package ...
4
votes
0answers
515 views

Unstable connection between peers on a private network

I created a private net, I've been trying to connect two Ethereum nodes because I need one of them to mine the transaction made by the other. The two nodes are on different machines and networks. I ...
3
votes
1answer
309 views

What is the username / node ID in an enode URL?

Looking at https://github.com/ethereum/wiki/wiki/enode-url-format and https://github.com/ethereum/go-ethereum/wiki/Connecting-to-the-network I can see that the enode URL includes some information ...
3
votes
1answer
179 views

What's the point of having static nodes when IP addresses keep changing?

In the <datadir>/static-nodes.json file, we can mention the enode URI of a node that we want to re-connect to, in case of a connection failure. Assume A is a static node which has been rebooted. ...
3
votes
2answers
233 views

Can I reboot my router while geth fast syncing?

dumb question from noob here. I have started to sync with command geth --fast --cache=1024 for more than 3 days now, and I am still not finished syncing yet (still around 1 million again). Somehow I ...
3
votes
1answer
285 views

How to set multiple nodes in HttpProvider web3 v1.2.0

I'm working with Nodejs application, and using a multi-node setup on different servers. If I have single node end point like http://localhost:8545 I can use Web3 providers as below var web3 = new Web3(...
3
votes
0answers
115 views

What would cause nodes on a private blockchain to gradually lose connectivity?

I have a private blockchain with 6 nodes, and a total of three miners. When I initialize the blockchain everything looks great and the nodes find each other starting with the bootnodes. After about ...
3
votes
0answers
201 views

How do you connect to a node from the server side of a meteor app

This is the command I am using to run the node (a private testnet) geth --networkid 420 --nodiscover --rpc --rpcaddr "0.0.0.0" --rpcport 8545 --rpcapi="db,eth,net,web3,personal,web3" --rpccorsdomain "...
2
votes
1answer
450 views

Parity PoA chain not receiving transactions

I'm trying to set up a single node proof-of-authority chain. I am using Parity v1.7.7 and have the following config file: { "name": "LocalPoA_7545", "engine": { "instantSeal": { "params"...
2
votes
1answer
1k views

How to run JSON rpc with parity server?

I use a VPS where I want to run parity to synchronize the blockchain. I use this command : parity --chain frontier.json --rpcapi="eth,net,web3,personal,web3" --rpc --rpcaddr ipAddressPub --rpcport ...
2
votes
0answers
376 views

“RPC error, your account is locked” when I try to deploy the last version of parity-bridge

I have already success to deploy the last version of parity-bridge (last month), but today i have pull the last version of parity-bridge. I have that on my terminal : env RUST_LOG=info parity-bridge-...
2
votes
0answers
729 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 ...
2
votes
0answers
259 views

Connection between two blockchains

I am looking for an approach to creating a connection between two blockchain-networks. I found out that I can use oracles to get data from extern systems (= second blockchain-network). But how can I ...
2
votes
0answers
106 views

Mix wont connect to nodes: Error status 0

I managed to configure Morden test network to run, but Mix is unable to discover testnet node, it is giving this error: A "Unable to initiate request to the live network. Please verify your ethereum ...
1
vote
1answer
4k views

MetaMask cannot connect to “localhost 8545”

When I choose localhost 8545 in MetaMask, apparently it is not able to connect. Please see screen shot: I tried with several internet connection, however the same result. Whereas, I can easily ...
1
vote
2answers
899 views

Nodes from two different networks not operable on a private blockchain

This is how my setting looks: H2 and H4 are on separate networks. They have private IPs and not routable from outside the network. How do I make these two systems as peers so that they operate on the ...
1
vote
1answer
69 views

Why aren't the peer-to-peer connections transitive?

In a private blockchain network, if there are three nodes - A, B, and C A is connected to B B is connected to C But, why is A not connected to C? Wouldn't that make the connections and ultimately ...
1
vote
2answers
728 views

Add peers into a private blockchain network?

I have created a private blockchain network on windows OS by using two cmd console. I am following this link in order to setup a private network. Steps: geth --datadir="d:/tmp/eth" -verbosity 6 --...
1
vote
1answer
121 views

How to force geth to use ipv4 instead of ipv6

I'm trying to configure geth on Redhat7 and facing an issue while connecting nodes from the two servers. There are three validator nodes on each machines and ports(30303, 30304, 30305) are allowed. ...
1
vote
1answer
195 views

Private Blockchain - Nodes Lose Connectivity

I have a private blockchain (using Parity) where initially, all the nodes talk to each other, but over time (usually 9-18 hours) they lose connectivity until they all drop off and have zero peers. ...
1
vote
2answers
954 views

Do nodes need to have static IP addresses to connect to a private blockchain?

A private blockchain on Ethereum: When we want to add more than one nodes, e.g. two nodes A and B, to a private blockchain, we let node A add the other node: admin.addPeer() and node B call A. Both ...
1
vote
1answer
11 views

I set up metamask and added tokens. Now my Metamask shows Not Connected

How do I get it connected? I can see my tokens and all of my information, but it still shows "not connected".
1
vote
0answers
34 views

Simple way to balance web3j connections between nodes

Context: I have a client that can connect to 3 local-network nodes to distribute query-loads and be more resilient to network/software issues. I have managed to create a -simple- watch-dog with a ...
1
vote
1answer
153 views

Web3 Empty Object Server Side in Meteor

Created new --bare Meteor project (release 1.8). Used meteor npm install --save web3 to add web3 to the project from npmjs.org. In code server.js use: Web3 = require('web3') console.log(Web3) // ...
1
vote
1answer
385 views

CONNECTION ERROR: Couldn't connect to node when trying to connect to ropsten

I have Metamask installed on chrome and am connected to the Ropsten test network through there. However, whenever I try running my Javascript, I get the following error: CONNECTION ERROR: Couldn't ...
1
vote
0answers
132 views

Node connection timeout function?

I am trying multiple avenues to find out why my nodes in a private blockchain are losing connectivity over the course of about 18 hours. So this question is: Is there a part of the discovery ...
1
vote
0answers
610 views

How does Mist connect to Ropsten?

I have both Mist and Geth installed. One note though; Mist uses (is bundled with?) Geth 1.6.0 whereas I have Geth 1.6.1 installed. When I type > geth --testnet --fast console, I fail to sync the ...
1
vote
0answers
86 views

Ethereum Wallet can't sync - wifi issue

I'm newbie having a few Eth issues, to begin with: Trying to run Ethereum Wallet 0.8.0 on my x64 linux my internet connection becomes intermittent. If a ping is left running (say 8.8.8.8), when the EW ...
0
votes
1answer
371 views

Problems of connections with we3.providers

I'm using the web3 API and i'm defining the web3 instance, setting a provider like this: if (typeof web3 !== 'undefined') { web3 = new Web3(web3.currentProvider); } else { // set the provider you ...
0
votes
1answer
1k views

How to connect to the Private BlockChain in Azure consortium

How using Web3 in geth client to conect to the private blockchain when i use var web3 = new Web3(new Web3.providers.HttpProvider(" http://alexyy73n.northeurope.cloudapp.azure.com:8545")); So ...
0
votes
1answer
1k views

How to connect to node?

I installed Ethereum on a VPS. When I connect on the VSP, with the command line I can send transaction. Now I want to do the same thing from a local script. I think I must use JSON RPC, but I ...
0
votes
1answer
1k views

Error: The data field must be HEX encoded data

I am trying to make a simple dApp by using a tutorial. I am using the following command ; npm install ganache-cli web3 so that we can use web3 to get fake ethereum nodes/accounts by connecting it ...
0
votes
1answer
211 views

Using node in local network as provider

I am using web3js, I've set up an ethereum node in my network in a laptop via mist, now I'd like to run a web3js script that uses that node as provider; var PROVIDER = "192.168.1.40:8545" // I've ...
0
votes
0answers
5 views

Connect separate react apps [closed]

I'm trying to make a Student management System, I've created separate login page, student detail page and certificates uploading as three separate projects. Now I want to connect them together.I ...
0
votes
0answers
7 views

How to connect running node on aws server remotely as a rpc endpoint?

I have a full sync node running on an aws server, I am able to connect and interact with the node at 8545 locally. But I am not able to connect to it from remote computer. The code as follow. from ...
0
votes
1answer
146 views

Truffle test doesn't connect to Ganache

I'm using Truffle and Ganache for my development environment. Using the truffle console or truffle external scripts everything works fine, but truffle test does not seem to be connected to Ganache: ...
0
votes
0answers
189 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 ...
0
votes
0answers
51 views

TypeError: web3.isConnected is not function

I coded the below program: var Web3 = require("web3"); var web3 = new Web3(new Web3.providers.HttpProvider('http://127.0.0.1:8545')) console.log(web3.currentProvider); console.log('...
0
votes
0answers
40 views

ERR_SSL_PROTOCOL_ERROR while connecting private blockchain

I'm working with private blockchain, and facing some issue with SSL configuration. The system has two components: The private blockchain that is configured on the VM. The web application that ...
0
votes
1answer
48 views

net.peerCount is zero: Two miners are not connected

I'm trying to build a local private blockchain of Ethereum in my own PC using Geth v1.9.15-stable-0f77f34b. I have installed Geth in a virtual machine with Ubuntu 18.04 OS using VMware Workstation Pro....
0
votes
1answer
418 views

How to connect to my private ethereum network using web3?

I have setup my own private eth network. I wanted to connect to this. So first I have run geth --datadir ./tolotolo --networkid 1115 --port 30304 console 2>>myEth.log It generated geth.ipc ...
0
votes
0answers
93 views

Truffle test using multiple connections

I am running a test which involves sending transactions to a smart contract from multiple nodes. Right now, I have seperate truffle folders in each node, with a test file that sends the transactions ...
0
votes
2answers
71 views

simulate multiple connexions to the ethereum blockchain on a unique PC

How to simulate that i have several connections to the ethereum blockchain(line in red in the picture)? what tools can i use to do this?Geth? the goal is: Sent requests or simultaneous transactions ...