Strange Things in GUI !!

inder441

New Member
Dec 17, 2024
20
1
3
Hello Team,

I am facing a very strange issue in GUI for PVE.

Whenever I login in shell in PVE using GUI I get this strange error always.:

---------------------------------------------------------------------------------
Last login: Thu May 1 22:32:57 BST 2025 on pts/0
-bash: Acquire::http: Proxy: command not found
-bash: Acquire::https: Proxy: command not found
------------------------------------------------------------------------------

Please find attached screenshot for more insight.
 

Attachments

  • issue.PNG
    issue.PNG
    40.8 KB · Views: 24
Hi,
please check your .bashrc, /etc/profile, etc. where initial shell commands are sourced from.
 
Hi,
please check your .bashrc, /etc/profile, etc. where initial shell commands are sourced from.
Apologies for being dumb, I am new to Debian actually. So what I am looking at in these files ?? because I don't find any proxy entry in these files.
 
Apologies for being dumb, I am new to Debian actually. So what I am looking at in these files ?? because I don't find any proxy entry in these files.
I just did a web search and these seem to be related to setting a proxy server - did you do that durning setup?

do `printenv` and see if you have proxy envars set?

if you do then either they are getting set in one of the files mentioed above, or by some other process / file
you likely have something that looks like this

Code:
http_proxy='http://user:pass@PROXY_IP:PROXY_PORT/'
https_proxy='http://user:pass@PROXY_IP:PROXY_PORT/'

but if you didn't set it during install or manually then maybe something you installed?
 
Last edited:
  • Like
Reactions: Johannes S
I just did a web search and these seem to be related to setting a proxy server - did you do that durning setup?

do `printenv` and see if you have proxy envars set?
No during instalaltion I dont get any option to setup proxy. However, I did setup proxy in file "/etc/apt/apt.conf.d/proxy.conf" for updates.

Here is the output for printenv.


root@XXXXXXX:/etc# printenv
SHELL=/bin/bash
PWD=/etc
LOGNAME=root
XDG_SESSION_TYPE=tty
MOTD_SHOWN=pam
HOME=/root
LANG=en_US.UTF-8
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=root
SHLVL=1
XDG_SESSION_ID=810
XDG_RUNTIME_DIR=/run/user/0
HUSHLOGIN=FALSE
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
MAIL=/var/mail/root
_=/usr/bin/printenv
OLDPWD=/root
root@XXXXXXX:/etc#
 
No during instalaltion I dont get any option to setup proxy. However, I did setup proxy in file "/etc/apt/apt.conf.d/proxy.conf" for updates.
why on earth did you do that (are you on dial up or dsl?), and if you did then you have your answer on why you see it, sounds like you need to live with it :-) or google a bit more

tl;dr not a proxmox issue
 
  • Like
Reactions: Johannes S
out of interest what did you put in the proxy.conf - maybe you have some verbose logging turned on that is just being put in std out?
 
out of interest what did you put in the proxy.conf - maybe you have some verbose logging turned on that is just being put in std out?
just the proxy IP and port. thats it.
please find attached the screenshot for the file.
 

Attachments

  • snipp.PNG
    snipp.PNG
    26.6 KB · Views: 10
why on earth did you do that (are you on dial up or dsl?), and if you did then you have your answer on why you see it, sounds like you need to live with it :-) or google a bit more

tl;dr not a proxmox issue
So we did this in entire env. as I don't have access to internet for proxmox updates without proxy. However, out of 50+ servers I am getting this issue only on one server.
 
So we did this in entire env. as I don't have access to internet for proxmox updates without proxy. However, out of 50+ servers I am getting this issue only on one server.
ok, sorry for you loss

those look normal based on my 5 mins of googling, looks like this is just a symptom of setting that, you can easily prove, backout the proxy settings - do you still get the messages?

did you install any non-proxmox packages on the host with apt - maybe once you did that this was set in one of the bash profiles like was suggested

also for the love of god learn how to cut and paste text and post that here in a code block not screeen shots :-)
 
Apologies for being dumb, I am new to Debian actually. So what I am looking at in these files ?? because I don't find any proxy entry in these files.
What is the output of the following?
Code:
grep "Acquire::https" .bashrc
grep "Acquire::https" /etc/profile
grep "Acquire::https" /etc/bash.bashrc
grep "Acquire::https" /etc/profile.d/*
ls /etc/profile.d/
 
  • Like
Reactions: inder441 and scyto
What is the output of the following?
Code:
grep "Acquire::https" .bashrc
grep "Acquire::https" /etc/profile
grep "Acquire::https" /etc/bash.bashrc
grep "Acquire::https" /etc/profile.d/*
ls /etc/profile.d/
Thank you for all the reply :) I had proxy configured proxy.sh file. this is fixed now :)