-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ThirdParty server hangup problem with 7nodes example #958
Comments
Ok, I'll see if I can recreate using your config and steps. |
BTW when the problem occurs is the server still listening on port 9081 ( |
Ok, so the problem doesn't occur on the Mac so I suspect it is OS related. I don't believe we have access to a CentOS machine, but I'll test on some other Linux versions to see if I can reproduce. In the meantime, would you be able to run Tessera with debug logging enabled? You'll need to create the following logback.xml file:
Run this using:
|
@SatpalSandhu61 when the problem occurs server still listening on port 9081 |
in china most software company used win10 operation system for develop |
jetty-server.zip every 10 minutes send a http request to the server [root@hadoop-1 ~]# date |
hi. i think i find the reason of the problem. i update jetty.version from 9.4.17.v20190418 to 9.4.25.v20191220 . repackage and deploy tessera.jar to myhost. everything goes fine!!
i think the jetty.project fixed our problem between version 9.4.17.v20190418 and 9.4.25.v20191220 |
@bigstar119 many thanks for investigating and narrowing that down! |
@bigstar119 when you built tessera with the upgraded jetty, did you run the acceptance tests? I tried upgrading to 9.4.25.v20191220, but it causes the tests to fail - it looks like there is an issue with recent jetty versions which result in an incompatibility with jersey's jetty test container. See here: |
… all former javax prefixed group ids to use newer jakarta ones.
I've just put a PR up to bump the jetty version as you said you had done on your local build. #968 . It builds for us and our tests pass, but please feel free to validate that it addresses the original issue. |
… version. Activate wiremock backed tests to run as default.
hi guys i download the upgrade_jetty_version branch ,recompile and depoly to my host, everythings goes fine. i think we fixed the bug . good work!!! |
* Fixes #958 . Change jersey tests to use grizzly as we need to migrate all former javax prefixed group ids to use newer jakarta ones.
follow the suggest on #954. i use the latest realease of qurom and tessera deploy quorum-examples with 7 nodes. but ThirdParty server 9081-9087 port hangup again. this is my deploy and test steps, maybe can help reappear the bug.
1、prepare host server, operate system version:CentOS Linux release 7.3.1611 x86_64
2、download geth_v2.4.0_linux_amd64.tar.gz, url:https://github.com/jpmorganchase/quorum/releases
3、download tessera-app-0.10.2-app.jar,url:https://oss.sonatype.org/service/local/repositories/releases/content/com/jpmorgan/quorum/tessera-app/0.10.2/tessera-app-0.10.2-app.jar
4、download quorum-examples-master.zip,url: https://codeload.github.com/jpmorganchase/quorum-examples/zip/master
5、mkdir -p /home/cpap/app/blockchain/lib
cp tessera-app-0.10.2-app.jar /home/cpap/app/blockchain/lib
cp geth_v2.4.0_linux_amd64.tar.gz /home/cpap/app/blockchain/lib
cd /home/cpap/app/blockchain/lib
tar -xvf geth_v2.4.0_linux_amd64.tar.gz
cp geth /usr/local/bin
chmod 777 /usr/local/bin/geth
[root@hadoop-1 lib] geth --version
Incorrect Usage. flag provided but not defined: -version
NAME:
geth - the go-ethereum command line interface
Copyright 2013-2018 The go-ethereum Authors
USAGE:
geth [options] command [command options] [arguments...]
VERSION:
1.8.18-stable-20c95e5d
QUORUM OPTIONS:
--permissioned If enabled, the node will allow only a defined list of nodes to connect
...
6、mkdir -p /home/cpap/app/blockchain
cp quorum-examples-master.zip /home/cpap/app/blockchain
cd /home/cpap/app/blockchain
unzip quorum-examples-master.zip
cd quorum-examples-master/examples/7nodes/
vi ./tessera-init.sh
delete the cros config of P2P server in tessera-config-09-${i}.json,because tessera-app-0.10.2 only can config cros on the ThirdParty Server
7、start 7nodes
./raft-init.sh
./raft-start.sh tessera --tesseraOptions "--tesseraJar /home/cpap/app/blockchain/lib/tessera-app-0.10.2-app.jar"
...
All nodes configured. See 'qdata/logs' for logs, and run e.g. 'geth attach qdata/dd1/geth.ipc' to attach to the first Geth node.
To test sending a private transaction from Node 1 to Node 7, run './runscript.sh private-contract.js'
8、test 9081 port on 7nodes, every 10 minutes
first try everything is ok
[root@hadoop-1 7nodes] curl -s http://localhost:9081/upcheck
curl -s http://localhost:9082/upcheck
I'm up![root@hadoop-1 7nodes] curl -s http://localhost:9082/upcheck
I'm up![root@hadoop-1 7nodes] curl -s http://localhost:9083/upcheck
I'm up![root@hadoop-1 7nodes] curl -s http://localhost:9084/upcheck
I'm up![root@hadoop-1 7nodes] curl -s http://localhost:9085/upcheck
I'm up![root@hadoop-1 7nodes] curl -s http://localhost:9086/upcheck
I'm up![root@hadoop-1 7nodes] curl -s http://localhost:9087/upcheck
I'm up![root@hadoop-1 7nodes] date
2020-01-08 13:03:36 CST
the second try 9081-9087 hangup
[root@hadoop-1 7nodes]# curl -s http://localhost:9081/upcheck
curl -s http://localhost:9082/upcheck
curl -s http://localhost:9083/upcheck
curl -s http://localhost:9084/upcheck
curl -s http://localhost:9085/upcheck
curl -s http://localhost:9086/upcheck
curl -s http://localhost:9087/upcheck
^C
[root@hadoop-1 7nodes]# date
2020-01-08 13:15:17
2020-01-08 13:15:17 bug reappear !!!
The text was updated successfully, but these errors were encountered: