NIS giving 500 error

Folks, NIS seems to fire up, then I get a 500 http when I hit the info, thoughts? Nothing exciting in the logs in the way of stack traces.

java version "1.8.0_25"
Java™ SE Runtime Environment (build 1.8.0_25-b17)
Java HotSpot™ 64-Bit Server VM (build 25.25-b02, mixed mode)

Oct 17, 2014 9:06:00 PM org.springframework.web.servlet.DispatcherServlet initServletBean
INFO: FrameworkServlet 'Spring MVC Dispatcher Servlet': initialization completed in 1867 ms
Oct 17, 2014 9:06:00 PM org.nem.core.deploy.CommonStarter a
INFO: NEM Infrastructure Server is ready to serve. URL is "http://xxx.xxx.xxx.xxx:7890".

nis      3102  6.5 17.2 2286480 174412 ?      Sl  21:05  0:18 java -cp .:./:…/libs/ org.nem.core.deploy.CommonStarter

tcp        0      0 :::7890                    :::*                        LISTEN      601        27103      3102/java
tcp        0      0 ::ffff:127.0.0.1:7890      ::ffff:127.0.0.1:54686      ESTABLISHED 601        27107      3102/java
tcp        0      0 ::ffff:127.0.0.1:54686      ::ffff:127.0.0.1:7890      ESTABLISHED 602        27109      3001/java

INFO: entering /node/info [xxx.xxx.xxx.xxx]
Oct 17, 2014 9:06:21 PM org.nem.core.connect.ErrorResponse <init>
SEVERE: Http Status Code 500: network has not been booted yet

Error message is clear: you have to boot local node from NCC

You need to call /boot

Thanks guys. I presume this is because it requires an open wallet to associate to a public key for the POI? Basically when I reboot the VM for a kernel patch I need to make sure to open my wallet to kick off NIS, is that right? Sorry guys, just getting going with all this.

In other words, even though I have ncc and nis set to start up with the VM, it still doesn't contribute on the network without first opening a wallet (so POI is based on the public-key and not the IP)?

Nevermind, saw BloodyRookie's post:
https://forum.ournem.com/index.php?topic=2526.0

@renolteng.li: you can let NIS autoboot if you edit the config.properties in the nis folder (don't forget to remove the "#" at the beginning of the line):
nis.bootKey = <your private key used for booting>
nis.bootName = <any name you like>
nis.bootWithoutAck = true

Thanks guys. I presume this is because it requires an open wallet to associate to a public key for the POI? Basically when I reboot the VM for a kernel patch I need to make sure to open my wallet to kick off NIS, is that right? Sorry guys, just getting going with all this.

In other words, even though I have ncc and nis set to start up with the VM, it still doesn't contribute on the network without first opening a wallet (so POI is based on the public-key and not the IP)?

Nevermind, saw BloodieRookie's post:
https://forum.ournem.com/index.php?topic=2526.0


You can setup auto-boot to get around it though.

Thanks guys. I presume this is because it requires an open wallet to associate to a public key for the POI? Basically when I reboot the VM for a kernel patch I need to make sure to open my wallet to kick off NIS, is that right? Sorry guys, just getting going with all this.

In other words, even though I have ncc and nis set to start up with the VM, it still doesn't contribute on the network without first opening a wallet (so POI is based on the public-key and not the IP)?

Nevermind, saw BloodyRookie's post:
https://forum.ournem.com/index.php?topic=2526.0
@renolteng.li: you can let NIS autoboot if you edit the config.properties in the nis folder (don't forget to remove the "#" at the beginning of the line):
nis.bootKey = <your private key used for booting>
nis.bootName = <any name you like>
nis.bootWithoutAck = true



nis.bootKey = <your private key used for booting>; where do you find the private key?

KC
1 Like

I have the same problem with the 500 error code. Is there a solution? Can not transfer coins from my wallet or delegate. Pretty much dead in the water.

Fixed my problem. It appears the link to download java on the installation website was pointed at a 32bit version. Installed the 64bit version and the 500 errors disappeared. Still had other problems with the interface, so I removed 32bit java completely from my system. Downloading and synching the blockchain now. Appears to be OK.

This site: http://download.nem.io/installer/
links here: http://java.com/en/download/manual.jsp

On the java page you have to download the 64 bit version of course…

Yeah of course I thought it was the top one. might have been dummy proof just to link directly to each flavor mac, linux, windows. Win64 | Instructions, Mac64. | Instructions, etc. So to avoid confusion.

thats not a good idea, because java.com could change the links and then they are dead on our site.

i agree though that java could just put the “32 bit” behind the links on top. no idea why they do it like this.