Questions tagged [connections]
The connections tag has no usage guidance.
61
questions
0
votes
0
answers
33
views
Error: Keys not exchanged when calling await ethereum.request({method: 'eth_requestAccounts'})
I am trying to connect my React Native app to MetaMask with
MetamaskSDK, but I am getting the error "Error: Keys not exchanged"
when calling await ethereum.request({method: '...
1
vote
0
answers
80
views
How to recover from intermittent 'the resource eth_call is not available' during runtime?
When I call a contract function using a block_identifier from the past,
I get error code -32002 the resource eth_call is not available in ~4/5 times
when using a public RPC using Python web3.
~1/5 ...
0
votes
1
answer
46
views
usage of infura wss
I am trying to connect to infura via wss protocol, but I get this typerror, can you please help me out with that?
from web3 import Web3
# add your blockchain connection information
infura_websocket = ...
0
votes
1
answer
56
views
How can I know if my rpcUrl is working or not?
I have a 2 rpcUrl, I would like to pick the one that's working. How can I pick the active rpcUrl? Unfortunately, I can't catch the error log on this one.
const provider = new ethers.providers....
0
votes
1
answer
188
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
1
answer
172
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
1
answer
400
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 ...
1
vote
1
answer
22
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
2k
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
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
...
1
vote
1
answer
629
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
1k
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
97
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
170
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
1k
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
245
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
167
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
162
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
3k
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
1k
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
792
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
173
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
255
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
224
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
444
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
528
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
10k
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
474
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 ...
6
votes
3
answers
4k
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
347
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
223
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
490
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
120
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
212
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
2k
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
256
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
244
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
269
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
438
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
217
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
427
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
616
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
971
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
269
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
1k
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
1k
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
75
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 ...