pve-spice-connect

mgm099

New Member
Feb 11, 2024
9
0
1
Hi everyone,

I am currently trying to get a connection to a VM and have been working my way through this article:
https://gitlab.com/pawlakm/pve-spice-connect

Unfortunately, I get the following error message when I try to connect:

tarting PVE spice connection script...
Loading environment variables from 'access.env' file
Building PVE spice connection...
curl: (6) Could not resolve host: https
[e] Error: VMTYPE could not be detected!
[e] Are you sure that the ID of your VM or CT really is '100'?
[e] If yes, are you sure that you granted the correct permissions to 'Michael@pve!spice' for '100' (i.e. token + role)?
[e] Double check and try again!
[e] Exiting!
I probably have the wrong settings in this file:

### Mandatory settings #############################################################################################################

# ID of the VM
VMID=100

# the host providing the PVE api
HOST=https://192.168.2.50

# the token must use the format 'admin@pve!vm_console'
TOKEN=Michael@pve!spice

# the token secret that is shown ONCE upon creating the Token
SECRET=7db302eb-9cb7-4f9d-afc3-3deb68a1ae3a
### Optional settings ##############################################################################################################
# the port the PVE's spice server API listens to. By default it is 8006, unless you put a a reverse proxy in front of your PVE's spice server instance.
PORT=8006
# set to 0 if the certificate is not self-signed or is installed in the certificates on the host on which the script is executed
#INSECURE=1
# the path where CA certificates to be used are located (mandatory if INSECURE is set to 0)
#CA_PATH=
# set to 1 if you want to print debug messages while running the script, and 0 otherwise
#VERBOSE=1
# Set to 1 to start in fullscreen mode, and 0 otherwise
#FULLSCREEN=0
# Set to 1 to redirect host USB to the VM, and 0 otherwise
#ENABLE_USB_REDIRECTION=0
# Set to 1 to share automatically USB with the VM when the usb device is inserted locally, and 0 otherwise
#ENABLE_USB_AUTOSHARE=0

Does anyone have this running?
Could someone give me a hand?

Greetings Michael
 
You ask for support of a third party script, not primarily the focus of this forum.

And please do NOT double post in English and German forums.
 

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!