[pve-devel] spice problems

Michael Rasmussen mir at datanom.net
Thu Jan 5 01:11:28 CET 2017


Hi all,

spice seems to be broken?
dpkg -s pve-manager
Package: pve-manager
Status: install ok installed
Priority: optional
Section: admin
Maintainer: Proxmox Support Team <support at proxmox.com>
Architecture: amd64
Version: 4.4-5


An example file generated by the perl proxmox api for remote-viewer:
[virt-viewer]
secure-attention=Ctrl+Alt+Ins
host=pvespiceproxy:586d89cc:125:esx2::b7e696132db8666bf221d8961cf8d427e57a53e9
tls-port=61002
delete-this-file=1
release-cursor=Ctrl+Alt+R
proxy=http://esx2:3128
type=spice
title=VM 125 - ldap
ca=-----BEGIN CERTIFICATE-----\nMIIFvzCCA6egAwIBAgIJAJiXHVsXt7x8MA0GCSqGSIb3DQEBCwUAMHYxJDAiBgNV\nBAMMG1Byb3htb3ggVmlydHVhbCBFbnZpcm9ubWVudDEtMCsGA1UECwwkZDQzZGU5\nZGEtMDcxZi00YWU1LWIwNWItYTMxNTkzYmI1NjY4MR8wHQYDVQQKDBZQVkUgQ2x1\nc3RlciBNYW5hZ2VyIENBMB4XDTE2MTIzMDAwMzg0N1oXDTI2MTIyODAwMzg0N1ow\ndjEkMCIGA1UEAwwbUHJveG1veCBWaXJ0dWFsIEVudmlyb25tZW50MS0wKwYDVQQL\nDCRkNDNkZTlkYS0wNzFmLTRhZTUtYjA1Yi1hMzE1OTNiYjU2NjgxHzAdBgNVBAoM\nFlBWRSBDbHVzdGVyIE1hbmFnZXIgQ0EwggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAw\nggIKAoICAQCyxuWl5o9+SEQqykBQsoxnRWruJzEhXTuZW3GN/nx0519fZeF0VaFF\nOMgcQ3w+2L3Q4UnxOyueeOtJcVQnLXK1D8Nfc/AibmzPeyI9/rTPO2FDfslUp5Eb\nM3CyT0IIwKXaGd+NAvDpDtvdocIiAdFNXEHnrDtCY/U2LVaUezWQzKRdbzWdx0Ny\nxPKMhM/6+r0mCwS9Y1esQrrYxHJl2BWFJ2SWb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l/gIAEO28q766YxhPwqCEh+xbaCSkZ6iivu0fTxwZx2g50K7WrdLaBaq\nh9DUAlX46dYzNmhaxN8H3dNCDgCx5iFl7YTftdjA3t3nlAeOZ1dABMo3L5J9Rkfe\nUc70wRcE8Fe7sil1bVxupQCBzYMHC83q5Jr5JH1rTd2K2RSl7rll/Tph+gVXFEWv\nxeSLwfdyFsNv2wh1yJ7ofRZmCONwPJ/4nXSocBr6Gv91p0w=\n-----END CERTIFICATE-----\n
password=Some secret
toggle-fullscreen=Shift+F11
host-subject=OU=PVE Cluster Node,O=Proxmox Virtual Environment,CN=esx2.datanom.net
Error message in console: (remote-viewer:20244): GSpice-WARNING **:
main-1:0: SSL_connect: error:00000001:lib(0):func(0):reason(1)

Have also tried:
https://github.com/proxmox/pve-manager/blob/master/spice-example-sh
Error message in console: (remote-viewer:20070): GSpice-WARNING **:
main-1:0: SSL_connect: error:00000001:lib(0):func(0):reason(1)

With the same error message: Unable to connect to the graphic server
spiceproxy.

I can see the certificate return from the API2 is the default
selfsigned certificate installed with proxmox but I have real
certificates installed following this howto:
https://pve.proxmox.com/wiki/HTTPS_Certificate_Configuration_(Version_4.x_and_newer)#CAs_other_than_Let.27s_Encrypt

I did remember to revert to default configuration.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
Don't read everything you believe.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20170105/3cfecdf3/attachment.sig>


More information about the pve-devel mailing list