javipalanca / spade

Smart Python Agent Development Environment
MIT License
253 stars 98 forks source link

SPADE Agent with no tcp #66

Closed DarioBranco closed 5 years ago

DarioBranco commented 5 years ago

Description

Simply, i want to connect a SPADE agent to a XMPP server with no TLS. It is possible?

What I Did

I tried with: verify_security=False but it doesn't work.

This is the traceback when i try to run agent:


"aioxmpp.errors.TLSUnavailable: TLS failure: STARTTLS not supported by server, but required by client"

All agents works fine with a XMPP server with TLS encryption.

Sorry for my english, thank you!

DarioBranco commented 5 years ago

solved modifiyng agent.py code, you can mark it as solved :)

security_layer = aioxmpp.make_security_layer(…)._replace(tls_required=False)