Nxt Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest Nxt Client 1.11.4 - NEW RELEASE: Ardor 2.0.2e TestNet IS LAUNCHED!

Pages: 1 2 [3] 4  All

Author Topic: NRS v1.8.1  (Read 10165 times)

Riker

  • Core Dev
  • Hero Member
  • *****
  • Online Online
  • Posts: 1500
    • View Profile
  • Karma: +396/-42
Re: NRS v1.8.1
April 10, 2016, 06:19:26 pm


Did you try to install 1.8.0e ? How can I reproduce this ?
Yes I did that too, got the same error. Basically just click on the initial download button, wait until is done and click on the 'green message' -> select the file from the file chooser, and waited until it loaded/install. Then it came back with that red message.

Did you get this message when already using 1.7.5 or 1.8.0e ?
Once you are using 1.8.1 you shouldn't be prompted for a download since your version is up to date
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

CryptKeeper

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1228
    • View Profile
  • Karma: +73/-5
Re: NRS v1.8.1
April 10, 2016, 06:41:14 pm

Folks, in order not to lose track of all non-critical problem reports, I'd like to ask users to create a ticket in https://bitbucket.org/JeanLucPicard/nxt/issues for each problem.

Done.
Follow me on twitter for the latest news on bitcoin and altcoins!
Vanity Accounts Sale :-)

Klokan

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 269
    • View Profile
  • Karma: +27/-5
Re: NRS v1.8.1
April 10, 2016, 06:48:57 pm

Well, I re-created keystore file with `keytool -keysize 2048....', use the new keystore, but nothing happen, still the same issue. For sure, I tried it also from FF in Windows (32bit XP old virtual instance), exactly the same error occurs. There's no possibility to use "Proceed anyway", show certificate or something like this (with invalid/expired certificate FF makes this posibility, usually), it's just link there to this page :

https://support.mozilla.org/en-US/kb/what-does-your-connection-is-not-secure-mean

So it looks like for me like FF "cannot feel" any certificate / SSL encryption on the other side (means server with NRS) ... which is really strange. Again, with 1.7.5 (with exactly same config of NRS, OS and OS environment) everything works fine...

PS: When I was in "archaic" WinXP environment, I also tried archaic MSIE 8 ... exactly the same error "MSIE application cannot displayed this page" and that's all. With connection to 1.7.5., MSIE 8 cries about "invalid & self-signed" certificate, well, but user can proceed it further and everything works...

As I asked before, please add the following command line flag to the Java command: -Djavax.net.debug=all
See: http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/ReadDebug.html

It should print a lot of diagnostic information to the console and/or nxt.log
Look for an Exception message.
Capture it to a file and post it here if you need more help.

Allright, sorry, I did it now, assume I right that Java command has to be with startup script, so `./run.sh -Djavax.net.debug=all' ? In any case, my nxt.log is here :

http://nxt1.y.cz/nxt.log-20160410.gz


Anyway, I upgraded (1.7.5->1.8.1) my next NRS node before a while. Exactly the same process, same config files, etc., I just didn't compile it by `./compile.sh' before start (./run.sh). But resolution is exactly the same - "Secure connection failed" error in FF...

Riker

  • Core Dev
  • Hero Member
  • *****
  • Online Online
  • Posts: 1500
    • View Profile
  • Karma: +396/-42
Re: NRS v1.8.1
April 10, 2016, 08:00:11 pm

