calxibe / StorjMonitor

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

Error #25

Closed phithor closed 5 years ago

phithor commented 6 years ago

I am getting a plain error message when running StorjMonitor inside a docker image with both storjshare and StorjMonitor inside.

Log output:

[10:03:01] nodeid1| Submit to Storjstat [10:03:01] nodeid2| Submit to Storjstat [10:03:01] nodeid3| Submit to Storjstat [10:03:01] nodeid4| Submit to Storjstat [10:03:01] nodeid1| Error [10:03:02] nodeid2| Error [10:03:02] nodeid3| Error [10:03:02] nodeid4| Error

Any clues to what could cause this?

stefanbenten commented 6 years ago

@phithor Do you have a complete log from that error?

mirnyyy commented 6 years ago

I have the same: [10:44:27] 8a8ac13a07ab073be34db8a083c1b34a3ef0e59a | Submit to Storjstat [10:44:27] fe89ba1415839f7acbf74f335c4a9f81f76097bb | Submit to Storjstat [10:44:27] 984acad726f809fb310208f17e83f81f86c27b54 | Submit to Storjstat [10:44:27] 0ceeaa46936b939ad0a2eca1b8ee0e5ae854c8f5 | Submit to Storjstat [10:44:27] e264c56808c7bca4f54f606d16c923982d8653e8 | Submit to Storjstat [10:44:27] 984acad726f809fb310208f17e83f81f86c27b54 | Error [10:44:27] fe89ba1415839f7acbf74f335c4a9f81f76097bb | Error [10:44:27] e264c56808c7bca4f54f606d16c923982d8653e8 | Error [10:44:27] 8a8ac13a07ab073be34db8a083c1b34a3ef0e59a | Error [10:44:27] 0ceeaa46936b939ad0a2eca1b8ee0e5ae854c8f5 | Error

Nodes running fine:

https://imgur.com/a/IiVz4uO

which logs you need?

phithor commented 6 years ago

The issue came from a faulty setup in a docker image. I think the reason was only that the docker initializing script did not add the API correctly. My issue is resolved. @mirnyyy can you check if your setup is correct? I think the monitor should provide a more descriptive error message, an API key mistake is easy to discover in the script i would assume.

stefanbenten commented 6 years ago

Did you guys enter your API Key correctly?

mirnyyy commented 6 years ago

I think so, I typed API exactly the same way as in Win7. Windows is working (x2), but Ubuntu won't(x3).

stefanbenten commented 6 years ago

@mirnyyy Please check the key being present correctly on your ubuntu machines, i am fairly sure thats the issue, why it is throwing an error.

stefanbenten commented 5 years ago

Closing this ticket as there are no new updates.