Questions tagged [connections]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
26 views

What is the method to be able to use the mobile metamask app as a support for mobile chrome?

So this one is incredibly hard to search for because it returns so many generic posts about how to install MetaMask on a chrome browser and various other things. My query is about how many dapps are ...
HAT0ken's user avatar
0 votes
0 answers
61 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: '...
matanCohen's user avatar
1 vote
0 answers
111 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 ...
decryptozoo's user avatar
0 votes
1 answer
56 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 = ...
f22daniel's user avatar
  • 313
0 votes
1 answer
113 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....
Lonewarp's user avatar
  • 141
0 votes
1 answer
235 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 ...
LRitter's user avatar
0 votes
1 answer
195 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&...
acobra's user avatar
  • 1
0 votes
1 answer
469 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 ...
MrSaulman's user avatar
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".
Omar's user avatar
  • 11
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: ...
pfust75's user avatar
  • 101
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 ...
Max's user avatar
  • 11
1 vote
1 answer
702 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. ...
Div's user avatar
  • 361
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(...
Div's user avatar
  • 361
0 votes
0 answers
103 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 ...
Div's user avatar
  • 361
0 votes
1 answer
193 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....
smsm's user avatar
  • 1
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 ...
e.k's user avatar
  • 417
1 vote
0 answers
259 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 ...
earizon's user avatar
  • 596
0 votes
0 answers
175 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 ...
Aleksi Daskalov's user avatar
0 votes
2 answers
168 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 ...
Kh Ya's user avatar
  • 19
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 ...
Zeeshan Ahmad Khalil's user avatar
0 votes
1 answer
2k 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 ...
Zeeshan Ahmad Khalil's user avatar
4 votes
1 answer
903 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 ...
Lauri Peltonen's user avatar
0 votes
1 answer
176 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 = ...
Nicolas Flores Muñoz's user avatar
0 votes
1 answer
266 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!
JJR's user avatar
  • 3
1 vote
1 answer
225 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) // ...
robertdavid's user avatar
2 votes
0 answers
450 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-...
yohan's user avatar
  • 65
1 vote
1 answer
547 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 ...
BeepBoop's user avatar
  • 135
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 ...
Questioner's user avatar
  • 2,670
0 votes
1 answer
476 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 ...
Albin's user avatar
  • 1
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 ...
hellopeach's user avatar
0 votes
1 answer
355 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 ...
Victor's user avatar
  • 443
1 vote
0 answers
267 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 ...
stone.212's user avatar
  • 1,994
2 votes
1 answer
492 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"...
ethereum_alex's user avatar
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 ...
stone.212's user avatar
  • 1,994
1 vote
1 answer
213 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. ...
stone.212's user avatar
  • 1,994
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 ...
Aydin's user avatar
  • 2,107
0 votes
2 answers
266 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!
Chant's user avatar
  • 43
0 votes
2 answers
245 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.
Igor  Bukin's user avatar
3 votes
2 answers
272 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 ...
adhicl's user avatar
  • 33
0 votes
1 answer
446 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 ...
Gawey's user avatar
  • 804
3 votes
0 answers
220 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 "...
Joe's user avatar
  • 1,173
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 ...
Joe's user avatar
  • 1,173
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 ...
jeff's user avatar
  • 2,550
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 ...
Vladimir's user avatar
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 ...
wxcvbn's user avatar
  • 827
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 ...
eng-gokhan's user avatar
2 votes
0 answers
1k 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 ...
Prashant Prabhakar Singh's user avatar
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 ...
Florian's user avatar
  • 61
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 ...
alper's user avatar
  • 8,368
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 ...
galahad's user avatar
  • 3,920