Well, I re-created keystore file with `keytool -keysize 2048....', use the new keystore, but nothing happen, still the same issue. For sure, I tried it also from FF in Windows (32bit XP old virtual instance), exactly the same error occurs. There's no possibility to use "Proceed anyway", show certificate or something like this (with invalid/expired certificate FF makes this posibility, usually), it's just link there to this page :

https://support.mozilla.org/en-US/kb/what-does-your-connection-is-not-secure-mean

So it looks like for me like FF "cannot feel" any certificate / SSL encryption on the other side (means server with NRS) ... which is really strange. Again, with 1.7.5 (with exactly same config of NRS, OS and OS environment) everything works fine...

PS: When I was in "archaic" WinXP environment, I also tried archaic MSIE 8 ... exactly the same error "MSIE application cannot displayed this page" and that's all. With connection to 1.7.5., MSIE 8 cries about "invalid & self-signed" certificate, well, but user can proceed it further and everything works...

As I asked before, please add the following command line flag to the Java command: -Djavax.net.debug=all
See: http://docs.oracle.com/javase/7/docs/technotes/guides/security/jsse/ReadDebug.html

It should print a lot of diagnostic information to the console and/or nxt.log
Look for an Exception message.
Capture it to a file and post it here if you need more help.

Allright, sorry, I did it now, assume I right that Java command has to be with startup script, so `./run.sh -Djavax.net.debug=all' ? In any case, my nxt.log is here :

http://nxt1.y.cz/nxt.log-20160410.gz


Anyway, I upgraded (1.7.5->1.8.1) my next NRS node before a while. Exactly the same process, same config files, etc., I just didn't compile it by `./compile.sh' before start (./run.sh). But resolution is exactly the same - "Secure connection failed" error in FF...

