ArchipelProject / Archipel

XMPP Based Orchestrator
http://archipelproject.org
GNU Affero General Public License v3.0
802 stars 127 forks source link

Unable to connect to agent from client #1105

Open Basseuph opened 9 years ago

Basseuph commented 9 years ago

Hey Gents,

we installed the archipel agent and modified our ejabberd configuration as per the wiki examples. We also did follow the little archipel as non-root how-to.

We can talk to the hypervisor using a standard XMPP client, e.g. pidgin, and were able to allocate a new VM, but that is how far we could go without the webapp GUI.

The GUI, both our own hostet app as well as your hosted app, however failes with an error somewhere in the js framework, see attached screenshot. archipelclienterror

I hope we can get this sorted out, we really like the idea chatting with our virtual boxes. :)

Thank you!

Ulrich

CyrilPeponnet commented 9 years ago

First guess will be that the ressource set by your IM client contain spaces, and there is an issue in the underlying XMPP JS framework (Strophe) regarding spaces in ressources.

But regarding the stack trace it looks more like there is an issue with the avatar image.

Try to reset the avatar of your account (no image).

On Dec 27, 2014, at 12:24 PM, Basseuph notifications@github.com wrote:

Hey Gents,

we installed the archipel agent and modified our ejabberd configuration as per the wiki examples. We also did follow the little archipel as non-root how-to.

We can talk to the hypervisor using a standard XMPP client, e.g. pidgin, and were able to allocate a new VM, but that is how far we could go without the webapp GUI.

The GUI, both our own hostet app as well as your hosted app, however failes with an error somewhere in the js framework, see attached screenshot.

I hope we can get this sorted out, we really like the idea chatting with our virtual boxes. :) Thank you! Ulrich — Reply to this email directly or view it on GitHub .
Basseuph commented 9 years ago

Hi,

I just reset the avatar and got the following issue, see screenshot. archipelclienterror

I do not set a Ressource, so that should be an empty string. However I just set one, logged in and out and then logged in via the web app with the result of the following screenshot. archipelclienterrorressource

Thanks for the quick response!

CyrilPeponnet commented 9 years ago

Try using the default ejabberd configuration as its given to the wiki. Do not adapt yours for now. Something sounds broken in vcard metadata processing.

On Dec 27, 2014, at 12:59 PM, Basseuph notifications@github.com wrote:

Hi,

I just reset the avatar and got the following issue, see screenshot.

I do not set a Ressource, so that should be an empty string. However I just set one, logged in and out and then logged in via the web app with the result of the following screenshot.

Thanks for the quick response!

— Reply to this email directly or view it on GitHub.

Basseuph commented 9 years ago

I now used the example config. I just adapted the server FQDNs, the admin account of the hypervisor, because we do not have the xmlrpc module and adjusted the certifivate file paths: archipelclientarchipelejabberconfig

When disabling the firewall I get a different message: archipelclientarchipelejabberconfigwithoutfirewall

CyrilPeponnet commented 9 years ago

Something weird with vcards... It looks related to an entity you have in your roster.

Can you create a new plain user without anything on its roster and try again?

On Dec 29, 2014, at 2:41 AM, Basseuph notifications@github.com wrote:

I now used the example config. I just adapted the server FQDNs, the admin account of the hypervisor, because we do not have the xmlrpc module and adjusted the certifivate file paths:

When disabling the firewall I get a different message:

— Reply to this email directly or view it on GitHub.

Basseuph commented 9 years ago

Hi,

that was the trick. And when I figured out how to get they roster overview back, I'll try to interact with the hypervisor and then getting some boxes up.

Anyhow, can we provide some more info to you to make that work in the future? I would like to use my regular user for logging into archipel.

Thank you!

Basseuph commented 9 years ago

Hi,

that was the trick. And when I figured out how to get they roster overview back, I'll try to interact with the hypervisor and then getting some boxes up.

Anyhow, can we provide some more info to you this can be further tracked down to make that work in the future? I would like to use my regular user for working with archipel.

Thank you!

CyrilPeponnet commented 9 years ago

I'm still interested to reproduce this. If you can provide the steps that leads to this, I can try to fix it.