Questions tagged [connections]
The connections tag has no usage guidance.
61
questions
0
votes
1
answer
14
views
Can't connect metamask to React app in production
I have a React app that can connect to my browser's Metamask in my development environment, but the version deployed on Netlify can't connect to Metamask. My code for getting my web3 provider is
...
0
votes
0
answers
14
views
Connecting to ethereum - JSONRPC providers vs injected providers
What are the prons and cons of using JSON RPC providers - like infura, alchemy vs injected providers like metamask?
One thing i could think of is injected providers are platform specific - like ...
0
votes
0
answers
13
views
How the broadcasting happen in Ethereum network?
However, this question seems to be primitive but I still couldn't understand how transactions are routed in the peer-to-peer network of Ethereum in the way that if not all, at least most of the nodes (...
0
votes
0
answers
45
views
Chainlink Job Request With Bridge: error making http request: Post "http://localhost:8080": dial tcp 127.0.0.1:8080: connect: connection refused
I am trying to run my chainlink external adapter with a job in my node. However, every time I get an error at "fetch bridge" task: error making http request: Post "http://localhost:8080&...
0
votes
0
answers
103
views
Connect to Flashbot's JsonRPC Nethereum
I'm trying to connect to Flashbot's JsonRPC using c# and I can only manage to do that on TypeScript:
const CHAIN_ID = 5;
const provider = new providers.InfuraProvider(CHAIN_ID)
const ...
0
votes
1
answer
75
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 ...
0
votes
0
answers
51
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 ...
1
vote
1
answer
21
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".
0
votes
1
answer
1k
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:
...
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
...
1
vote
1
answer
347
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. ...
4
votes
1
answer
907
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(...
0
votes
0
answers
62
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
1
answer
102
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
1
answer
836
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 ...
1
vote
0
answers
128
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 ...
0
votes
0
answers
141
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
2
answers
127
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 ...
0
votes
1
answer
2k
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
1
answer
917
views
Can't connect to localhost:8545 while using ethereumjs-testrpc web3?
I am developing a simple Voting dApp by following a tutorial. In this tutorial
we are using npm install ethereumjs-testrpc web3 so that we can get the fake nodes of Ethereum.
For that i first ...
4
votes
1
answer
528
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 ...
0
votes
1
answer
153
views
Have a connection problem with smart Contract using web3.js
Anyone that can help me in how to interact with our smartcontract
using web3.js.
I tried below code but this not work:
This the code that I am using:
if (typeof web3 !== 'undefined')
{
web3 = ...
0
votes
1
answer
202
views
Configuring geth so that it can only connect to my private local blockchain?
Basically I would like to know how to configure geth so that it can only connect to my private ethereum blockchain that is hosted on another machine?
Many thanks in advance!
1
vote
1
answer
208
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) // ...
2
votes
0
answers
422
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-...
1
vote
1
answer
454
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
1
answer
9k
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 ...
0
votes
1
answer
451
views
How to connect not local node to private Blockchain?
Is there any way to connect NOT LOCAL node to running private Blockchain?
So, there are 3 virtual machines in one local network. They are syncronized private blockchain. They have static-nodes.json ...
5
votes
3
answers
3k
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 ...
0
votes
1
answer
267
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 ...
1
vote
0
answers
164
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 ...
2
votes
1
answer
475
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"...
3
votes
0
answers
117
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 ...
1
vote
1
answer
203
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
2
answers
1k
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 ...
0
votes
2
answers
231
views
Can you run two blockchains locally?
I am trying to run two blockchains for experiments, trying geth with different ports, network IDs and folders for chain data directories does not work. How can I do this?
All help is appreciated!
0
votes
2
answers
237
views
EthereumJ connect to private node
I need to connect to private ethereum node with using ethereumj without ethereum.conf file. I need configure connect from code using Spring Framework.
3
votes
2
answers
256
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 ...
0
votes
1
answer
410
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 ...
3
votes
0
answers
207
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 "...
4
votes
1
answer
415
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 ...
1
vote
0
answers
615
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 ...
0
votes
1
answer
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 ...
2
votes
1
answer
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 ...
8
votes
1
answer
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 ...
2
votes
0
answers
857
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
0
answers
265
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 ...
6
votes
1
answer
946
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 ...
1
vote
2
answers
995
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
1
answer
72
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 ...