Nuno, are you putting IP address 192.168.1.165 in the Server field of your Spark? What is the name of your Openfire server? You can check it when logged into Admin Console (Server Name). You should put Server Name value instead of IP into Server field. Then go to Advanced menu on the Login screen and uncheck Automatically discover host and port, then put 192.168.1.165 into host field and press OK. Then try logging in.
First,
I already try putting, on the Connection box (inside advanced connections preferences), my ip (as 192.x.x.x) and also like my dns (as mydomain.com) and nothing has worked so far.
My server name in Admin Console (Server Name) is â192.168.1.165â.
By the way, I never have âAutomatically discover host and portâ checked.
On server side, changed xmpp.domain to cname domain. On client side, on Spark 2.8 changed server to cname domain but most important, on Advanced connection preferences I checked âAutomatically discover host and portâ. Also User compression and Accept all certificates are both checked.
Now I can login fine. On older 2.7.7 also can login.
The problem now is connecting via WAN.
Iâm using two apps. Normal Spark, 2.8 and 2.7.7, and Xabber for Android.
With 2.7.7 and Xabber I can login fine, for now. With Openfire 4.1 all is going to change.
With 2.8 I canât. No matter what I do, I simply canât login. Maybe cause Server for WAN (Iâm using a ddns domain to point to my real server ip) differs from the one used over lan.
Is there a solution for this? I think that should be more flexibility for this aspect. We should be logged in no matter we are over lan or wan.
For now I can maintain 2.7.7 on my clients that need to connect over WAN but when Openfire 4.1 is going to be released all is going to change.
You can try 2.8.0 886 from the link above and enable âDisable certificate hostname verificationâ setting. This is a not recommended workaround, but should work, if you canât figure out another way.
So, when you connect from WAN, what do you put as a Server in Spark? If that doesnât match what you put from LAN, then it must be a domain mismatch in the certificate. You can try putting the same value as with LAN, but then put your ddns host in the Advanced menu, by unchecking âAutomatically discover host and portâ.
Ok, I think I got it. On main login windows I have the server name that is the same that is inside openfire server.
Inside Advanced menu, I have the ddns name and respective port. Unchecked Automatically discover host and port and even with Disable Certificate uncheched I now can login on my WAN Spark 2.8.0 users!!!