[pve-devel] spiceproxy error

桌面云开发 2483506870 at qq.com
Mon Nov 2 06:40:58 CET 2015


Hi,
I am developing the arm box (cloud terminal). Using the spice protocol to connect the Proxmox VE(4.0).Use python script to get the spiceproxy.The following is spiceproxy's content:
[virt-viewer]
host-subject=OU=PVE Cluster Node,O=Proxmox Virtual Environment,CN=pve.tesea.com
secure-attention=Ctrl+Alt+Ins
title=VM 102 - hyg
release-cursor=Ctrl+Alt+R
ca=-----BEGIN CERTIFICATE-----\nMIIDtzCCAp+gAwIBAgIJAPtZFlr4AWmmMA0GCSqGSIb3DQEBCwUAMHIxJDAiBgNV\nBAMMG1Byb3htb3ggVmlydHVhbCBFbnZpcm9ubWVudDEpMCcGA1UECwwgYmI4OThi\nOTI1NDUzYjdkOWNhOWZiNGRhMjg5NzFhOGUxHzAdBgNVBAoMFlBWRSBDbHVzdGVy\nIE1hbmFnZXIgQ0EwHhcNMTUxMDIxMDk0OTE4WhcNMjUxMDE4MDk0OTE4WjByMSQw\nIgYDVQQDDBtQcm94bW94IFZpcnR1YWwgRW52aXJvbm1lbnQxKTAnBgNVBAsMIGJi\nODk4YjkyNTQ1M2I3ZDljYTlmYjRkYTI4OTcxYThlMR8wHQYDVQQKDBZQVkUgQ2x1\nc3RlciBNYW5hZ2VyIENBMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nttCl6HjR/E3tl+7nBZaSOZcPDE4r5e/keQ8qKp1i0VCotSLczEfcEYDRJ8mw5FQY\ntTpnx2MLyfPcWoQden1N9UR8sJ7GzOFOehB24+KzUcx6grNaSucGpnx1O0i0Au5d\nZKKcsa9+THFAcucEi8oFaQfCCieQDNv+OvWNtZ3cs9tQp0xn+0fFipTeL751yYLr\nnFP1BzQZWkSgWFW9J+nKpal+WCQRVKWU5/j6nf+4+JOQTB9tpnYBrhyBXG3IXqcu\n8z/yWLpGOffcITrlQsKQ4eeNW8ko5FMWvvTdNjiEkzWYGtoLN0TZg+y8EtV7LKmc\nurucgZ7m1c1+jhxn5i4QKwIDAQABo1AwTjAdBgNVHQ4EFgQUMaL2v7C66rRQ1rWP\nRQdwBHe9tIswHwYDVR0jBBgwFoAUMaL2v7C66rRQ1rWPRQdwBHe9tIswDAYDVR0T\nBAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAg+rry0EAk9vemxBFxuw2mb0Jk97m\nLa7CYQ9SIEbX7/rUsW48eOQg0p2muV96um3KCJLuBm1Kd6senaChINKf9BnLv9NX\nOFvKd9NW4VftDTrNPYt8J74edX1A4XQ5ZQ3Xwo2+JkYPi9MtuZWHYKbusoNDW8Qe\nXviPpYn7um3fw54nmqazah+sk/AtMBzAuKuQE0Oq4YWK0kJCqrzv27BspfFQdCXI\nNrK+Ri1YHbSyEEEuqwEkkMKchfuQjnwmWuoMXLDDve9uOFDDVQhSMhz+4pi1Aqdf\nuQe6Xygg4MxavtQEgTIN9W+D4QGOjCPbxQyWh1rc1gT5LhUU5p1dbXADbw==\n-----END CERTIFICATE-----\n
toggle-fullscreen=Shift+F11
host=pvespiceproxy:5636c379:102:pve::c071efbc78fb0a2c71aa9a26db2182f2fe969bf9
tls-port=61001
delete-this-file=1
password=ae5152edad191b5dc0c20c0fe6c9e1cc6dd5165f
type=spice
proxy=http://pve.tesea.com:3128


exec "remote-viewer ./spiceproxy" and the error "Error resolving 'pve.tesea.com': No address associated with hostname" is showed.
while I get the spiceproxy via the webbrower, the line is "proxy=http://192.168.0.40:3128",and not "proxy=http://pve.tesea.com:3128".It can connect the virtual manchine.


I have no idea about it.Can give me some advise?






The following is the content of spiceproxy geting  via web brower.
[virt-viewer]
tls-port=61001
host=pvespiceproxy:5636c0ec:102:pve::e22ea32dac2578a26568b416aa47b9a4e921d32a
secure-attention=Ctrl+Alt+Ins
delete-this-file=1
release-cursor=Ctrl+Alt+R
title=VM 102 - hyg
ca=-----BEGIN CERTIFICATE-----\nMIIDtzCCAp+gAwIBAgIJAPtZFlr4AWmmMA0GCSqGSIb3DQEBCwUAMHI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NDW8Qe\nXviPpYn7um3fw54nmqazah+sk/AtMBzAuKuQE0Oq4YWK0kJCqrzv27BspfFQdCXI\nNrK+Ri1YHbSyEEEuqwEkkMKchfuQjnwmWuoMXLDDve9uOFDDVQhSMhz+4pi1Aqdf\nuQe6Xygg4MxavtQEgTIN9W+D4QGOjCPbxQyWh1rc1gT5LhUU5p1dbXADbw==\n-----END CERTIFICATE-----\n
host-subject=OU=PVE Cluster Node,O=Proxmox Virtual Environment,CN=pve.tesea.com
toggle-fullscreen=Shift+F11
proxy=http://192.168.0.40:3128
password=0e2c2d9caa8798818d9aae2d0c2320d1b2f9fa98
type=spice




Thanks
Yuanguo He
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20151102/f352abf8/attachment.htm>


More information about the pve-devel mailing list