"Failed to connect to server" VNC brand new VM install

lukeeexd

New Member
Aug 5, 2020
20
0
1
30
Hi,

Doing a brand new VM install tried with debian, centos and ubuntu. After configuring it and selecting the ISO it shows as started but the console says https://i.imgur.com/XlACbrY.png I've tried chrome, firefox, on my phone and I've updated java


Any help is appreciated
 
Last edited:
hi,

can you tell us more?

* pveversion -v

* qm config VMID

* can other VMs be access normally?
 
hi,

can you tell us more?

* pveversion -v

* qm config VMID

* can other VMs be access normally?

Hi, this is the only VM I have, everything else is a container. I've shown below the output of those


Code:
proxmox-ve: 6.2-1 (running kernel: 5.4.34-1-pve)
pve-manager: 6.2-4 (running version: 6.2-4/9824574a)
pve-kernel-helper: 6.2-2
pve-kernel-5.4: 6.2-1
pve-kernel-5.4.34-1-pve: 5.4.34-2
ceph-fuse: 12.2.11+dfsg1-2.1+b1
corosync: 3.0.3-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: 0.8.35+pve1
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.15-pve1
libproxmox-acme-perl: 1.0.4
libpve-access-control: 6.1-1
libpve-apiclient-perl: 3.0-3
libpve-common-perl: 6.1-2
libpve-guest-common-perl: 3.0-10
libpve-http-server-perl: 3.0-5
libpve-storage-perl: 6.1-8
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.2-1
lxcfs: 4.0.3-pve2
novnc-pve: 1.1.0-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.2-1
pve-cluster: 6.1-8
pve-container: 3.1-6
pve-docs: 6.2-4
pve-edk2-firmware: 2.20200229-1
pve-firewall: 4.1-2
pve-firmware: 3.1-1
pve-ha-manager: 3.0-9
pve-i18n: 2.1-2
pve-qemu-kvm: 5.0.0-2
pve-xtermjs: 4.3.0-1
qemu-server: 6.2-2
smartmontools: 7.1-pve2
spiceterm: 3.1-1
vncterm: 1.6-1
zfsutils-linux: 0.8.4-pve1

Code:
boot: dcn
bootdisk: scsi0
cores: 4
ide2: local:iso/debian-10.5.0-amd64-DVD-1.iso,media=cdrom
memory: 3072
name: Snooker
net0: virtio=22:06:6D:E1:8C:AF,bridge=vmbr1,firewall=1
numa: 0
ostype: l26
scsi0: local-zfs:vm-997-disk-0,size=32G
scsihw: virtio-scsi-pci
smbios1: uuid=5d55db30-dd10-4133-b218-1061f6e3c48f
sockets: 1
vmgenid: 6910826f-2859-4045-aa2a-9970d3d1b7cd
 
does the VM keep running during this?

do you see any other error messages in the task log? (double click on an entry to see details)
 
can you connect to the containers vnc?

i'm guessing this could be some network misconfiguration. maybe the vnc port is firewalled?
 
can you connect to the containers vnc?

i'm guessing this could be some network misconfiguration. maybe the vnc port is firewalled?
Containers are all CLI, Mhm it could be a firewall issue. Do you know which port the vnc uses?
 
I dont think its a firewall issue tbh, proxmox firewall is not enabled, unless I need to enable it on the host with UFW ?
 
okay if the firewall is disabled and you didn't configure anything for that, probably it's not a firewall problem.


is this a cluster or a standalone node?
 
okay.

do you have a self-signed https certificate installed? that could cause issues like this.

can you post the output of this command: cat /var/log/daemon.log | grep -E "(pveproxy|pvedaemon)"
 
Yes, letsencrypt certbot and we use Cloudflare too if thats helpful. That command outputs a lot of info, anything in particular I should be looking for?
 
Last edited:
okay.. can you post your nginx config?

maybe it's not using the correct certificate?
 
okay.. can you post your nginx config?

maybe it's not using the correct certificate?

Code:
server {
    listen 443 ssl http2;
    server_name proxmox.REDACTED.gg;

    root /var/www/REDACTED;
    index index.php index.html index.htm;

    error_page 404 /404.html;
    error_page 500 502 503 504 /500.html;

    location / {
        proxy_pass https://10.0.0.1:8006;
        include proxy_params;
    }

    location ~ /\.ht {
        deny all;
    }

    include REDACTED.gg_ssl_config;
}

server {
    listen 80;
    server_name proxmox.REDACTED.gg;
    # Redirect all HTTP requests to HTTPS with a 301 Moved Permanently response.
    return 301 https://$host$request_uri;
}
 
could you verify that you see the same SSL certificate when you connect with vs. without nginx proxy?
 

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!