Can't access GUI webpage

Eingedi

New Member
Apr 16, 2015
26
0
1
Hello,
I have no idea why, but for the past few days I can't access the webpage.
I tried "https" and "http" - says the same. "The webpage is not available. ERR_TIMED_OUT"
The PVE server itself is available, I can access and log onto it from the server itself or from putty, so it's just the web that doesn't work.

Maybe it has something to do with SSH keys? I've just added an SSH key to my backup server, so it won't need password every time it backs up to it. I am not sure if the problem occurred before or after I did it, just wondering if it has any effect.

Please help it's very urgent.
Thanks.

Edit:
I've tried:
- pveproxy --debug
-
service pve-cluster restart
- pvecm updadecerts
- clearing cache/cookies

NONE solved the problem. HELP.
 
Last edited:
Hello,
I have no idea why, but for the past few days I can't access the webpage.
I tried "https" and "http" - says the same. "The webpage is not available. ERR_TIMED_OUT"
The PVE server itself is available, I can access and log onto it from the server itself or from putty, so it's just the web that doesn't work.

Maybe it has something to do with SSH keys? I've just added an SSH key to my backup server, so it won't need password every time it backs up to it. I am not sure if the problem occurred before or after I did it, just wondering if it has any effect.

Please help it's very urgent.
Thanks.

Edit:
I've tried:
- pveproxy --debug
-
service pve-cluster restart
- pvecm updadecerts
- clearing cache/cookies

NONE solved the problem. HELP.
Hi,
the ssh-key has nothing to do with the webfrontend.

http don't work - you must access the gui with https and the port 8006!

Like
https://ip.of.pve.server:8006

Udo
 
Yea, I am using with https. still doesn't work. :(
I believe the problem happened after I updated the system.
 
Last edited:
Hi,
any helpfull output during reload the page?
Code:
tail -f /var/log/pveproxy/access.log
Do you have tried to clear the browser cache?

Or reload on Firefox with pressed shift, which also force an "real" relod.
Which kind of browser do you use?

Udo
 
Nothing appears when I type 'tail -f /var/log/pveproxy/access.log', even after reloading page.

I am using Chrome, tried clearing cookies and cache, didn't solve problem. Tried to access via explorer and firefox, also doesn't work.
 
Well, seems like we've found the problem.

netstat -an |grep 8006tcp 0 0 0.0.0.0:8006 0.0.0.0:* LISTEN
tcp 208 0 10.0.0.251:8006 10.0.0.191:52399 CLOSE_WAIT
tcp 208 0 10.0.0.251:8006 10.0.0.191:52400 CLOSE_WAIT

tcpdump -l vmbr0 port 8006tcpdump: WARNING: eth0: no IPv4 address assigned
tcpdump: syntax error

How to fix this?
 
Well, seems like we've found the problem.





How to fix this?

Hi,
this error apear, because you use an small L instead an small I ( -i like interface).

But netstat show's connections - if 10.0.0.191 are your client-IP, then pveproxy is working and your client had an connection to the host.

any firewall rules? host / client
proxy-settings?

rules on the host:
Code:
iptables --list

Udo
 
Oh wow, that was dumb of me.

No proxy or firewall rules as far as i know.
iptables --list
Chain INPUT (policy ACCEPT)
target prot opt source destination


Chain FORWARD (policy ACCEPT)
target prot opt source destination


Chain OUTPUT (policy ACCEPT)
target prot opt source destination
 
What is the output of:
curl -s -k https://localhost:8006 | grep title

on your proxmox server ?

Please note you need to install the 'curl' package if needed.

You should get something like:

<title>Proxmox Virtual Environment</title>


If this curl command works, it means the web gui is active and able to process
 
Again what is the output of

netstat -ltn | grep 8006
 
This will be my last try, after which I advise you to reinstall :)
What is the output on the server

pvesh get nodes
 
reinstall? Won't it delete everything? I... think there must be some other way.

pvesh get nodes
200 OK
[
{
"cpu" : 0.008236977112604,
"disk" : 1545863168,
"id" : "node/pve",
"level" : "",
"maxcpu" : 4,
"maxdisk" : 101461880832,
"maxmem" : 4104290304,
"mem" : 1263587328,
"node" : "pve",
"type" : "node",
"uptime" : 169578
}
]
 
This will be my last try, after which I advise you to reinstall :)
What is the output on the server

pvesh get nodes

I have a very similar issue. The only possible way to connect is (1.) local or (2.) SSH from local network.
I run some commands by SSH connection:
-firewall stopped:
Code:
# pve-firewall status
disabled/stopped

-netstat:
Code:
# netstat -apn | grep 8006
nothing

-tail:
Code:
# tail -f /var/log/pveproxy/access.log
nothing

-curl:
Code:
# curl -s -k https://localhost:8006 | grep title
nothing

-pvesh:
Code:
# pvesh get nodes
-bash: pvesh: command not found

-uname:
Code:
# uname -r
4.13.13-2-pve

Any different advise?

Similar threads without a solution:
https://forum.proxmox.com/threads/cant-access-web-interface.28831/
https://forum.proxmox.com/threads/ask-cant-access-web-interface-from-internet.20140/
https://forum.proxmox.com/threads/cant-access-to-web-interface.14464/
 

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!