I have been writing an app server to connect to Google firebase message service FCM. With Smack, I can successfully connect but not in a secure way. My configuration is as below and expect it is a secure connection:
f config = new ConnectionConfiguration(Util.FCM_SERVER, Util.FCM_PORT);
// Launch a window with info about packets sent and received
fcmClient = new XMPPConnection(config);
After connected callback executed, I try to verify the connection with:
and it return false. I trace the code in XMPPTCPConnection.java and found that
proceedTLSReceived at line 1057 will never be executed where the eventType name ‘proceed’ is not a type name of FCM per FCM xmpp protocol.
I am new to Smack and xmpp protocol . Not sure the issue is a bug or feature request or misunderstanding?
- The used Smack version: smack-4.2.2