Unable to connect to the web GUI

rodrigojds

New Member
May 28, 2024
8
0
1
Hey everyone,
I've been using Proxmox here at home for a few years now and everything has been great. But last week I decided to install a couple of containers via scripts and one of them broke the connection to the machine :(
I can't login to the machine itself...pinging the IP brings back nothing. However the VMs I have with their statis IPs (Plex, Unifi, Calibre) are still working fine.

I took a few photos of the typical network commands.

The "/etc/network/interfaces" has the correct IP and gateway. I tried changing the IP from static to DHCP but the machines MAC address doesnt appear on my network.
The "/etc/hosts" has the correct IP.
The "/etc/resolve.conf" command brings back my GW IP.

A few things I noticed -
- there is no IP associated with the vmbr0 interface. In other posts I see that this interface usually has an IP
- when I run the "ip route" command it brings back nothing at all. I looked online but I wasnt able to figure out how to add this.


I have since deleted the containers that I installed but that didn't help.


It is for sure a networking issue but I'm a bit stumped. Any advice on what i might be doing wrong please?

thanks in advance!
 

Attachments

  • IMG_0287.jpg
    IMG_0287.jpg
    94.5 KB · Views: 21
  • IMG_0286.jpg
    IMG_0286.jpg
    38.1 KB · Views: 19
  • IMG_0284.jpg
    IMG_0284.jpg
    52.8 KB · Views: 19
Last edited:
I did a bit more troubleshooting and ran the "journalctl -u networking command" and saw that there was a few errors stating that it cannot load "address" module: cannot import splat from 'jaraco.functools'

I try to install/upgrade the juracao.functools but it fails.
 

Attachments

  • IMG_0289.jpg
    IMG_0289.jpg
    133.6 KB · Views: 11
  • IMG_0288.jpg
    IMG_0288.jpg
    107.7 KB · Views: 11
in /etc/hosts, change the second line back to the FQDN and single hostname the machine had before. Also check if /etc/hostname contains the correct hostname. Then try to run ifreload -a to apply the config from /etc/network/interfaces again or reboot the host.
 
in /etc/hosts, change the second line back to the FQDN and single hostname the machine had before. Also check if /etc/hostname contains the correct hostname. Then try to run ifreload -a to apply the config from /etc/network/interfaces again or reboot the host.
Thank you for replying and apologies on my late response.

I'm not quite sure what you meant by changing the second line back to the FQDN? You you want me to completely remove the 2nd line?

Checking '/etc/hostname' all I have is "local" which coincides with my IP in the /etc/hosts file.

When I run the "ifreload -a" I get the same thing as previously mentioned : 'Cannot load "address" module: cannot import splat from 'jaraco.functools'
 

Attachments

  • IMG_0297.jpg
    IMG_0297.jpg
    363.1 KB · Views: 7
  • IMG_0296.jpg
    IMG_0296.jpg
    364.3 KB · Views: 7
Please read this thread https://forum.proxmox.com/threads/unable-to-connect-to-web-ui-but-ssh-works.159349/ I think it will work for you.
I had the same experience with ifreload.

If you want to change something in Promox /etc/network/interfaces copy interfaces to interfaces.new, then edit interfaces.new
then save and run:
Code:
systemctl restart pvenetcommit
then run
Code:
systemctl reload networking

Thanks for your reply JL!

I tried following the instructions in the link you provided but it didnt help unfortunately. :(

The 4 commands went through fine enough, I reboot the machine and it is still the same. I am unable to ping anything.

I checked the logs at /var/log/pveprox/access.log and the file is empty
 
Thanks for your reply JL!

I tried following the instructions in the link you provided but it didnt help unfortunately. :(

The 4 commands went through fine enough, I reboot the machine and it is still the same. I am unable to ping anything.

I checked the logs at /var/log/pveprox/access.log and the file is empty

if you're working on LAN, why not disable the firewall and try again ?

sending a ping used the icmp protocol which has no port number and no state
using http to connect to the web interface uses http which gets state from tcp

so, with the firewall enabled it is perfectly possible to be able to ping or able to connect to the web interface, but not both
if the access.log is empty that is because this does not log a ping, it only logs http(s)
 
if you're working on LAN, why not disable the firewall and try again ?

sending a ping used the icmp protocol which has no port number and no state
using http to connect to the web interface uses http which gets state from tcp

so, with the firewall enabled it is perfectly possible to be able to ping or able to connect to the web interface, but not both
if the access.log is empty that is because this does not log a ping, it only logs http(s)
Sorry for the late reply but I was away on holiday.

Disable the firewall where exactly? On proxmox? on my machine?

The thing is I am unable to see the machines IP or its MAC address in the IP scanner tools I have. The IPs and MAC addresses of Plex, Unifi, etc all appear fine but not of Proxmox itself.
 
Any idea guys?

I've tried turning off the firewall on Proxmox and that didnt help.

Until now not being able to access Proxmox's UI hasnt been too much of a bother.

I'm still able to use/access the Plex and Unifi containers so its all good.
But I havent been able to access the machine to add stuff to my plex library. I would use Filezilla to SFTP into the machine (using the Proxmox IP address) and access the drives remotely. With this issue I cant access anything..I cant add or delete media in Plex.

I really dont want the hassle of having to install Proxmox again and having to install all the containers and getting them setup if I dont have to.

So if anybody has any suggestions I'm all ears! :)
 
Hey @rodrigojds

Having taken some time to review your prior posts and screenshots.

You appear to be using something python (functools?) as an in between ?

Whatever is going on, it appears the packets are not arriving.

Don't forget Proxmox has 4 firewalls in a manner of speaking.

Datacenter / Pve(proxy) / Host
where the +1 is the firewall ruleset located in /etc/iptables/rules.v4

I'd recommend running

tcpdump -i vmbr0 --immediate-mode

to see if any traffic is actually arriving to the mgmt interface
Please note I used vmbr0 as this is the default, adjust for the interface listing for the Web UI
 
Hi Thank you for your reply.
I don't actually know what the functools is actually for..perhaps it was installed with one of the containers.

I looked for the /etc/iptables/rules.v4 but it appears to not exist. Actually the
iptables directory isnt in there either. :/

I ran the command as you suggested (tcpdump -i vmbr0 --immediate-mode).
and a lot of lines of text were going through the screen rather quickly. I didnt glimpse any mention of the webUI IP or anything remotely related. Only IPs of the other containers and other devices on the network.
 

Attachments

  • IMG_0492.jpeg
    IMG_0492.jpeg
    377.5 KB · Views: 3
  • IMG_0493.jpg
    IMG_0493.jpg
    994.9 KB · Views: 3
@rodrigojds you seem to be way out of your depth here, why are you running proxmox ? why not try something more consumer oriented ?
I am running it because it is more consumer oriented? If proxmox isn’t consumer oriented I’d love to know what is!

I’ve been running it for years..adding, running, updating, deleting containers. Messing around with the network side of things…with the virtualization side of things. I’ve run into problems many times in the past and I was able to resolve them on my own with the help of blogs and posts.

Now this one I can’t solve for the life of me and looks like nobody in this forum can either :-(
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!