When checking for updates: The network connection was closed or timed out. Try again later

Current version: TrueNAS® Community Edition 25.10.1.

When checking for an update, I get: Network connection was closed or timed out. Try again later.

What went wrong?

Trace:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 770, in _request
    resp = await handler(req)
           ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 725, in _connect_and_send_request
    conn = await self._connector.connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 642, in connect
    proto = await self._create_connection(req, traces, timeout)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1209, in _create_connection
    _, proto = await self._create_direct_connection(req, traces, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1550, in _create_direct_connection
    transp, proto = await self._wrap_create_connection(
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1283, in _wrap_create_connection
    return await self._loop.create_connection(*args, **kwargs, sock=sock)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 1113, in create_connection
    transport, protocol = await self._create_connection_transport(
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 1146, in _create_connection_transport
    await waiter
asyncio.exceptions.CancelledError

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/plugins/update_/trains.py", line 30, in fetch
    async with client.get(url) as resp:
  File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 1488, in __aenter__
    self._resp: _RetType = await self._coro
                           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 622, in _request
    with timer:
  File "/usr/lib/python3/dist-packages/aiohttp/helpers.py", line 685, in __exit__
    raise asyncio.TimeoutError from exc_val
TimeoutError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/api/base/server/ws_handler/rpc.py", line 360, in process_method_call
    result = await method.call(app, id_, params)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/api/base/server/method.py", line 57, in call
    result = await self.middleware.call_with_audit(self.name, self.serviceobj, methodobj, params, app,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 954, in call_with_audit
    result = await self._call(method, serviceobj, methodobj, params, app=app,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 771, in _call
    return await methodobj(*prepared_call.args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/api/base/decorator.py", line 108, in wrapped
    result = await func(*args)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/update_/profile_.py", line 65, in profile_choices
    current_profile = UpdateProfiles[await self.current_version_profile()]
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/update_/profile_.py", line 84, in current_version_profile
    current_train_releases = await self.middleware.call('update.get_train_releases', manifest['train'])
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1051, in call
    return await self._call(
           ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 771, in _call
    return await methodobj(*prepared_call.args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/update_/trains.py", line 69, in get_train_releases
    return await self.fetch(f"{self.update_srv}/{name}/releases.json")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/middlewared/plugins/update_/trains.py", line 40, in fetch
    raise CallError('Connection timeout while fetching update manifest', errno.ETIMEDOUT)
middlewared.service_exception.CallError: [ETIMEDOUT] Connection timeout while fetching update manifest

Thank you in advance for your help.

Hmm. Didn’t do anything. And it worked.

Temporary rift in the Matrix. :detective:

Did you happen to see two identical cats pass by your house?

I was hoping there was an actual solution. I have had this issue since upgrading to the HalfMoon nightly from 15 Feb. (I had to use it, because 25.10.1 wouldn’t read my zpool that I was bringing over from FreeBSD Release 15.0 and OpenZFS 2.4.0 RC1…)

Are you on a bare metal install of TrueNAS 26? Use Report a Bug on upper right of forum and submit a Debug Dump to your ticket. The users that are testing 26 as a VM get their tickets closed because of not being on bare metal.

I have had the update problem after 2026-02-10 (works), all others nightly updates after fail update.

I would make sure to have excellent backups of your data since you are running a Nightly version

This is on bare metal. Specifically:

Supermicro X10SLH-F mainboard

Xeon E3-1275v3 / 32 GiB ECC.

480G SSD boot drive

1TB SSD data pool 1

6x8TB spinny SAS drives for bulk storage.

I’ll submit a report later this morning, thanks.

Tried to create a bug report, and even that is having issues: DNS issues at TrueNAS?

% ping support-proxy.truenas.com 
ping: support-proxy.truenas.com: Name or service not known 
% nslookup support-proxy.truenas.com 
Server:         192.168.1.1 
Address:        192.168.1.1#53 

Non-authoritative answer: 
*** Can't find support-proxy.truenas.com: No answer 

% nslookup support-proxy.truenas.com 8.8.8.8 
Server:         8.8.8.8 
Address:        8.8.8.8#53 

Non-authoritative answer: 
*** Can't find support-proxy.truenas.com: No answer 

% nslookup support-proxy.truenas.com 1.1.1.1 
Server:         1.1.1.1 
Address:        1.1.1.1#53 

Non-authoritative answer: 
*** Can't find support-proxy.truenas.com: No answer 

% ping google.com 
PING google.com (64.233.185.102) 56(84) bytes of data. 
64 bytes from yb-in-f102.1e100.net (64.233.185.102): icmp_seq=1 ttl=106 time=22.3 ms 
^C 
--- google.com ping statistics --- 
1 packets transmitted, 1 received, 0% packet loss, time 0ms 
rtt min/avg/max/mdev = 22.292/22.292/22.292/0.000 ms
 


Did you click on the Report a Bug on the upper right of the forum?

Yep, and now it’s working anyway. Despite still not being able to resolve the above host.

I dont want to attempt to submit a bug report for that, however.

Temporary rift in the Matrix. :detective:

Did you happen to see two identical posts in the same thread?

1 Like

Wound up trying to a report for something else, and that still fails, so I filed a report on Jira. My first time using Jira. I’m not exactly impressed. But maybe it’s because my current desktop is a Raspberry Pi 5. But holy hell was it slow.