Corsinvest / cv4pve-pepper

Launching SPICE remote-viewer for Proxmox VE VDI client
https://www.corsinvest.it/cv4pve
GNU General Public License v3.0
102 stars 15 forks source link

Error: Unknown Host #9

Closed MiningPickaxe closed 3 years ago

MiningPickaxe commented 3 years ago

Hello,

I'm trying to launch cv4pve-pepper 1.3.7 with ./cv4pve-pepper --host=80.XXX.XXX.XXX:8006 --username=XXXX@XXXX --password=XXXX --vmid=124 --viewer=/usr/bin/virt-viewer and also tried it without specifying the port. All I get is the following Error:

Error: unknown host 80.XXX.XXX.XXX
Problem connection!

with the --debug flag I get the following:

================ EXCEPTION ================ 
System.ApplicationException
Problem connection!
   at Corsinvest.ProxmoxVE.Api.Shell.Helpers.CommandOptionExtension.ClientTryLogin(CommandLineApplication command)
   at Corsinvest.ProxmoxVE.Pepper.Program.<>c__DisplayClass0_0.<Main>b__0()
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass144_0.<OnExecute>b__0(CancellationToken _)
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
   at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
   at Corsinvest.ProxmoxVE.Api.Shell.Helpers.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, String[] args)

I can open the Web GUI just fine with that URL. What am I missin?

franklupo commented 3 years ago

Hi, try with --proxy=80.XXX.XXX.XXX. The firewal is enabled?

MiningPickaxe commented 3 years ago

Hi, returns the same error with the --proxy The firewall of Proxmox is not enabled, however there is a firewall in front of the network. But I successfully managed to run pepper a few weeks ago while I was still in office, now at home on a different computer it won't work anymore. Both computers should be in the same network, thats why I suspect the firewall is not the issue.

franklupo commented 3 years ago

Try with old version.

MiningPickaxe commented 3 years ago

Tried it with 1.3.3 now, still get the same error. The error message doesn't really tell what went wrong :/

franklupo commented 3 years ago

Test new version. I imporve the log. Use the parameter --debug and attach me result.

Bets regards

MiningPickaxe commented 3 years ago

Error: unknown host 80.XXX.XXX.XXX Problem connection! ================ EXCEPTION ================ System.ApplicationException Problem connection! at Corsinvest.ProxmoxVE.Api.Shell.Helpers.CommandOptionExtension.ClientTryLogin(CommandLineApplication command) at Corsinvest.ProxmoxVE.Pepper.Program.<>cDisplayClass0_0.

b0() at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>cDisplayClass144_0.b0(CancellationToken _) at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken) at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args) at Corsinvest.ProxmoxVE.Api.Shell.Helpers.ShellHelper.ExecuteConsoleApp(CommandLineApplication app, String[] args)

franklupo commented 3 years ago

Hi, Ping work?

franklupo commented 3 years ago

News?

codiflow commented 3 years ago

Just try with sudo in front. This gave me a more detailed log output.