What you need to do to enable the SSL logging is edit run.sh and add the -Djavax.net.debug=all flag before the class name:
Code: [Select]
${JAVA} -cp classes:lib/*:conf:addons/classes -Djavax.net.debug=all nxt.Nxt
Interestingly, I can connect to your node using Chrome but not using Firefox.
It reminds me of a problem we had few month ago with open JDK.
Can you try to install the official Oracle Java for Linux and see if this fixes the problem ?
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

JZA

  • Full Member
  • ***
  • Offline Offline
  • Posts: 144
  • Looking for the NXT big thing
    • View Profile
  • Karma: +17/-0
Re: NRS v1.8.1
April 10, 2016, 09:44:45 pm

  Are there other errors in nxt.log?  If you installed over an existing installation, did you first delete the 'classes', 'html' and 'lib' directories?

thank, that fixed it.
NXT stufff, NXT-TUAH-6PVY-S2KR-AW4RK

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3291
  • Go Nxt!
    • View Profile
    • Blockchain Startpagina
  • Karma: +201/-42
Re: NRS v1.8.1
April 11, 2016, 07:51:56 am

Will there be a Mac Nxt.app again?

The 1.8.1 Mac installer is similar to the 1.8.0e installer.
Always install it to a folder named nxt.app so that it shows up as an application in the finder.

When I need to choose the folder in the installer, I get the message that writing in the folder is not possible, I need to select another folder. Guess it's a problem because I am not the administrator on mac?

EDIT: When I try it as administrator it works fine. Maybe you need to add this in the installation instructions? It's kind of frustrating trying to install in different folders and nothing working.  :)
« Last Edit: April 11, 2016, 07:58:07 am by farl4bit »

Riker

  • Core Dev
  • Hero Member
  • *****
  • Online Online
  • Posts: 1500
    • View Profile
  • Karma: +396/-42
Re: NRS v1.8.1
April 11, 2016, 07:59:19 am

Will there be a Mac Nxt.app again?

The 1.8.1 Mac installer is similar to the 1.8.0e installer.
Always install it to a folder named nxt.app so that it shows up as an application in the finder.

When I need to choose the folder in the installer, I get the message that writing in the folder is not possible, I need to select another folder. Guess it's a problem because I am not the administrator on mac?

Try to install to the local user folder, for example: ~/Applications/nxt.app
Then open the ~/Applications folder in the finder and launch nxt.app
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3291
  • Go Nxt!
    • View Profile
    • Blockchain Startpagina
  • Karma: +201/-42
Re: NRS v1.8.1
April 11, 2016, 08:06:39 am

Didn't you see my EDIT?

Quote
EDIT: When I try it as administrator it works fine. Maybe you need to add this in the installation instructions? It's kind of frustrating trying to install in different folders and nothing working.  :)

Try to install to the local user folder, for example: ~/Applications/nxt.app
Then open the ~/Applications folder in the finder and launch nxt.app

I installed it like you said in the local user application folder and that is working too! But only me (local user) can start the Nxt.app. Not the other users on my Mac. That's a pity.

But thanks for your support. Do you agree we need more installation instructions? I can imagine people will bounce when they can't install the app.
« Last Edit: April 11, 2016, 08:09:45 am by farl4bit »

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3291
  • Go Nxt!
    • View Profile
    • Blockchain Startpagina
  • Karma: +201/-42
Re: NRS v1.8.1
April 11, 2016, 08:41:18 am

Is there a limit to the orders that are visible in the Sell orders and Buy orders columns of the Asset Exchange? Or is it a bug that I don't see my Open sell order because it's to high?

testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1
Re: NRS v1.8.1
April 11, 2016, 09:08:26 am

Is there a limit to the orders that are visible in the Sell orders and Buy orders columns of the Asset Exchange? Or is it a bug that I don't see my Open sell order because it's to high?

Can you share the account and asset you are experiencing this issue with? (if not comfortable via a post you can send a message).
A picture to show the behaviour would also be nice. (a picture is worth a thousand words)
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3291
  • Go Nxt!
    • View Profile
    • Blockchain Startpagina
  • Karma: +201/-42
Re: NRS v1.8.1
April 11, 2016, 09:33:13 am

Is there a limit to the orders that are visible in the Sell orders and Buy orders columns of the Asset Exchange? Or is it a bug that I don't see my Open sell order because it's to high?

Can you share the account and asset you are experiencing this issue with? (if not comfortable via a post you can send a message).
A picture to show the behaviour would also be nice. (a picture is worth a thousand words)
Of course, no problem.  :)



testdruif

  • Full Member
  • ***
  • Offline Offline
  • Posts: 224
    • View Profile
  • Karma: +71/-1
Re: NRS v1.8.1
April 11, 2016, 09:49:42 am

Is there a limit to the orders that are visible in the Sell orders and Buy orders columns of the Asset Exchange? Or is it a bug that I don't see my Open sell order because it's to high?

Can you share the account and asset you are experiencing this issue with? (if not comfortable via a post you can send a message).
A picture to show the behaviour would also be nice. (a picture is worth a thousand words)
Of course, no problem.  :)





The code shows that only the first 26 orders (firstindex:0, lastindex:25) are retrieved.
So it's not a bug that you are only seeing the first 26

I think that number (26) has been there for a while :p
**Necessity is the mother of invention**
NXT-NNGD-V8TN-3MZR-DWWBE
https://arguseyes.net

farl4bit

  • Global Moderator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3291
  • Go Nxt!
    • View Profile
    • Blockchain Startpagina
  • Karma: +201/-42
Re: NRS v1.8.1
April 11, 2016, 10:00:52 am

Ok, that's clear. Why only 26? I think it's a bit to low. The first 100 would be better imo. I will send the suggestion to the devs.

Klokan

  • Sr. Member
  • ****
  • Offline Offline
  • Posts: 269
    • View Profile
  • Karma: +27/-5
Re: NRS v1.8.1
April 13, 2016, 12:56:03 am



What you need to do to enable the SSL logging is edit run.sh and add the -Djavax.net.debug=all flag before the class name:
Code: [Select]
${JAVA} -cp classes:lib/*:conf:addons/classes -Djavax.net.debug=all nxt.Nxt

Allright, thanks, I did it, the result (debug log) is here :

http://nxt1.y.cz/nxt-debug.log-20160413.gz

Interestingly, I can connect to your node using Chrome but not using Firefox.
It reminds me of a problem we had few month ago with open JDK.
Can you try to install the official Oracle Java for Linux and see if this fixes the problem ?

Really interesting, but I use OpenJDK on all of my servers and didn't notice any trouble with it thru all the NRS history ... till now ;). On my production servers I probably cannot / don't want to rebuild and replace default OpenJDK environment (by the Oracle one), but if I'll grab somewhere "a little piece of free time", I'd try to install some testing virtual machine and of course there I'll able to test this variant then...

Riker

  • Core Dev
  • Hero Member
  • *****
  • Online Online
  • Posts: 1500
    • View Profile
  • Karma: +396/-42
Re: NRS v1.8.1
April 13, 2016, 06:06:47 am



What you need to do to enable the SSL logging is edit run.sh and add the -Djavax.net.debug=all flag before the class name:
Code: [Select]
${JAVA} -cp classes:lib/*:conf:addons/classes -Djavax.net.debug=all nxt.Nxt

Allright, thanks, I did it, the result (debug log) is here :

http://nxt1.y.cz/nxt-debug.log-20160413.gz

Interestingly, I can connect to your node using Chrome but not using Firefox.
It reminds me of a problem we had few month ago with open JDK.
Can you try to install the official Oracle Java for Linux and see if this fixes the problem ?

Really interesting, but I use OpenJDK on all of my servers and didn't notice any trouble with it thru all the NRS history ... till now ;). On my production servers I probably cannot / don't want to rebuild and replace default OpenJDK environment (by the Oracle one), but if I'll grab somewhere "a little piece of free time", I'd try to install some testing virtual machine and of course there I'll able to test this variant then...

Nothing wrong in the log, I can see that everything initializes properly.
I don't see a browser connection though. When you connect a browser you should see lot's and lot's of SSL handshake related messages.

Please capture another set of logs, restart your node then connect Firefox using https on port 7876 and let it fail, then post the resulting log again.
Also please post the exact error message you received from Firefox.
Then restart the node again, connect using Chrome until loading the signon page and post another log here.
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1580
    • View Profile
  • Karma: +796/-81
Re: NRS v1.8.1
April 13, 2016, 06:41:53 am

I mostly use OpenJDK myself now, and haven't had problems with SSL, both on Linux and BSD. Actually, with Oracle I had display refresh issues with the desktop wallet, OpenJFX works better for me.
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322

martismartis

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1202
    • View Profile
  • Karma: +67/-10
Re: NRS v1.8.1
April 14, 2016, 05:03:35 am

What is this error about?

Code: [Select]
2016-04-14 07:58:38 SEVERE: Error in blockchain download thread
nxt.Account$DoubleSpendingException: Unconfirmed exceeds confirmed balance or quantity:  account: 10693677638372849555 confirmed: 0 unconfirmed: 100000000
at nxt.Account.checkBalance(Account.java:1762)
at nxt.Account.addToUnconfirmedBalanceNQT(Account.java:1690)
at nxt.TransactionType.undoUnconfirmed(TransactionType.java:247)
at nxt.TransactionImpl.undoUnconfirmed(TransactionImpl.java:1063)
at nxt.TransactionProcessorImpl.requeueAllUnconfirmedTransactions(TransactionProcessorImpl.java:496)
at nxt.BlockchainProcessorImpl.pushBlock(BlockchainProcessorImpl.java:1361)
at nxt.BlockchainProcessorImpl.access$1100(BlockchainProcessorImpl.java:64)
at nxt.BlockchainProcessorImpl$1.downloadBlockchain(BlockchainProcessorImpl.java:562)
at nxt.BlockchainProcessorImpl$1.downloadPeer(BlockchainProcessorImpl.java:277)
at nxt.BlockchainProcessorImpl$1.run(BlockchainProcessorImpl.java:190)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)


My Raspi public node stuck with this error and do not download blockchain and CPU is about 90% activity.

Riker

  • Core Dev
  • Hero Member
  • *****
  • Online Online
  • Posts: 1500
    • View Profile
  • Karma: +396/-42
Re: NRS v1.8.1
April 14, 2016, 05:32:54 am

What is this error about?

Code: [Select]
2016-04-14 07:58:38 SEVERE: Error in blockchain download thread
nxt.Account$DoubleSpendingException: Unconfirmed exceeds confirmed balance or quantity:  account: 10693677638372849555 confirmed: 0 unconfirmed: 100000000
at nxt.Account.checkBalance(Account.java:1762)
at nxt.Account.addToUnconfirmedBalanceNQT(Account.java:1690)
at nxt.TransactionType.undoUnconfirmed(TransactionType.java:247)
at nxt.TransactionImpl.undoUnconfirmed(TransactionImpl.java:1063)
at nxt.TransactionProcessorImpl.requeueAllUnconfirmedTransactions(TransactionProcessorImpl.java:496)
at nxt.BlockchainProcessorImpl.pushBlock(BlockchainProcessorImpl.java:1361)
at nxt.BlockchainProcessorImpl.access$1100(BlockchainProcessorImpl.java:64)
at nxt.BlockchainProcessorImpl$1.downloadBlockchain(BlockchainProcessorImpl.java:562)
at nxt.BlockchainProcessorImpl$1.downloadPeer(BlockchainProcessorImpl.java:277)
at nxt.BlockchainProcessorImpl$1.run(BlockchainProcessorImpl.java:190)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)


My Raspi public node stuck with this error and do not download blockchain and CPU is about 90% activity.

On my node account NXT-2XWM-6YAW-KHBT-BMWTA (10693677638372849555) has balance of 120 NXT and everything seems to work normally.
Can you post your full nxt.log somewhere ?
NXT Core Dev
Account: NXT-HBFW-X8TE-WXPW-DZFAG
Public Key: D8311651 Key fingerprint: 0560 443B 035C EE08 0EC0  D2DD 275E 94A7 D831 1651

martismartis

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1202
    • View Profile
  • Karma: +67/-10
Re: NRS v1.8.1
April 14, 2016, 06:36:37 am

What is this error about?

Code: [Select]
2016-04-14 07:58:38 SEVERE: Error in blockchain download thread
nxt.Account$DoubleSpendingException: Unconfirmed exceeds confirmed balance or quantity:  account: 10693677638372849555 confirmed: 0 unconfirmed: 100000000
at nxt.Account.checkBalance(Account.java:1762)
at nxt.Account.addToUnconfirmedBalanceNQT(Account.java:1690)
at nxt.TransactionType.undoUnconfirmed(TransactionType.java:247)
at nxt.TransactionImpl.undoUnconfirmed(TransactionImpl.java:1063)
at nxt.TransactionProcessorImpl.requeueAllUnconfirmedTransactions(TransactionProcessorImpl.java:496)
at nxt.BlockchainProcessorImpl.pushBlock(BlockchainProcessorImpl.java:1361)
at nxt.BlockchainProcessorImpl.access$1100(BlockchainProcessorImpl.java:64)
at nxt.BlockchainProcessorImpl$1.downloadBlockchain(BlockchainProcessorImpl.java:562)
at nxt.BlockchainProcessorImpl$1.downloadPeer(BlockchainProcessorImpl.java:277)
at nxt.BlockchainProcessorImpl$1.run(BlockchainProcessorImpl.java:190)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)


My Raspi public node stuck with this error and do not download blockchain and CPU is about 90% activity.

On my node account NXT-2XWM-6YAW-KHBT-BMWTA (10693677638372849555) has balance of 120 NXT and everything seems to work normally.
Can you post your full nxt.log somewhere ?

Well, seems database is corrupted, I run another node on the same LAN and it work good. Will download db from peerexplorer. There is nothing interesting in nxt.log, just these errors every few seconds and some usual FINE stuff, except blockchain download.

Jean-Luc

  • Core Dev
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1580
    • View Profile
  • Karma: +796/-81
Re: NRS v1.8.1
April 14, 2016, 08:24:38 am

If you haven't restarted it yet, what is your peer IP (assuming it is with open API)?
GPG key fingerprint: 263A 9EB0 29CF C77A 3D06  FD13 811D 6940 E1E4 240C
NXT-X4LF-9A4G-WN9Z-2R322
Pages: 1 2 [3] 4  All