I don't know if this is a Nim problem but when trying to build a snap using snapcraft.io connection to github I get this log error TL;DR: nimble can't access the package list.
Can you help me fix this?
Building alberto
:: + set -eux
:: + nimble install owlkettle --verbose
:: Info: Package cache path /root/.nimble/pkgcache
:: Warning: Nimble data file "/root/.nimble/nimbledata2.json" is not found.
:: Reading official package list
:: Downloading Official package list
:: Trying https://raw.githubusercontent.com/nim-lang/packages/master/packages.json
:: Connecting to proxy at (scheme: "http", username: "", password: "", hostname: "10.10.10.1", port: "8222", path: "/", query: "", anchor: "", opaque: false, isIpv6: false)
:: Warning: Could not download: 404 Not Found
:: Trying https://nim-lang.org/nimble/packages.json
:: Connecting to proxy at (scheme: "http", username: "", password: "", hostname: "10.10.10.1", port: "8222", path: "/", query: "", anchor: "", opaque: false, isIpv6: false)
[17/Apr/2026:03:37:47 +0000] "CONNECT nim-lang.org:443 HTTP/1.1" 200 3590 "-" "-"
:: Warning: Could not download: 400 Bad Request
:: packageinfo.nim(186) fetchList
::
:: Error: Refresh failed
:: ... Could not download: 400 Bad Request
:: Info: Nimble data file "/root/.nimble/nimbledata2.json" has been saved.
'override-build' in part 'alberto' failed with code 1.
Detailed information:
:: + set -eux
:: + nimble install owlkettle --verbose
Recommended resolution: Review the scriptlet and make sure it's correct.
For more information, check out: https://documentation.ubuntu.com/snapcraft/8.14.5/reference/plugins/
Full execution log: '/root/.local/state/snapcraft/log/snapcraft-20260417-033005.931046.log'
Build failed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 343, in run
self.build()
File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 324, in build
self.run_build_command(["snapcraft"], cwd=build_context_path, env=env)
File "/usr/lib/python3/dist-packages/lpbuildd/target/operation.py", line 70, in run_build_command
return self.backend.run(args, cwd=cwd, env=full_env, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/lpbuildd/target/lxd.py", line 735, in run
subprocess.check_call(cmd, **kwargs)
File "/usr/lib/python3.12/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['lxc', 'exec', 'lp-noble-amd64', '--env', 'LANG=C.UTF-8', '--env', 'SHELL=/bin/sh', '--env', 'http_proxy=http://10.10.10.1:8222/', '--env', 'https_proxy=http://10.10.10.1:8222/', '--env', 'HTTP_PROXY=http://10.10.10.1:8222/', '--env', 'HTTPS_PROXY=http://10.10.10.1:8222/', '--env', 'GIT_PROXY_COMMAND=/usr/local/bin/lpbuildd-git-proxy', '--env', 'SNAPPY_STORE_NO_CDN=1', '--env', 'LAUNCHPAD_INSTANCE=production', '--env', 'LAUNCHPAD_SERVER_URL=launchpad.net', '--env', 'SNAPCRAFT_BUILD_INFO=1', '--env', 'SNAPCRAFT_IMAGE_INFO={"build-request-id": "lp-110744676", "build-request-timestamp": "2026-04-17T03:26:22Z", "build_url": "https://launchpad.net/~build.snapcraft.io/+snap/58a22675dff906b1966998d353d30ee8/+build/3123799"}', '--env', 'SNAPCRAFT_BUILD_ENVIRONMENT=host', '--env', 'SNAPCRAFT_BUILD_FOR=amd64', '--env', 'CRAFT_PLATFORM=platform1', '--', '/bin/sh', '-c', 'cd /build/alberto && linux64 snapcraft']' returned non-zero exit status 1.
Revoking proxy token...
[Fri Apr 17 03:37:48 2026]
RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=lxd --series=noble --abi-tag=amd64 --isa-tag=amd64 SNAPBUILD-3123799
Scanning for processes to kill in build SNAPBUILD-subprocess.CalledProcessError: Command '['lxc', 'exec', 'lp-noble-amd64', '--env', 'LANG=C.UTF-8', '--env', 'SHELL=/bin/sh', '--env', 'http_proxy=http://10.10.10.1:8222/', '--env', 'https_proxy=http://10.10.10.1:8222/', '--env', 'HTTP_PROXY=http://10.10.10.1:8222/', '--env', 'HTTPS_PROXY=http://10.10.10.1:8222/', '--env', 'GIT_PROXY_COMMAND=/usr/local/bin/lpbuildd-git-proxy', '--env', 'SNAPPY_STORE_NO_CDN=1', '--env', 'LAUNCHPAD_INSTANCE=production', '--env', 'LAUNCHPAD_SERVER_URL=launchpad.net', '--env', 'SNAPCRAFT_BUILD_INFO=1', '--env', 'SNAPCRAFT_IMAGE_INFO={"build-request-id": "lp-110744676", "build-request-timestamp": "2026-04-17T03:26:22Z", "build_url": "https://launchpad.net/~build.snapcraft.io/+snap/58a22675dff906b1966998d353d30ee8/+build/3123799"}', '--env', 'SNAPCRAFT_BUILD_ENVIRONMENT=host', '--env', 'SNAPCRAFT_BUILD_FOR=amd64', '--env', 'CRAFT_PLATFORM=platform1', '--', '/bin/sh', '-c', 'cd /build/alberto && linux64 snapcraft']' returned non-zero exit status 1.
What is this proxy? I guess this could be the root of the problem.