sandoche / Proof-of-Stake-Cryptocurrency-generator

🍀 Create your own Proof of Stake cryptocurrency with its own blockchain based on NXT
https://coingenerator.sh
MIT License
359 stars 438 forks source link

error in login #16

Open setarehAf opened 6 years ago

setarehAf commented 6 years ago

Hi, I try to compile and run codes in windows and try lots of ways but all of them failed. at last I decided to run codes in eclips on tomcat server. It was OK everything compiled, run and I create new account. it started to download blockchain, but after a while logout and I have this error "cannot connect to /nxt-proxy no openapi peers found" and I cant login again, what happend? how can I fix it?

sandoche commented 6 years ago

I am not sure what is the root cause of this error. But I know that the solution for it is to open the wallet url in private navigation!

If you find the root cause and how to fix it, please let me know. I'll try to contact the NXT team also.

setarehAf commented 6 years ago

there is another problem ,the "downloadJPLSnapshot" is not in "http://localhost:7876/test?requestTag=ADDONS". is this depends on downloading all blockchians?

sandoche commented 6 years ago

Can you go on conf/nxt.properties and check if this setting is there: nxt.addOns=nxt.addons.JPLSnapshot

If you use the nxt folder included in the CoinGenerator repository it should already be activated.

setarehAf commented 6 years ago

I can't find nxt.addOns=nxt.addons.JPLSnapshot in conf/nxt.properties. Have you any solution?

sandoche commented 6 years ago

Then you should add it.

setarehAf commented 6 years ago

I add it but 'downloadJPLSnapshot' not found again :(

setarehAf commented 6 years ago

downloadJPLSnapshot not found in "http://localhost:7876/test?requestTag=ADDONS", is it because of I run NXT on tomcat server?

sandoche commented 6 years ago

I am not 100% sure, but maybe

Casper0513 commented 4 years ago

I am running Ubuntu 18.04 LTS but running the repository from Github and I am running "npm run nxt" and I am running into the same issue now as well I am still able to run wallet in Terminal but cant login @ "http://localhost:7876/index.html"

ollyde commented 3 years ago

Also can't find downloadJPLSnapshot the instructions are not great; it's confusing to set this up. I added the line 'restarted' the client; nothing. Very poor.

digifilm4 commented 2 years ago

Okay, I've been working my way through the following tutorial: https://medium.com/learning-lab/how-to-build-your-own-cryptocurrency-proof-of-stake-in-just-a-few-minutes-6d526bca4a91

I have reached the point where I do not have access to the downloadJPLSnapshot via Nxt http API nor can write/modify any of the class or lib docs with nxt.addOns=nxt.addons.JPLSnapshot, I do not have permissions. Any help being able to add my newGenesisAccounts json would be appreciated.

digifilm4 commented 2 years ago

Okay, I have figured out how to get the downloadJPLSnapshot on Windows. Like with most of these process trees, when in doubt make sure you are running npm nxt in the background (I use Windows so I go to my next folder, in the URL type cmd, and paste 'run sh ./win-compile.sh' I've run the .bat file and it just gives me a conflict error, run separately the sh./compile and .bat seem to do the same thing.

With the npm running in the background go to: C:\Users****\Desktop\Proof-of-Stake-Cryptocurrency-generator\nxt\conf and locate the next-default file. Open the file and under the heading #### Processes #### and add 'nxt.addOns=nxt.addons.JPLSnapshot' and save. Close out npm (make sure npm is no longer running) and then run npm again. This time when you go to the http://localhost:7876/test?requestTag=ADDONS the add-on will be the only add on there (or least it was for me).

*I had to upgrade to the NXT 1.12.3 from the NXT 1.12.2 provided in the Github.

Anyone know how to verify that I have completed the generation of the coins successfully? I have completed all the steps in the Proof of Stake Coin Generator tutorial but have no idea where my coins are or where I can find them.