# Unable to setup monitoring tool

**URL:** <https://bisq.community/t/unable-to-setup-monitoring-tool/4936>\
**Category:** Development\
**Created:** [March 2, 2018, 1:16pm UTC](https://bisq.community/t/unable-to-setup-monitoring-tool/4936 "2018-03-02T13:16:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ujjwalwahi](https://bisq.community/letter_avatar/ujjwalwahi/32/6_22734026db12803ebb3e059622ac3534.png) [@ujjwalwahi](https://bisq.community/u/ujjwalwahi)\
**Post date:** [March 2, 2018, 1:16pm UTC](https://bisq.community/t/unable-to-setup-monitoring-tool/4936/1 "2018-03-02T13:16:01Z")

</div>

I would to like to work on [“Improve monitoring tool”](https://github.com/bisq-network/exchange/issues/1361) github issue.

I have cloned the repo and able to build the bisq client on Ubuntu 16.04. But when I try to run the Monitoring Tool using:

> java -jar monitor/target/Monitor.jar

Error message says: **java.lang.IllegalStateException: required key [regtestBsqGenesisTxId] not found**

I’m getting _ **500 Internal Server** _ when I visit _ **localhost:8080** _(I have changed the port to 8080).

Following is the log generated:

[https://pastebin.mozilla.org/9078948](https://pastebin.mozilla.org/9078948)

What steps I need to follow to get rid of this error?

---

<div class="post-metadata">

**Author:** ![ManfredKarrer](https://bisq.community/user_avatar/bisq.community/manfredkarrer/32/26_2.png) [@ManfredKarrer](https://bisq.community/u/ManfredKarrer)\
**Post date:** [March 2, 2018, 2:52pm UTC](https://bisq.community/t/unable-to-setup-monitoring-tool/4936/2 "2018-03-02T14:52:50Z")

</div>

Ah great that you want to work on that!

I just commited a fix, there was one property setter missing for that option key.

If you work in regtest environment use those prog args:  
–baseCurrencyNetwork=BTC\_REGTEST --useDevPrivilegeKeys=true --useLocalhostForP2P=true --nodePort=3402 --appName=bisq-BTC\_REGTEST\_Monitor --useAllProvidedNodes=true --numConnectionForBtc=30

For mainnet:  
–baseCurrencyNetwork=BTC\_MAINNET --appName=bisq-BTC\_MAINNET\_Monitor --useAllProvidedNodes=true --numConnectionForBtc=30

---

<div class="post-metadata">

**Author:** ![ManfredKarrer](https://bisq.community/user_avatar/bisq.community/manfredkarrer/32/26_2.png) [@ManfredKarrer](https://bisq.community/u/ManfredKarrer)\
**Post date:** [March 2, 2018, 2:54pm UTC](https://bisq.community/t/unable-to-setup-monitoring-tool/4936/3 "2018-03-02T14:54:56Z")

</div>

Ah if you test with localhost you might want to change the default port 80 to something like 8080 in MonitorMain: `port(8080);`
