I have downloaded the latest source **release 11044 **from svn. I compiled and ran the spark.
i have 2 proxys running, http (with username and password) and socks (without username/password, running based on ip restriction). spark 2.5.8 at present connects on both http and socks but the current compiled version 11044 of spark beta2 doesnot connect via proxy. I even tried reverting back to 11036, it also doesnot connect via proxy.
Please note i have the proxy working fine with version 2.5.8 perfect now. Also the version i compiled is untouched as fresh from the source.
while i am running the spark from source itself, there is a java window (hope you all got this)
Now in this a error is thrown when i am clicking advanced button in login window
Debug is true storeKey false useTicketCache true useKeyTab false doNotPrompt tr
ue ticketCache is null isInitiator true KeyTab is null refreshKrb5Config is fals
e principal is null tryFirstPass is false useFirstPass is false storePass is fal
se clearPass is false
Acquire TGT from Cache
Error calling function Protocol status: 1312
A specified logon session does not exist. It may already have been terminated.
Principal is null
null credentials from Ticket Cache
[Krb5LoginModule] authentication failed
Unable to obtain Princpal Name for authentication
Spark currently has only one developer and he is not working at Jive, only a community member doing this in his spare time. Currently he has some other priorities, so probably this will not be addressed fast enough. Personally i have only tried anonymous public http proxy and it worked fine. I dont have logins to any authorised http or socks proxies.
I was testing today with 11071 svn version and it seems Spark is not obeying proxy settings. I can put any IP and port and eventually Spark will connect. I think maybe it tries to connect via proxy and if fails, then it just connects directly. Maybe i should file this as a bug.
Environment: I am using Squid as my proxy server in between Internet and my place. I added 5222 and 5223 to trusted SSL port to squid.conf and restarted squid service.
Test Criteria:
Connected to jabber.org XMPP network and can send to msg to gmail.com XMPP network back-n-forth.
In my environment chat.facebook.com doesn’t work, it keeps reporting missing tag.
Analysis:
I think someone should have rewritten the ConnectionConfiguration related code in LoginDialog.java but I didn’t dig into SVN history. There is nologic to check and read proxy settings when starting smack. The proxy settings were used when checking plugins availability and upgrade info, though.
Thanks. I played around with it and it seems like there are many changes committed in LoginDialog.java class. After my changes I am getting java.lang.NoSuchMethodError: Could you please point me to 2.6.3 Spark code. Thank you so much
It may be in the same repository somewhere. I know that versions are some how tagged to be able to get back to a particular version, but i can’t help with that, not a programmer myself.