saqura / xmppwb

XMPP Webhook Bridge [Archived]
MIT License
73 stars 8 forks source link

XMPP Custom Server #2

Closed jeremyrichardmann closed 8 years ago

jeremyrichardmann commented 8 years ago

Since Cisco's implementation of Jabber is terrible, finding the service via DNS is next to impossible at my org. Any options for customizing the server that it's trying to connect with?

saqura commented 8 years ago

The current master now allows to specify a host and a port in the config like this:

xmpp:
  jid: <jid>
  host: <hostname>
  port: <port>
  password: <password>
...

Please let me know if it works with these settings. The changes are not in PyPi yet so to test it you have to use the git version. One way to test it would be like this, using virtualenv and bash:

mkdir xmppwb
cd xmppwb
virtualenv env
source env/bin/activate
pip install --upgrade git+https://github.com/saqura/xmppwb
xmppwb -h
jeremyrichardmann commented 8 years ago

I will validate tomorrow, thanks! I was hacking it up to try and emulate what you did, couldn't get the config optional.

jeremyrichardmann commented 8 years ago

Works great, only issue I have now is it not trusting SSL certificate for the rocket.chat server, though it does have a valid cert. Know where it looks for certificate root chains?

jeremyrichardmann commented 8 years ago

I modified the code to add an option -u flag for unsafe, can't figure out how to push changes here...

saqura commented 8 years ago

Great that it's working. Regarding the SSL certficate I have replied in #3.