Help Troubleshooting Update Proxy

The Updater is failing on all template update attempts.

I’ve tried to update the qube manually user “sudo apt update”. I’m getting this error:

user@debian-11:~$ sudo apt update
Err:1 https://deb.qubes-os.org/r4.2/vm bullseye InRelease
  Invalid response from proxy: HTTP/1.0 500 Unable to connect  Server: tinyproxy/1.10.0  Content-Type: text/html  Connection: close     [IP: 127.0.0.1 8082]
Err:2 https://deb.debian.org/debian bullseye InRelease
  Invalid response from proxy: HTTP/1.0 500 Unable to connect  Server: tinyproxy/1.10.0  Content-Type: text/html  Connection: close     [IP: 127.0.0.1 8082]

When running testing connection in an appvm terminal I get this error:

user@dev:~$ curl -I http://linuxconfig.org
HTTP/1.1 403 Forbidden
Date: Tue, 14 Nov 2023 22:21:25 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
X-Frame-Options: SAMEORIGIN
Referrer-Policy: same-origin
Cache-Control: max-age=15
Expires: Tue, 14 Nov 2023 22:21:40 GMT
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v3?s=hNI7dlPNRruJJUJtBLBpkVkNUI3rwZluGabBADJilJlTJ20RMuLyyUV9JFA2GvxcVYBaTowGk5bDi%2B2izJpKlLNBJWrzCd0wrHn1SW10seoaN5ZCezg5Wcl624SQMWLDXA%3D%3D"}],"group":"cf-nel","max_age":604800}
NEL: {"success_fraction":0,"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 8262a5badab7661b-AMS
alt-svc: h3=":443"; ma=86400

user@dev:~$ 

The connections in appvms work thru the browsers. I just can’t use any proxy or direct connections using terminal in the templates or the appvms.

What does this all add up to?

I know sometimes I just have to restart the cacher. (I don’t know if you use the cacher or not.) If you don’t use the cacher I’d try a restart of the rest of the network “stack” (sys-net, sys-firewall, etc.)

Update: Problem was a mismatch between the network qube and the update qube in global config.

1 Like