I’m playing with DIGEST-MD5: not-authorized problem again. I downloaded latest source code from smack (alpha7) and see new exception when creating new connection configuration via XMPPTCPConnectionConfiguration.builder(). Any ideas?
Could not enable secure processing parsing feature
javax.xml.parsers.ParserConfigurationException: http://javax.xml.XMLConstants/feature/secure-processing
at org.apache.harmony.xml.parsers.DocumentBuilderFactoryImpl.setFeature(DocumentBuilderFactoryImpl.java:101)
at org.jivesoftware.smackx.vcardtemp.provider.VCardProvider.<clinit>(VCardProvider.java:94)
at java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.Class.newInstance(Class.java:1572)
at org.jivesoftware.smack.provider.ProviderFileLoader.<init>(ProviderFileLoader.java:86)
at org.jivesoftware.smack.initializer.UrlInitializer.initialize(UrlInitializer.java:53)
at org.jivesoftware.smack.SmackInitialization.loadSmackClass(SmackInitialization.java:235)
at org.jivesoftware.smack.SmackInitialization.parseClassesToLoad(SmackInitialization.java:196)
at org.jivesoftware.smack.SmackInitialization.processConfigFile(SmackInitialization.java:166)
at org.jivesoftware.smack.SmackInitialization.processConfigFile(SmackInitialization.java:151)
at org.jivesoftware.smack.SmackInitialization.<clinit>(SmackInitialization.java:118)
at org.jivesoftware.smack.SmackConfiguration.getVersion(SmackConfiguration.java:96)
at org.jivesoftware.smack.ConnectionConfiguration.<clinit>(ConnectionConfiguration.java:41)
I’m made little research about the issue and the problem starts after commit c81cd3456146d788080923d0acc2ac7371f82c97 (Apply builder pattern to ConnectionConfiguration)
After means that the following commit introduced that behavior? That would be Add reply timeout to NoResponseException message · def8fea · igniterealtime/Smack · GitHub . I doubt that.
I just found the issue It was MINE mistake with combination with new bahaviour after commit c81cd3456146d788080923d0acc2ac7371f82c97. I had misspelling service name. Before this commit it was no problem and everything works fine, but after this commit I just received SASLError using DIGEST-MD5: not-authorized (change is in XMPPTCPConnection PacketReader, case “stream”).