# ERROR nodestats:cache Get disk space usage query failed {"error": "context canceled"}

**URL:** <https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601>\
**Category:** troubleshooting\
**Tags:** cgnat, port-forwarding\
**Created:** [November 13, 2019, 4:54pm UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601 "2019-11-13T16:54:10Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![redz](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/redz/32/67_2.png) [@redz](https://forum.storj.io/u/redz)\
**Post date:** [November 13, 2019, 4:54pm UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/1 "2019-11-13T16:54:10Z")

</div>

Help pls… 🙂  
Dashboard says OFFLINE. this is the only ERROR on logs.  
ERROR nodestats:cache Get disk space usage query failed {“error”: “context canceled”}

---

<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:** [November 13, 2019, 10:12pm UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/2 "2019-11-13T22:12:12Z")

</div>

Please, use this checklist:

> [@My Node is OFFLINE for 2 hours](https://forum.storj.io/t/my-node-is-offline-for-2-hours/736/2):
>
> It should connect in seconds. There are a few things you should check. Start with checking the port. On [https://www.yougetsignal.com/tools/open-ports/?port=28967](https://www.yougetsignal.com/tools/open-ports/?port=28967) you can fill in the domain or IP you are using in the run command. Then check the port. If it’s closed, it could still be several things. Make sure the WAN IP you see in your router settings matches the IP shown on the above page. Make sure your port forward is set up correctly. That means no filter on incoming IPs, forwarding to th…

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [November 13, 2019, 10:21pm UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/3 "2019-11-13T22:21:29Z")

</div>

I think this may actually be a matter of a restarting node because it can’t access the storage device or something. Are you using direct attached storage or network attached? SMB, NFS etc.?

---

<div class="post-metadata">

**Author:** ![redz](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/redz/32/67_2.png) [@redz](https://forum.storj.io/u/redz)\
**Post date:** [November 13, 2019, 11:22pm UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/4 "2019-11-13T23:22:18Z")

</div>

Direct attached. checked everything. still offline and port still closed.

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [November 13, 2019, 11:36pm UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/5 "2019-11-13T23:36:15Z")

</div>

Can you post a bit more of your log. Try stopping the node, starting it and copying the log you see after a few minutes. Perhaps some more context gives us a bit more of a clue what’s going on.

---

<div class="post-metadata">

**Author:** ![redz](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/redz/32/67_2.png) [@redz](https://forum.storj.io/u/redz)\
**Post date:** [November 14, 2019, 3:02am UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/6 "2019-11-14T03:02:56Z")

</div>

did a ‘docker rm storagenode’. then created a new node. no more ERROR msg but still offline. so i’m thinking its the a port problem. but checked everything and from what i can see nothing seems wrong with my port forward set up.

---

<div class="post-metadata">

**Author:** ![redz](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/redz/32/67_2.png) [@redz](https://forum.storj.io/u/redz)\
**Post date:** [November 14, 2019, 3:04am UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/7 "2019-11-14T03:04:39Z")

</div>

Storage Node Dashboard ( Node Version: v0.25.1 )

======================

ID 12f1H8srz5PUSmPoRuFuefXCMXUSMJVuCztov5JniRhzyj3h4E1  
Last Contact OFFLINE  
Uptime 8m38s

```
               Available Used Egress Ingress
 Bandwidth 2.9 TB 72.8 GB 4.2 GB 68.5 GB (since Nov 1)
      Disk 1.3 TB 0.7 TB

```

Internal 127.0.0.1:7778  
External [redzstorj.ddns.net:28967](http://redzstorj.ddns.net:28967)

2019-11-14T02:55:00.322Z INFO Configuration loaded from: /app/config/config.yaml  
2019-11-14T02:55:00.337Z INFO Operator email: rvr\*\*@gmail.com  
2019-11-14T02:55:00.337Z INFO operator wallet: 0xbc58A8780E2c54\*\*  
2019-11-14T02:55:02.139Z INFO version running on version v0.25.1  
2019-11-14T02:55:02.159Z INFO db.migration Database Version {“version”: 25}  
2019-11-14T02:55:02.170Z INFO contact:chore Storagenode contact chore starting up  
2019-11-14T02:55:02.170Z INFO bandwidth Performing bandwidth usage rollups  
2019-11-14T02:55:02.170Z INFO Node 12f1H8srz5PUSmPoRuFuefXCMXUSMJVuCztov5JniRhzyj3h4E1 started  
2019-11-14T02:55:02.170Z INFO Public server started on [::]:28967  
2019-11-14T02:55:02.170Z INFO Private server started on 127.0.0.1:7778  
2019-11-14T02:55:02.210Z INFO piecestore:monitor Remaining Bandwidth {“bytes”: 2927217858816}  
2019-11-14T02:55:02.384Z INFO version running on version v0.25.1

---

<div class="post-metadata">

**Author:** ![redz](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/redz/32/67_2.png) [@redz](https://forum.storj.io/u/redz)\
**Post date:** [November 14, 2019, 3:05am UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/8 "2019-11-14T03:05:44Z")

</div>

PS C:\Users\rvroj\> docker exec -it storagenode ls -l /app/identity  
total 14  
-rwxr-xr-x 1 root root 546 Jul 8 22:00 ca.1562623220.cert  
-rwxr-xr-x 1 root root 1076 Jul 8 22:00 ca.cert  
-rwxr-xr-x 1 root root 241 Jul 8 21:58 ca.key  
-rwxr-xr-x 1 root root 1088 Jul 8 22:00 identity.1562623220.cert  
-rwxr-xr-x 1 root root 1618 Jul 8 22:00 identity.cert  
-rwxr-xr-x 1 root root 241 Jul 8 21:58 identity.key

---

<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:** [November 14, 2019, 7:11am UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/9 "2019-11-14T07:11:39Z")

</div>

Please, check every case from the check list. This error is not related to the storage, it’s about the offline, so the connectivity issue.

---

<div class="post-metadata">

**Author:** ![BrightSilence](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/brightsilence/32/6048_2.png) [@BrightSilence](https://forum.storj.io/u/BrightSilence)\
**Post date:** [November 14, 2019, 7:18am UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/10 "2019-11-14T07:18:22Z")

</div>

Yeah, my bad. If there are no errors anymore it must be a normal connection error as @Alexey mentioned. All possible causes and fixes for that are on the topic already linked. Double-check everything even if you set it up right before. Things can change like IPs or firewall rules disappearing. Don’t assume you set anything up correctly already.

---

<div class="post-metadata">

**Author:** ![redz](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/redz/32/67_2.png) [@redz](https://forum.storj.io/u/redz)\
**Post date:** [November 14, 2019, 10:54am UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/11 "2019-11-14T10:54:42Z")

</div>

☹ really tried everything… my only guess now is it’s an ISP problem. ☹ thanks for the help guys…

---

<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:** [November 14, 2019, 8:34pm UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/12 "2019-11-14T20:34:49Z")

</div>

We can try together. But I’m think that your WAN IP doesn’t match the public IP. It’s very often problem, because most of ISP uses [CGN](https://en.wikipedia.org/wiki/Carrier-grade_NAT) today

---

<div class="post-metadata">

**Author:** ![redz](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/redz/32/67_2.png) [@redz](https://forum.storj.io/u/redz)\
**Post date:** [November 17, 2019, 11:01am UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/13 "2019-11-17T11:01:06Z")

</div>

![noip](https://storj-s3.bcdn.literatehosting.net/original/1X/6124e255993b4b48f13e647f13440c3ba19bba46.png) ![wan](https://storj-s3.bcdn.literatehosting.net/original/1X/52740ca49d5e4d8c14efd387babd3dc378e93361.png)

so this is the problem then? how can this be solved?  
thanks Alexey!

---

<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:** [November 17, 2019, 1:47pm UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/14 "2019-11-17T13:47:00Z")

</div>

Yes, that’s the problem. You do not have a public IP.  
To solve this you have a few options:

- switch the ISP to the other one which can give you a public IP (it could be dynamic, but should match the WAN IP);
- ask your current ISP give you a public IP;
- use a VPN with port forwarding option, such as PIA, ngrok, [portmap.io](http://portmap.io), PureVPN, etc.

---

<div class="post-metadata">

**Author:** ![redz](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/redz/32/67_2.png) [@redz](https://forum.storj.io/u/redz)\
**Post date:** [November 17, 2019, 3:04pm UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/15 "2019-11-17T15:04:43Z")

</div>

Thank Alexey for all the help…

need your help one last time cause i’m not really that technical. but im great at following instructions.lol  
nwei, can you pls help me set up [portmap.io](http://portmap.io)?

 ![portmap](https://storj-s3.bcdn.literatehosting.net/original/1X/9006b04ba5775561c89110dbc8b92bb956cb8e02.png)

i’m getting this error:  
PS C:\Users\rvroj\> docker logs --tail 20 storagenode  
2019-11-17T13:53:22.116Z INFO bandwidth Performing bandwidth usage rollups  
2019-11-17T13:53:23.665Z INFO version running on version v0.25.1  
2019-11-17T14:08:23.410Z INFO version running on version v0.25.1  
2019-11-17T14:11:58.246Z ERROR telemetry failed sending report: lookup [collectora.storj.io](http://collectora.storj.io) on 192.168.65.1:53: read udp 172.17.0.2:41963-\>192.168.65.1:53: i/o timeout  
2019-11-17T14:23:23.251Z INFO version running on version v0.25.1  
2019-11-17T14:34:06.973Z INFO Got a signal from the OS: “terminated”  
2019-11-17T14:34:12.429Z INFO Configuration loaded from: /app/config/config.yaml  
2019-11-17T14:34:12.439Z INFO Operator email: [rvrojas9@gmail.com](mailto:rvrojas9@gmail.com)  
2019-11-17T14:34:12.439Z INFO operator wallet: 0xbc  
2019-11-17T14:34:13.541Z INFO version running on version v0.25.1  
2019-11-17T14:34:13.588Z INFO db.migration Database Version {“version”: 25}  
2019-11-17T14:34:13.608Z INFO bandwidth Performing bandwidth usage rollups  
2019-11-17T14:34:13.609Z INFO Node 12f1H8srz5PUSmPoRuFuefXCMXUSMJVuCztov5JniRhzyj3h4E1 started  
2019-11-17T14:34:13.609Z INFO Public server started on [::]:28967  
2019-11-17T14:34:13.609Z INFO Private server started on 127.0.0.1:7778  
2019-11-17T14:34:13.608Z INFO contact:chore Storagenode contact chore starting up  
2019-11-17T14:34:13.833Z INFO piecestore:monitor Remaining Bandwidth {“bytes”: 2927217858816}  
2019-11-17T14:34:13.833Z WARN piecestore:monitor Disk space is less than requested. Allocating space {“bytes”: 2994339206912}  
2019-11-17T14:34:14.609Z INFO version running on version v0.25.1  
2019-11-17T14:49:14.677Z INFO version running on version v0.25.1

---

<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:** [November 17, 2019, 3:47pm UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/16 "2019-11-17T15:47:57Z")

</div>

You should place the generated by [portmap.io](http://portmap.io) host with a given port in the `ADDRESS` parameter in case of `docker run` and port mapping `-p 28967:28967`. If your OpenVPN connection is running, then your node should be online.

Also, seems your default DNS does not work, please set the 8.8.8.8 or 1.1.1.1 as a one of the default DNS either on your router or in the configuration of your PC.

---

<div class="post-metadata">

**Author:** ![redz](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/redz/32/67_2.png) [@redz](https://forum.storj.io/u/redz)\
**Post date:** [November 17, 2019, 6:14pm UTC](https://forum.storj.io/t/error-nodestats-cache-get-disk-space-usage-query-failed-error-context-canceled/2601/17 "2019-11-17T18:14:40Z")

</div>

Got it back online… thanks!
