calxibe / StorjMonitor

Node.js script for publishing data from local Storj nodes to Storjstat.com
15 stars 14 forks source link

Change token after first start #17

Closed knusperkai closed 6 years ago

knusperkai commented 6 years ago

Hello, I am running StorjMonitor on Ubuntu.

I changed my API-key on StorjStat, now Im trying to do the same inside the storjMonitor.js but it’s still “connecting” by using the old token.

Even reinstall the monitor does not help.

What I am supposed to do?

Thank in advance

stefanbenten commented 6 years ago

How do you tell which Token is being used? Can you please provide some more logs or information about how you determine that this is the case?

knusperkai commented 6 years ago

If I start the service I get the following output:

~/StorjMonitor$ ./storjMon itor.sh
[16:32:55] 519737fcc7* | Submit to Storjstat
[16:33:00] 519737fcc7
| Success

But this token isn't my actual created token on Storjstat

stefanbenten commented 6 years ago

Thats youre NodeID isnt it? The API Key isnt visible in the log iirc

knusperkai commented 6 years ago

Oh man. You are right.... My Node ID starts with the same 2 digits. Like the old token.

So my problem is soluted. Thanks a lot!!

Best regards