Burstwallet 1.3.4cg stuck need help


#1

Hi

My wallet is stuck: https://explore.burst.cryptoguru.org/peer/txx.duckdns.org

I am running version 1.3.4cg-bundle version on a windows 10 machine.

I have tried restarting both the wallet and the conputer, but no change.

I have also tried to enable debug mode as discribed here:


and here:
https://forums.burst-team.us/topic/1857/howto-fix-a-stuck-wallet

i have added the debug enable setting to the nxt.properties file.:
nxt.enableDebugAPI=true

but when I try to connect to:
http://localhost:8125/test?requestTag=DEBUG

The server replies access forbidden.

is this debug mode not possible in the 1.3.4cg version ?
Are the other ways to get the wallet unstuck?

by the way, the console outputs this error:

[SEVERE] 2017-09-30 23:42:25 nxt.TransactionProcessorImpl - java.lang.NullPointerException
java.lang.NullPointerException
at nxt.TransactionType.undoUnconfirmed(TransactionType.java:239)
at nxt.TransactionImpl.undoUnconfirmed(TransactionImpl.java:808)
at nxt.TransactionProcessorImpl.removeUnconfirmedTransaction(TransactionProcessorImpl.java:441)
at nxt.TransactionProcessorImpl$3.run(TransactionProcessorImpl.java:135)
at nxt.util.ThreadPool.lambda$start$0(ThreadPool.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

Thanks in advance.


#2

Hey @Txx don’t worry I am sure we can find someone to help you out.
I know that @Gadrah knows a lot about wallets as well as @ryanw.
Maybe they can lend a hand.

If there are to busy, we will find someone else, just tag me back :slight_smile:


#3

Just to ask a few more questions.

[edit did not notice you ran cg-bundle]
Debug mode in 1.3.4cg is broken on some places. but there is a workaround. i suppose you want to popoff blocks?

first you need to change in configuration file
nxt.apiServerEnforcePOST=false

restart the wallet.

now you can popoffblocks by using this url

http://localhost:8125/burst?requestType=popOff&height=&numBlocks=100

just change the numBlocks value and paste it in your browser. you will see a json response if all is ok.
Now go to wallet and see the result.

When you are done you should change back the line in config to
nxt.apiServerEnforcePOST=true


#4

Hi Quibus

Yes I was trying to popoff blocks.

I added the following to nxt.properties
nxt.apiServerEnforcePOST=false
nxt.enableDebugAPI=true

and then tried the link you suggested:
http://localhost:8125/burst?requestType=popOff&height=&numBlocks=100

It worked and i got a json respond.

When I login to the wallet, the block height is now 100 lower.

But the wallet is still not syncing.

The console displays this error:

[SEVERE] 2017-10-01 21:36:53 nxt.BlockchainProcessorImpl - Block not accepted
nxt.BlockchainProcessor$BlockNotAcceptedException: Calculated remaining fee doesn’t add up
at nxt.BlockchainProcessorImpl.accept(BlockchainProcessorImpl.java:1016)
at nxt.BlockchainProcessorImpl.pushBlock(BlockchainProcessorImpl.java:959)
at nxt.BlockchainProcessorImpl.access$500(BlockchainProcessorImpl.java:33)
at nxt.BlockchainProcessorImpl$3.run(BlockchainProcessorImpl.java:187)
at nxt.util.ThreadPool.lambda$start$0(ThreadPool.java:86)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
[WARNING] 2017-10-01 21:37:14 nxt.BlockchainProcessorImpl - Sleeping for one second and trying again


#5

popoff is not always solving the issues.
try popoff like 500 or so and also do this line.

http://localhost:8125/burst?requestType=clearUnconfirmedTransactions


#6

You can also try to do this the manual way.
open a command prompt on your computer
navigate to your MariaDB\bin folder
type:

mysql -u root

you are now at the database command line.
paste the following lines into the window to set you back to block 400000
you can change it as you like aslong as you use same number on all rows

delete from burstwallet.account where height >400000;
delete from burstwallet.account_asset where height >400000;
delete from burstwallet.alias_offer where height >400000;
delete from burstwallet.ask_order where height >400000;
delete from burstwallet.asset where height >400000;
delete from burstwallet.asset_transfer where height >400000;
delete from burstwallet.at where height >400000;
delete from burstwallet.at_state where height >400000;
delete from burstwallet.bid_order where height >400000;
delete from burstwallet.block where height >400000;
delete from burstwallet.escrow where height >400000;
delete from burstwallet.escrow_decision where height >400000;
delete from burstwallet.goods where height >400000;
delete from burstwallet.purchase where height >400000;
delete from burstwallet.purchase_feedback where height >400000;
delete from burstwallet.purchase_public_feedback where height >400000;
delete from burstwallet.reward_recip_assign where height >400000;
delete from burstwallet.subscription where height >400000;
delete from burstwallet.trade where height >400000;
delete from burstwallet.transaction where height >400000;
delete from burstwallet.unconfirmed_transaction where height >400000;

Do this while the wallet is running
type exit to leave the command line