--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/be81302e-df89-42b4-af12-058ade0ee417%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
19:42:26.826 [DEBUG] [.a.xmpp.internal.XMPPActivator:34 ] - XMPP action has been started.
xmpp:servername=jabber.de
# The XMPP Proxyserver to use, e.g. "gmail.com"
xmpp:proxy=proxy.jabber.de
# the server port to use (optional, defaults to 5222)
#xmpp:port=5222
# the username and password for the sending XMPP account
xmpp:username=s*****x
xmpp:password=********
--
You received this message because you are subscribed to the Google Groups "openhab" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openhab+u...@googlegroups.com.
To post to this group, send email to ope...@googlegroups.com.
Visit this group at http://groups.google.com/group/openhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/openhab/cb240c6f-901c-45e5-9a3b-545fbcc09f35%40googlegroups.com.
# The Security mode used for the XMPP connection. Can be either 'required', 'enabled'
# or 'disabled'. Defaults to 'disabled', which means that TLS will not be used.
# Warning: If you change this to non-disabled, then you must make sure that your
# TLS server certificate can be validated, otherwhise the connection will fail.
#xmpp:securitymode=disabled
# The TLS Pin used to verify the XMPP service's certificate. Set this in case openhab's
# default SSLContext is unable to verfiy it (e.g. because the XMPP service uses a self-signed
# certificate). The PIN value is bascially the hash of the certificate in hex.
# Make sure to set 'xmpp:securitymode' to 'required' for maximum security when using TLS.
# For information on how to generate the PIN visit https://github.com/Flowdalic/java-pinning
#xmpp:tlspin=SHA256:e3b1812d945da1a2a2c5fa28029d2fe34c7c4142fb098f5cfedff1ff20e98781
Really, it is a problem with security, but my skills aren't enough for configure the tlspin.
Hello everybody,
I have similar problem, cannot get connection to any XMPP server. In my trace file is only the following:
19:42:26.826 [DEBUG] [.a.xmpp.internal.XMPPActivator:34 ] - XMPP action has been started.
and no other mention of XMPP
Config file is as following:
xmpp:servername=jabber.de
# The XMPP Proxyserver to use, e.g. "gmail.com"
xmpp:proxy=proxy.jabber.de
# the server port to use (optional, defaults to 5222)
#xmpp:port=5222
# the username and password for the sending XMPP account
xmpp:username=s*****x
xmpp:password=********
[WARN ] [esoftware.smack.sasl.SASLError] - Could not transform string 'text' to SASLError
java.lang.IllegalArgumentException: No enum constant org.jivesoftware.smack.sasl.SASLError.text
at java.lang.Enum.valueOf(Enum.java:238) ~[na:1.8.0_31]
at org.jivesoftware.smack.sasl.SASLError.valueOf(SASLError.java:22) ~[smack-core-4.0.6.jar:4.0.6]
at org.jivesoftware.smack.sasl.SASLError.fromString(SASLError.java:46) ~[smack-core-4.0.6.jar:4.0.6]
at org.jivesoftware.smack.sasl.SASLMechanism$SASLFailure.<init>(SASLMechanism.java:357) [smack-core-4.0.6.jar:4.0.6]
at org.jivesoftware.smack.util.PacketParserUtils.parseSASLFailure(PacketParserUtils.java:720) [smack-core-4.0.6.jar:4.0.6]
at org.jivesoftware.smack.tcp.PacketReader.parsePackets(PacketReader.java:253) [smack-tcp-4.0.6.jar:4.0.6]
at org.jivesoftware.smack.tcp.PacketReader.access$000(PacketReader.java:47) [smack-tcp-4.0.6.jar:4.0.6]
at org.jivesoftware.smack.tcp.PacketReader$1.run(PacketReader.java:81) [smack-tcp-4.0.6.jar:4.0.6]
2015-02-11 20:54:15.967 [ERROR] [tion.xmpp.internal.XMPPConnect] - Could not establish connection to XMPP server 'jabber.de:5222': SASLError using PLAIN: text
2015-02-11 20:54:15.967 [WARN ] [nhab.action.xmpp.internal.XMPP] - Could not send XMPP message as connection is not correctly initialized!
Well. Now is working!! Thanks for your help.
Here is my config for others, with jabber.de
openhab.cfg
########################## XMPP Action configuration ##################################
xmpp:servername=jabber.de
xmpp:securitymode=enabled
xmpp:tlspin=CERTSHA256:3fe2530aa6ab8eab29e25fb1fd1a6bef2fd487981bc738b25a3cea8083af10af
xmpp:username=myuser #alert!! without @jabber.de
xmpp:password=xxxxx
xmpp:consoleusers=myu...@jabber.de
#*********************************************************
Thats all folk!!
Jaume Nogues
Rambla Prim Tech School
Barcelona
El dijous, 5 febrer de 2015 5:12:44 UTC+1, Jaume Nogues Gazquez va escriure:
Helow everybody. I'm a newbie in openHab. Iss fantastic for
<logger name="org.openhab.action.xmpp" level="DEBUG" />
2015-02-13 22:02:11.323 [DEBUG] [.a.xmpp.internal.XMPPActivator] - XMPP action has been started.