# QUIC misconfiguration in v1.86.1

**URL:** <https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610>\
**Category:** troubleshooting\
**Tags:** quic-udp, freebsd\
**Created:** [August 25, 2023, 7:45am UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610 "2023-08-25T07:45:11Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![etienneb](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/etienneb/32/1121_2.png) [@etienneb](https://forum.storj.io/u/etienneb)\
**Post date:** [August 25, 2023, 7:45am UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/1 "2023-08-25T07:45:11Z")

</div>

Hi,  
I run Storj node in a freebsd jail (inside truenas) and it has been running fine for 4 months.  
It automatically updates to a new version.  
About 2 days ago it auto updated to version 1.86.1  
And now I get a QUIC misconfiguration error.  
The port forwarding and IP have not changed and worked fine.

It did get a normal ingress/egress yesterday, so it doesn’t seem to have influenced the node.

Any ideas? Pretty noob on StorJ nodes, sorry.

best,  
Etienne

---

<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:** [August 25, 2023, 8:33am UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/2 "2023-08-25T08:33:17Z")

</div>

Hello @etienneb ,  
Welcome to the forum!

Looks like a freeBSD behavior:

> [@Binding to a specific interface to stabilize QUIC connectivity](https://forum.storj.io/t/binding-to-a-specific-interface-to-stabilize-quic-connectivity/23601):
>
> TLDR: if you are having flaky QUIC connectivity, go to the config file, and add an explicit interface address to the line server address line. e.g.: server.address: 10.0.17.120:28967 Backstory: I noticed that this morning, at 7:30PM PST according to the logs all three my nodes on three separate machines, in three separate states, connected in two different ways (one directly, and the other two over VPS) all lost ability to see QUICK. It was rather bizarre, and I don’t know why that happened. Th…

---

<div class="post-metadata">

**Author:** ![etienneb](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/etienneb/32/1121_2.png) [@etienneb](https://forum.storj.io/u/etienneb)\
**Post date:** [August 25, 2023, 9:34am UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/3 "2023-08-25T09:34:18Z")

</div>

Thanks @Alexey that did the trick.  
Entering my server IP inside the config.yaml on the storagenode drive.

Strangely, it worked fine for all versions until 1.86.1. The system autoupdated whenever a version came available. So 1.85 was fine too.

---

<div class="post-metadata">

**Author:** ![snorkel](https://storj.bcdn.literatehosting.com/letter_avatar/snorkel/32/5_5575768a8748004e209b776fc1b2916d.png) [@snorkel](https://forum.storj.io/u/snorkel)\
**Post date:** [August 25, 2023, 11:52am UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/4 "2023-08-25T11:52:45Z")

</div>

So it’s just a FreeBSD thing?

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [August 25, 2023, 3:13pm UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/5 "2023-08-25T15:13:53Z")

</div>

We don’t know that. it did start happening with 1.86.1 update, on all my three unrelated machines. Whether this is storagenode bug (including in the libraries) or simply a change that surfaced bug somewhere else — needs determining.

All other services work fine, so it’s related to storagenode. This does not mean it’s a storagenode bug. But it doesn’t mean the opposite either. We just don’t know, more investigation is needed. I would start with comparing go.mod before and after in case there is some third party networking lib updated and introduced this behavior. I doubt the issue would be in storagenode source itself.

---

<div class="post-metadata">

**Author:** ![snorkel](https://storj.bcdn.literatehosting.com/letter_avatar/snorkel/32/5_5575768a8748004e209b776fc1b2916d.png) [@snorkel](https://forum.storj.io/u/snorkel)\
**Post date:** [August 25, 2023, 4:06pm UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/6 "2023-08-25T16:06:24Z")

</div>

I have one Synology updated and is working fine.

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [August 25, 2023, 4:21pm UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/7 "2023-08-25T16:21:44Z")

</div>

Of course. If it was broken for everyone it would not have passed QA.

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [August 25, 2023, 4:26pm UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/8 "2023-08-25T16:26:44Z")

</div>

> [@etienneb](#):
>
> Strangely, it worked fine for all versions until 1.86.1. The system autoupdated whenever a version came available. So 1.85 was fine too.

That was the case for me too. But when I rolled back to 85 the issue persisted.

I’ll test with 85 again. Maybe there was some back off mechanism after multiple failures so it would not even try with reverted node.

I’ll report here.

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [August 26, 2023, 6:38am UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/9 "2023-08-26T06:38:33Z")

</div>

I did not analyze all code changes, but just looking at the difference in modules linked between “good” and “bad” releases, this catches the eye (see `go.mod`):

1. `golang.org/x/net`, which provides socket support among other networky thing, was updated from **v0.9.0** to **v0.10.0**
2. `github.com/quic-go/quic-go`, which, well, does the obviously relevant to the present discussion thing, was updated from **v0.32.0** to **v0.37.4**!
3. Related, `github.com/quic-go/qtls-go1-20` was updated from **v0.1.0** to **v0.3.1**!!

That’s quite a massive upgrade, and I bet the culprit is in there.

Were there any reasons for such a drastic update of these crucial dependencies? I would roll everything back and only upgrade things that need to be upgraded for the reasons well understood, not just because some fella released a new update.

> **[Comparing v1.85.1...v1.86.1 · storj/storj](https://github.com/storj/storj/compare/v1.85.1...v1.86.1)**
>
> Ongoing Storj v3 development. Decentralized cloud object storage that is affordable, easy to use, private, and secure. - Comparing v1.85.1...v1.86.1 · storj/storj

---

<div class="post-metadata">

**Author:** ![snorkel](https://storj.bcdn.literatehosting.com/letter_avatar/snorkel/32/5_5575768a8748004e209b776fc1b2916d.png) [@snorkel](https://forum.storj.io/u/snorkel)\
**Post date:** [August 26, 2023, 6:58am UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/10 "2023-08-26T06:58:29Z")

</div>

I don’t know if they should roll back those things, because this update made my download success rates on updated nodes hit ATH. They hit 97% DSR, from 75%. Maybe I’m mistaken somehow, or my setups have some hickups, and the time frame of verifications is too small, but for now I’m pretty happy how things look.

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [August 26, 2023, 7:21am UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/11 "2023-08-26T07:21:27Z")

</div>

Hence, carefully upgrading what needed no to introduce new bugs. On the other hand, I doubt success rate has anything to do with the backend libraries. You can revert to previous version to see if success rate follows

---

<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:** [August 26, 2023, 9:08am UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/12 "2023-08-26T09:08:56Z")

</div>

But you said that you tried a previous version and this did not change anything?

> [@arrogantrabbit](#):
>
> Hence, carefully upgrading what needed no to introduce new bugs.

I’m agree, however, I do not think that we have an extensive tests for freeBSD specifically (even Windows and macOS not so covered), especially cases with multiple interfaces…

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [August 26, 2023, 5:23pm UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/13 "2023-08-26T17:23:44Z")

</div>

> [@Alexey](#):
>
> But you said that you tried a previous version and this did not change anything?

I’ll redo the experiments, maybe I’ve screwed up that one. Now that it’s not just me seeing this, and in both cases after upgrade to the 1.86.1, looks suspicious.

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [August 26, 2023, 8:13pm UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/14 "2023-08-26T20:13:19Z")

</div>

@Alexey, yep, I’m the doofus, when I downgraded the node, my auto-updater happened to kick in shortly after and updated it back to the current one, and I did not notice.

Now I confirm it’s definitely a **regression in 1.86.1**.

Her is what I did:

1. removed the IP in config, and downgraded to **1.84.2** :

2. Then I upgraded to **1.86.1**

3. Then back to **1.84.2** – OK, back to **1.86.1** – Misconfigured (did not save screenshot)

4. Then to 1.85.1 – OK

5. Then back to 1.86.1 – Misconfigured

6. Then added IP back:

I think this is a fairly conclusive confirmation that the regression is in 1.86.1

I could regress individual changes, but this will require more time, and a bit rusty on go build system, assuming it’s possible to build a storagenode from scratch

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [August 26, 2023, 8:49pm UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/15 "2023-08-26T20:49:02Z")

</div>

I’ve filed a bug for this: [1.86.1: storagenode QUIC connectivity regression on FreeBSD · Issue #6216 · storj/storj · GitHub](https://github.com/storj/storj/issues/6216)

---

<div class="post-metadata">

**Author:** ![etienneb](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/etienneb/32/1121_2.png) [@etienneb](https://forum.storj.io/u/etienneb)\
**Post date:** [August 26, 2023, 10:48pm UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/16 "2023-08-26T22:48:25Z")

</div>

Wow, thorough testing. Thanks.

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [October 23, 2023, 9:27pm UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/17 "2023-10-23T21:27:21Z")

</div>

My nodes updated to 1.90.2 two hours ago and all of them are now quic misconfigured. I won’t be able to look into regressing this again until evening.

@Alexey, does storj test on FreeBSD as part of qa? This is so reliably broken — how come it was allowed to make it to the public?

---

<div class="post-metadata">

**Author:** ![thepaul](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/thepaul/32/65_2.png) [@thepaul](https://forum.storj.io/u/thepaul)\
**Post date:** [October 23, 2023, 9:44pm UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/18 "2023-10-23T21:44:34Z")

</div>

> [@arrogantrabbit](#):
>
> My nodes updated to 1.90.2 two hours ago and all of them are now quic misconfigured. I won’t be able to look into regressing this again until evening.

I suggest looking for the phrase `"Your node is still considered to be online but encountered an error"` in your logs. If that line does not appear in the logs since you started running with 1.90.2, then you may be seeing a dashboard bug, corroborated by [Not so... QUIC... Correctly "Misconfigured"](https://forum.storj.io/t/not-so-quic-correctly-misconfigured/24088).

If you do find that phrase, it should have an error message attached describing why the server failed to contact your node with QUIC.

---

<div class="post-metadata">

**Author:** ![arrogantrabbit](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/arrogantrabbit/32/11200_2.png) [@arrogantrabbit](https://forum.storj.io/u/arrogantrabbit)\
**Post date:** [October 23, 2023, 9:47pm UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/19 "2023-10-23T21:47:23Z")

</div>

```auto
2023-10-23T14:44:38-07:00 WARN contact:service Your node is still considered to be online but encountered an error. {"process": "storagenode", "Satellite ID": "12L9ZFwhzVpuEKMUNUqkaTLGzwY9G24tbiigLiXpmZWKwmcNDDs", "Error": "contact: failed to ping storage node using QUIC, your node indicated error code: 0, rpc: quic: timeout: no recent network activity"}
2023-10-23T14:44:38-07:00 WARN contact:service Your node is still considered to be online but encountered an error. {"process": "storagenode", "Satellite ID": "121RTSDpyNZVcEU84Ticf2L1ntiuUimbWgfATz21tuvgk3vzoA6", "Error": "contact: failed to ping storage node using QUIC, your node indicated error code: 0, rpc: quic: timeout: no recent network activity"}

```

NodeID: 12ou4iHaJCon9MFDpNC8ZX3Byz3Rb7UJUiwv3MucHsBKEQCuTQA

---

<div class="post-metadata">

**Author:** ![thepaul](https://storj.bcdn.literatehosting.com/user_avatar/forum.storj.io/thepaul/32/65_2.png) [@thepaul](https://forum.storj.io/u/thepaul)\
**Post date:** [October 23, 2023, 10:03pm UTC](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610/20 "2023-10-23T22:03:29Z")

</div>

> [@arrogantrabbit](#):
>
> ```auto
> your node indicated error code: 0, rpc: quic: timeout: no recent network activity
> 
> ```

This indicates that the server _was_ able to connect to your node with QUIC, but then had a timeout while trying to call a “ping” RPC on the node. So my guess was wrong, this probably isn’t related to the potential dashboard bug.

Did QUIC start working on your nodes at some point since August? The linked bugs [6216](https://github.com/storj/storj/issues/6216) and [6186](https://github.com/storj/storj/issues/6186) don’t seem to indicate that anything was fixed.

[Next page](https://forum.storj.io/t/quic-misconfiguration-in-v1-86-1/23610.md?page=2)
