Configuraion only with IP address ?

11 views
Skip to first unread message

Giuseppe Vacca

unread,
Oct 20, 2017, 9:34:04 AM10/20/17
to spade-users
Hi,
I configure my SPADE system whit the configure.py without the parameter <name_platform> and in the file configuration file spade.xml the name of platform is the name of my linux system.

The configuration is:
<platform>
  <hostname>ubuntu</hostname>
  <port>5222</port>
  <adminpasswd>secret</adminpasswd>
</platform>

Runspade.py work fine, but the agent don't work and have an error, can't register ...
The agent is define as:
a = MyAgent("agent@ububtu","secret")

If when i configure SPADE the name of platform is the IP address, it work fine !

The question is, the name platform must be only the IP address ?

Thanks !

Gui L

unread,
Oct 20, 2017, 10:11:11 AM10/20/17
to spade...@googlegroups.com
Hey. Try to register in localhost

--
You received this message because you are subscribed to the Google Groups "spade-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spade-users+unsubscribe@googlegroups.com.
To post to this group, send email to spade...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Javi Palanca

unread,
Oct 20, 2017, 12:31:28 PM10/20/17
to spade...@googlegroups.com
Hi,

Yes, I think so. In much cases the dns resolution is not working. So I recommend to use IP addresses.
This is gonna change in the next release of spade 3.0… soon :)

Javi

--
You received this message because you are subscribed to the Google Groups "spade-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spade-users...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages