# Node Online status

**URL:** <https://forum.storj.io/t/node-online-status/14452>\
**Category:** troubleshooting\
**Tags:** online-score\
**Created:** [June 30, 2021, 4:43pm UTC](https://forum.storj.io/t/node-online-status/14452 "2021-06-30T16:43:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![marksorder](https://storj.bcdn.literatehosting.com/letter_avatar/marksorder/32/6_449c533f586939b6e5f246632a46421f.png) [@marksorder](https://forum.storj.io/u/marksorder)\
**Post date:** [June 30, 2021, 4:43pm UTC](https://forum.storj.io/t/node-online-status/14452/1 "2021-06-30T16:43:11Z")

</div>

Noticed one of my nodes online dropping in spite of showing status online. How do I check to see what is causing it? My other two are at 100% and also showing as online.

I do have the ports forwarded in router and the configuration setup on the server for the port. Just rebooted server as well to see if that corrects.

 ![status](https://storj-s3.bcdn.literatehosting.net/original/2X/3/38c5309f6ca5a9206036bdbf0d95d48ba076e407.jpeg)

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [June 30, 2021, 5:43pm UTC](https://forum.storj.io/t/node-online-status/14452/2 "2021-06-30T17:43:32Z")

</div>

Your node were offline. You can see history of audit requests:

> [@I would love a way to see when downtime events are recorded](https://forum.storj.io/t/i-would-love-a-way-to-see-when-downtime-events-are-recorded/14149/2):
>
> You can use the SNO API to see uptime checks per time window. Just add /api/sno/satellite/12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs to your dashboard url for example. That’s for eu1, change the satelite id in the url for other satellites.

---

<div class="post-metadata">

**Author:** ![marksorder](https://storj.bcdn.literatehosting.com/letter_avatar/marksorder/32/6_449c533f586939b6e5f246632a46421f.png) [@marksorder](https://forum.storj.io/u/marksorder)\
**Post date:** [June 30, 2021, 5:57pm UTC](https://forum.storj.io/t/node-online-status/14452/3 "2021-06-30T17:57:07Z")

</div>

> [@I would love a way to see when downtime events are recorded](https://forum.storj.io/t/i-would-love-a-way-to-see-when-downtime-events-are-recorded/14149/2):
>
> You can use the SNO API to see uptime checks per time window. Just add /api/sno/satellite/12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs to your dashboard url for example. That’s for eu1, change the satelite id in the url for other satellites.

What would have caused them to report as offline? Certainly no configuration issues as all 3 are not reporting the same - the other two are fine - as noted.

What should I be looking for in that url?

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [June 30, 2021, 7:04pm UTC](https://forum.storj.io/t/node-online-status/14452/4 "2021-06-30T19:04:59Z")

</div>

Time and dates. If you would use browser, then open it in the FireFox, it will generate a pretty view for you.  
Or you can use `curl` and `jq` in bash  
Here is example for PowerShell:

> [@I would love a way to see when downtime events are recorded](https://forum.storj.io/t/i-would-love-a-way-to-see-when-downtime-events-are-recorded/14149/3):
>
> For PowerShell ((curl http://localhost:14002/api/sno/satellite/12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs).Content | ConvertFrom-Json).auditHistory.windows

For bash:

```auto
curl http://localhost:14002/api/sno/satellite/12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs | jq .auditHistory.windows

```

---

<div class="post-metadata">

**Author:** ![marksorder](https://storj.bcdn.literatehosting.com/letter_avatar/marksorder/32/6_449c533f586939b6e5f246632a46421f.png) [@marksorder](https://forum.storj.io/u/marksorder)\
**Post date:** [June 30, 2021, 8:36pm UTC](https://forum.storj.io/t/node-online-status/14452/5 "2021-06-30T20:36:54Z")

</div>

> [@Alexey](#):
>
> Time and dates. If you would use browser, then open it in the FireFox, it will generate a pretty view for you.  
> Or you can use `curl` and `jq` in bash  
> Here is example for PowerShell:

Ok. I see time and dates. Again, why would it report as offline when it was not?

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [June 30, 2021, 8:53pm UTC](https://forum.storj.io/t/node-online-status/14452/6 "2021-06-30T20:53:50Z")

</div>

Because your node didn’t answer on audit. Search for dates, when total number audits don’t match online audits.  
In these dates and time your node was not available from outside.  
It could be your ISP, or dynamic IP has changed but your DDNS hostname was not updated in time.  
I would suggest to use [Uptimerobot.com](http://Uptimerobot.com) for monitoring.

---

<div class="post-metadata">

**Author:** ![marksorder](https://storj.bcdn.literatehosting.com/letter_avatar/marksorder/32/6_449c533f586939b6e5f246632a46421f.png) [@marksorder](https://forum.storj.io/u/marksorder)\
**Post date:** [July 4, 2021, 2:04pm UTC](https://forum.storj.io/t/node-online-status/14452/7 "2021-07-04T14:04:35Z")

</div>

This is my point - there is no indication they did not match.

If it was, as you say, the ISP or change in a dynamic IP causing a DDNS hostname not updating - it would be all the servers experiencing the same thing, which has not happened.

That said, what is the detriment to the online scores(which have not yet changed for some of the satellites since reporting) resultant in?

---

<div class="post-metadata">

**Author:** ![Stob](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/stob/32/1137_2.png) [@Stob](https://forum.storj.io/u/Stob)\
**Post date:** [July 5, 2021, 8:45am UTC](https://forum.storj.io/t/node-online-status/14452/8 "2021-07-05T08:45:27Z")

</div>

The online percentage is a rolling 30 day window, so it can take up to 30 days for the outage/downtime to no longer be reflected in the figures.

Make sure the percentages don’t continue to drop, otherwise you may have a problem which needs fixing!

---

<div class="post-metadata">

**Author:** ![marksorder](https://storj.bcdn.literatehosting.com/letter_avatar/marksorder/32/6_449c533f586939b6e5f246632a46421f.png) [@marksorder](https://forum.storj.io/u/marksorder)\
**Post date:** [July 5, 2021, 4:28pm UTC](https://forum.storj.io/t/node-online-status/14452/9 "2021-07-05T16:28:01Z")

</div>

Clearly there is a problem that needs fixing - as of today, some are lower - so clearly there is an issue with something and the storj connection.

Certainly wish someone from storj would assist with resolving the issue.

---

<div class="post-metadata">

**Author:** ![Stob](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/stob/32/1137_2.png) [@Stob](https://forum.storj.io/u/Stob)\
**Post date:** [July 5, 2021, 4:45pm UTC](https://forum.storj.io/t/node-online-status/14452/10 "2021-07-05T16:45:49Z")

</div>

You don’t appear to have provided any log files or audithistory scores. Those would help StorJ employees and other members of the forum to assist in diagnosing further.

Edit - Using my own node as an example the audithistory shows an issue on the 16th June 2021:

![image](https://storj-s3.bcdn.literatehosting.net/original/2X/b/b5c04191fddafafedcb615d14fe3368efc804d2e.png)

With that knowledge I can then go to the full log file and check for ERROR or FATAL:

 ![image](https://storj-s3.bcdn.literatehosting.net/original/2X/3/32f48687c4031f032df96e13c52f9c8b74b2d16a.png)

The log file quite clearly shows a problem. In my case I found out my router stopped port forwarding, so I had to reboot the router.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [July 5, 2021, 7:57pm UTC](https://forum.storj.io/t/node-online-status/14452/11 "2021-07-05T19:57:15Z")

</div>

Could you please provide results of audit checks?

---

<div class="post-metadata">

**Author:** ![marksorder](https://storj.bcdn.literatehosting.com/letter_avatar/marksorder/32/6_449c533f586939b6e5f246632a46421f.png) [@marksorder](https://forum.storj.io/u/marksorder)\
**Post date:** [July 7, 2021, 10:44am UTC](https://forum.storj.io/t/node-online-status/14452/12 "2021-07-07T10:44:10Z")

</div>

> [@Stob](#):
>
> You don’t appear to have provided any log files or audithistory scores. Those would help StorJ employees and other members of the forum to assist in diagnosing further.

Am I supposed to have done so? Did not see any request for that, unless I missed it.

---

<div class="post-metadata">

**Author:** ![marksorder](https://storj.bcdn.literatehosting.com/letter_avatar/marksorder/32/6_449c533f586939b6e5f246632a46421f.png) [@marksorder](https://forum.storj.io/u/marksorder)\
**Post date:** [July 7, 2021, 10:45am UTC](https://forum.storj.io/t/node-online-status/14452/13 "2021-07-07T10:45:13Z")

</div>

> [@Alexey](#):
>
> Could you please provide results of audit checks?

Audits across all servers show 100% (under Suspension & Audit), as reflected in the original post attachment.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [July 7, 2021, 7:48pm UTC](https://forum.storj.io/t/node-online-status/14452/14 "2021-07-07T19:48:33Z")

</div>

Please, provide a list of audit checks, returned by the command for the satellite in question.

---

<div class="post-metadata">

**Author:** ![marksorder](https://storj.bcdn.literatehosting.com/letter_avatar/marksorder/32/6_449c533f586939b6e5f246632a46421f.png) [@marksorder](https://forum.storj.io/u/marksorder)\
**Post date:** [July 8, 2021, 7:24pm UTC](https://forum.storj.io/t/node-online-status/14452/15 "2021-07-08T19:24:10Z")

</div>

It is like pulling teeth with storj - half a dozen posts and still at step 1 of the concern. I’ve seen a substantial amount of people frustrated with storj and the whole process - but now that I am experiencing it, I understand why people leave all the time.

Again, as reflected in the original post attachment.

---

<div class="post-metadata">

**Author:** ![marksorder](https://storj.bcdn.literatehosting.com/letter_avatar/marksorder/32/6_449c533f586939b6e5f246632a46421f.png) [@marksorder](https://forum.storj.io/u/marksorder)\
**Post date:** [July 8, 2021, 7:25pm UTC](https://forum.storj.io/t/node-online-status/14452/16 "2021-07-08T19:25:22Z")

</div>

> [@Alexey](#):
>
> Please, provide a list of audit checks, returned by the command for the satellite in question.

It is like pulling teeth with storj - half a dozen posts and still at step 1 of the concern. I’ve seen a substantial amount of people frustrated with storj and the whole process - but now that I am experiencing it, I understand why people leave all the time.

Again, as reflected in the original post attachment.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [July 8, 2021, 7:43pm UTC](https://forum.storj.io/t/node-online-status/14452/17 "2021-07-08T19:43:40Z")

</div>

Please, execute the command on your PC (I do not know what is your OS) and post results:

## PowerShell

```auto
((curl http://localhost:14002/api/sno/satellite/12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs).Content | ConvertFrom-Json).auditHistory.windows | where{$_.totalCount -ne $_.onlineCount}

```

## bash

```auto
curl http://localhost:14002/api/sno/satellite/12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs | jq '.auditHistory.windows | select(.totalCount != .onlineCount)'

```

Longer you waiting - more data would disappear, because it’s 30 days rolling window  
Added a filter to show only a difference  
In these dates your node was not available at full.

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [July 8, 2021, 8:49pm UTC](https://forum.storj.io/t/node-online-status/14452/19 "2021-07-08T20:49:07Z")

</div>

Your node has all needed data. It was not available for the external services. And you can request this data to see when it’s happened. You can also configure an [uptimerobot.com](http://uptimerobot.com) monitoring to have a nice GUI.

In Windows, could you please open a PowerShell window and paste there a command, then copy results?  
The `cmd.exe` will not work.

Sorry, I do not know what OS are you running now, you didn’t tell that in this thread, so I’m forced to guess.

The command will show you when your node was offline, but not why.  
It can be your ISP, router, PC, power outage, OS upgrade, BSOD or kernel panic - anything.  
The reason impossible to figure out only with storagenode. You need to check all your infrastructure. The storagenode can only show when the problem was.

The storagenode stores detailed data for audit checks in databases. And it has rolling window.  
For today the earliest record would be 2021-06-08T21:07:00Z. So all records before that already gone.

---

<div class="post-metadata">

**Author:** ![soysaws](https://storj.bcdn.literatehosting.com/letter_avatar/soysaws/32/6_449c533f586939b6e5f246632a46421f.png) [@soysaws](https://forum.storj.io/u/soysaws)\
**Post date:** [July 9, 2021, 4:52am UTC](https://forum.storj.io/t/node-online-status/14452/20 "2021-07-09T04:52:30Z")

</div>

Does it mean you went offline if the uptime tracker near the top of your dashboard resets?

---

<div class="post-metadata">

**Author:** ![Alexey](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/alexey/32/41_2.png) [@Alexey](https://forum.storj.io/u/Alexey)\
**Post date:** [July 9, 2021, 8:10am UTC](https://forum.storj.io/t/node-online-status/14452/21 "2021-07-09T08:10:00Z")

</div>

No. This is reset only when your service was restarted (update, reboot, power failure, etc.).  
However, in case of docker for Windows with Hyper-V or docker for Mac the reboot of the host may not affect uptime, because these versions of docker uses a VM, and the hypervisor can save the state of the VM across reboots, so docker won’t actually restart and thus all running containers will continue to run.

[Next page](https://forum.storj.io/t/node-online-status/14452.md?page=2)
