Clients unable to login on some machines

I’ve installed Openfire 3.9.3 and 3.10 both with the same issue.

Everything installed and seems working.

Have sparkweb working on the same lan as OpenFire.

Have Spark client working on a remote computer on the same VPN as Openfire.

But, On an remote computer the spark client just gets stuck logging in - giving invalid username and password.

I’ve forwarded Ports 5222 and 5223 … and even tried forwarding 4000-7000 as a test,

The server log says this for the failure so the remote PC is reaching the destination. .

2015.05.24 12:46:55 org.jivesoftware.openfire.nio.ConnectionHandler - Closing session due to exception: (SOCKET, R: /XX.XX.XX.XX:52792, L: /10.5.5.252:5222, S: 0.0.0.0/0.0.0.0:5222)

org.apache.mina.filter.codec.ProtocolDecoderException: org.jivesoftware.openfire.nio.XMLNotWellFormedException: Character is invalid in: (Hexdump: 16 03 01 00 95 01 00 00 91 03 01 55 61 BA 30 3F F4 C8 69 C2 CB 38 AF F8 B6 2A 97 EA 99 19 7C 91 23 DC 6E 1B 62 F0 01 1E 9A EC 3B 00 00 2A C0 09 C0 13 00 2F C0 04 C0 0E 00 33 00 32 C0 08 C0 12 00 0A C0 03 C0 0D 00 16 00 13 C0 07 C0 11 00 05 C0 02 C0 0C 00 04 00 FF 01 00 00 3E 00 0A 00 34 00 32 00 17 00 01 00 03 00 13 00 15 00 06 00 07 00 09 00 0A 00 18 00 0B 00 0C 00 19 00 0D 00 0E 00 0F 00 10 00 11 00 02 00 12 00 04 00 05 00 14 00 08 00 16 00 0B 00 02 01 00)

doesn’t matter if I try different username on the external client, and i can log in with that user locally on the same lan/vpn.

Any help greatly appreciated.

edits:

using ubuntu server 14.04.2 for openfire

clients using spark are win7 64bit. (both of them).

Strangely - this started working when i allowed the IP addresses in the http://10.5.5.252:9090/reg-settings.jsp

even though they were set as blank to begin with.

As it’s a private server, this is fine for me

oh no. I stand corrected.

Same issue after rebooting the server

except now i cannot connect on the lan… but i can connect externally…

any ideas?