Comments (8)
My dock container is not running. I get the IO Exception.
My user is 1002. How or where do I change it to 1000?
from quorum-dev-quickstart.
Hello Bellomi,
Please refer to the Readme for how to solve the io exception
Cheers
from quorum-dev-quickstart.
where exactly should I alter this information in the docker-compose.yaml?
I added in this part:
x-besu-def: &besu-def
restart: "on-failure"
image: hyperledger/besu:${BESU_VERSION:-latest}
user:
env_file:
- ./config/besu/.env
entrypoint:
- /bin/bash
- -c
and it did not work.
from quorum-dev-quickstart.
Hello Bellomi,
This is the context of it #131. Im not sure what user id's you have present on your machine or what the default is or how it's been setup. The besu container however runs as user 1000, and we discourage the use of the root
user.
It is however impossible to debug without steps to reproduce this issue. Could you please post details of your environment as well as the steps you took to get up and running and any commands you've used
Cheers
from quorum-dev-quickstart.
Hello,
I follow all the steps and when I am at node scripts/private_tx.js I get the error:
Creating contract...
Error: Invalid JSON RPC response: ""
at Object.InvalidResponse (/home/vntlibe/quorum-test-network/smart_contracts/privacy/node_modules/web3-core-helpers/lib/errors.js:43:16)
at request.onreadystatechange (/home/vntlibe/quorum-test-network/smart_contracts/privacy/node_modules/web3-providers-http/lib/index.js:95:32)
at XMLHttpRequestEventTarget.dispatchEvent (/home/vntlibe/quorum-test-network/smart_contracts/privacy/node_modules/xhr2-cookies/dist/xml-http-request-event-target.js:34:22)
at XMLHttpRequest._setReadyState (/home/vntlibe/quorum-test-network/smart_contracts/privacy/node_modules/xhr2-cookies/dist/xml-http-request.js:208:14)
at XMLHttpRequest._onHttpRequestError (/home/vntlibe/quorum-test-network/smart_contracts/privacy/node_modules/xhr2-cookies/dist/xml-http-request.js:349:14)
at ClientRequest. (/home/vntlibe/quorum-test-network/smart_contracts/privacy/node_modules/xhr2-cookies/dist/xml-http-request.js:252:61)
at ClientRequest.emit (node:events:513:28)
at Socket.socketErrorListener (node:_http_client:502:9)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21).
from quorum-dev-quickstart.
Hello @Bellomi ,
I;m not able to reproduce your issue. As above, could you please post:
- details of your environment (machine specs, OSX/Windows/Linux?)
- as well as the steps you took to get up and running ( ie which client, what options, has anything been changed etc)
Cheers
Josh
from quorum-dev-quickstart.
Hi, Josh!
I'm using Ubuntu 22.04.2 LTS
My UID is 1002 and GID 1003, however i'm using docker desktop.
the setup is Hyperledger besu, yes for private, ELK, and no for the rest.
from quorum-dev-quickstart.
It turned out that after changing the user and group id I still got the error because the opt/besu/data was trying to be acessed and as Iḿ not the root nor anyone should be for security reasons, it was returning the error opt/besu/data not found.
So I added a different data directory for each node and set inside the run.sh also.
the run.sh is like:
create log folders with the user permissions so it won't conflict with container permissions
mkdir -p logs/besu logs/quorum logs/tessera data1 data2 data3 data4 rpcnodedata member1besudata member2besudata member3besudata
and the docker-compose.yml:
version: '3.6'
x-besu-def:
&besu-def
restart: "on-failure"
image: hyperledger/besu:${BESU_VERSION:-latest}
user: "1002:1002"
......
x-tessera-def:
&tessera-def
user: "1002:1002"
....................
services:
validator1:
<< : *besu-def
.......
volumes:
- ./config/besu/:/config
- ./config/nodes/validator1:/opt/besu/keys
- ./logs/besu:/tmp/besu
- ./data1:/opt/besu/data
networks:
quorum-dev-quickstart:
ipv4_address: 172.16.239.11
validator2:
....
volumes:
- ./config/besu/:/config
- ./config/nodes/validator2:/opt/besu/keys
- ./logs/besu:/tmp/besu
- ./data2:/opt/besu/data
....
validator3:
<< : *besu-def
ports:
- 21003:8545/tcp
- 30303
- 9545
....
volumes:
- ./config/besu/:/config
- ./config/nodes/validator3:/opt/besu/keys
- ./logs/besu:/tmp/besu
- ./data3:/opt/besu/data
....
validator4:
<< : *besu-def
......
volumes:
- ./config/besu/:/config
- ./config/nodes/validator4:/opt/besu/keys
- ./logs/besu:/tmp/besu
- ./data4:/opt/besu/data
.....
rpcnode:
...
volumes:
- ./config/besu/:/config
- ./config/nodes/rpcnode:/opt/besu/keys
- ./logs/besu:/tmp/besu
- ./rpcnodedata:/opt/besu/data
......
member1besu:
.....
- ./config/besu/:/config
- ./config/nodes/member1:/opt/besu/keys
- ./logs/besu:/tmp/besu
- ./member1besudata:/opt/besu/data
....
member2besu:
.....
volumes:
- ./config/besu/:/config
- ./config/nodes/member2:/opt/besu/keys
- ./logs/besu:/tmp/besu
- ./member2besudata:/opt/besu/data
....
member3besu:
......
volumes:
- ./config/besu/:/config
- ./config/nodes/member3:/opt/besu/keys
- ./logs/besu:/tmp/besu
- ./member3besudata:/opt/besu/data
depends_on:
- validator1
- member3tessera
.......
from quorum-dev-quickstart.
Related Issues (20)
- goQuorum transaction submitted with privacyFlag value 3, times out issue started after qbft-enhanced-genesis.json file change HOT 3
- Besu + ELK not working on GitPod HOT 2
- metamask won't register custom erc20 token HOT 1
- tessera docker container is not coming up following the quickstart HOT 2
- Can't send private tnx HOT 7
- run.sh fails with apt-get error HOT 1
- Unable to add new nodes as in the Quorum Developer Quickstart. HOT 1
- Hyperledger Besu block explorer unable to deploy sample contract HOT 3
- Truffle migrate showing error *** stack smashing detected ***: terminated HOT 1
- Multiple docker containers restarting likely due to log permission issue
- Missing consensys/quorum-ethsigner in Docker Hub
- consensys/quorum-ethsigner not found / login required HOT 1
- Anyway to upgrade latest geth in container? HOT 1
- Tessera dockers not pulling up in Mac M1/M2 HOT 2
- Warning message on npx script HOT 2
- Web block explorer doesn't display nodes info
- Update to use Web3Signer
- quorum-dev-quickstart and azure HOT 1
- I'm trying to set quorum-dev-quickstart Hyperledger Besu and I cant access the endpoints of following services ? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quorum-dev-quickstart.