issues upgrading

cpbpilot

Cadet
Joined
Dec 22, 2023
Messages
6
anyone else having issues running updates? I just did a fresh install of 23.01 and when I try to run updates I get "Cannot connect to host update.ixsystems.com:443 ssl:default [Connection reset by peer]: Automatic update check failed. Please check system network settings." or ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))


Error: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 980, in _wrap_create_connection return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/base_events.py", line 1112, in create_connection transport, protocol = await self._create_connection_transport( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/asyncio/base_events.py", line 1145, in _create_connection_transport await waiter File "/usr/lib/python3.11/asyncio/selector_events.py", line 970, in _read_ready__get_buffer nbytes = self._sock.recv_into(buf) ^^^^^^^^^^^^^^^^^^^^^^^^^ ConnectionResetError: [Errno 104] Connection reset by peer The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/middlewared/main.py", line 201, in call_method result = await self.middleware._call(message['method'], serviceobj, methodobj, params, app=self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1353, in _call return await self.run_in_executor(prepared_call.executor, methodobj, *prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1251, in run_in_executor return await loop.run_in_executor(pool, functools.partial(method, *args, **kwargs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/schema/processor.py", line 181, in nf return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/update.py", line 233, in check_available return self.middleware.call_sync('update.check_train', train) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1421, in call_sync return self.run_coroutine(methodobj(*prepared_call.args)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1461, in run_coroutine return fut.result() ^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/_base.py", line 449, in result return self.__get_result() ^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/concurrent/futures/_base.py", line 401, in __get_result raise self._exception File "/usr/lib/python3/dist-packages/middlewared/plugins/update_/trains.py", line 69, in check_train return await self.middleware.call("update.get_scale_update", train, old_vers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1399, in call return await self._call( ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/main.py", line 1342, in _call return await methodobj(*prepared_call.args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/update_/trains.py", line 32, in get_scale_update new_manifest = await self.fetch(f"{self.update_srv}/{train}/manifest.json") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/middlewared/plugins/update_/trains.py", line 25, in fetch async with client.get(url) as resp: File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 1141, in __aenter__ self._resp = await self._coro ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aiohttp/client.py", line 536, in _request conn = await self._connector.connect( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 540, in connect proto = await self._create_connection(req, traces, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 901, in _create_connection _, proto = await self._create_direct_connection(req, traces, timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1206, in _create_direct_connection raise last_exc File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 1175, in _create_direct_connection transp, proto = await self._wrap_create_connection( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/aiohttp/connector.py", line 988, in _wrap_create_connection raise client_error(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host update.ixsystems.com:443 ssl:default [Connection reset by peer]
 

cpbpilot

Cadet
Joined
Dec 22, 2023
Messages
6
I am able to ping the update.ixsystems.com url though. So not sure why I can't pull the updates

snap468.png
 

cpbpilot

Cadet
Joined
Dec 22, 2023
Messages
6
Running that command I get "curl: (35) recv failure: Connection reset by peer". I have read on some other topics like this one that it my me a time issue. I check the BIOS and the IPMI and both times are set correctly
 

sylaan

Cadet
Joined
Mar 9, 2024
Messages
9
It's more likely that you have some connectivity issues to the update servers. Either something sitting in front of your TrueNAS server (a firewall, if you have it) or maybe something at your ISP.

When it works, that curl command should return something like this:

Code:
admin@truenas:~$ curl https://update.ixsystems.com/scale/trains.json
{
  "trains": {
    "TrueNAS-SCALE-Angelfish": {
      "description": "TrueNAS SCALE Angelfish [release]"
    },
    "TrueNAS-SCALE-Bluefin-BETA": {
      "description": "TrueNAS SCALE Bluefin BETA"
    },
    "TrueNAS-SCALE-Bluefin-RC": {
      "description": "TrueNAS SCALE Bluefin RC"
    },
    "TrueNAS-SCALE-Bluefin": {
      "description": "TrueNAS SCALE Bluefin [release]"
    },
    "TrueNAS-SCALE-Cobia-BETA": {
      "description": "TrueNAS SCALE Cobia BETA"
    },
    "TrueNAS-SCALE-Cobia-RC": {
      "description": "TrueNAS SCALE Cobia RC"
    },
    "TrueNAS-SCALE-Cobia": {
      "description": "TrueNAS SCALE Cobia [release]"
    },
    "TrueNAS-SCALE-Dragonfish-BETA": {
      "description": "TrueNAS SCALE Dragonfish BETA"
    },
    "TrueNAS-SCALE-Dragonfish-RC": {
      "description": "TrueNAS SCALE Dragonfish RC"
    }
  },
  "trains_redirection": {
    "TrueNAS-SCALE-MASTER": "TrueNAS-SCALE-Angelfish-Nightlies",
    "TrueNAS-SCALE-Angelfish-PRERELEASE": "TrueNAS-SCALE-Angelfish",
    "TrueNAS-SCALE-Angelfish-BETA": "TrueNAS-SCALE-Angelfish",
    "TrueNAS-SCALE-Angelfish-RC": "TrueNAS-SCALE-Angelfish",
    "TrueNAS-SCALE-Angelfish-RC-To-Release": "TrueNAS-SCALE-Angelfish",
    "TrueNAS-SCALE-Bluefin-BETA": "TrueNAS-SCALE-Bluefin",
    "TrueNAS-SCALE-Bluefin-RC": "TrueNAS-SCALE-Bluefin",
    "TrueNAS-SCALE-Cobia-BETA": "TrueNAS-SCALE-Cobia",
    "TrueNAS-SCALE-Cobia-RC": "TrueNAS-SCALE-Cobia",
    "TrueNAS-SCALE-Dragonfish-BETA": "TrueNAS-SCALE-Dragonfish-RC"

  }
}
 
Top